Comment 5 for bug 539632

Revision history for this message
Nikodemus Siivola (nikodemus) wrote :

Yeah, it's the stack alignment.

In src/compiler/x86/macros.lisp replace the DEFMACRO ALIGN-STACK-POINTER with

(defmacro align-stack-pointer (tn)
  ;; 16 byte alignment needed for SIMD
  ;; Darwin ABI specifies this, and seems like
  ;; a sensible thing to do elsewhere too.
  `(inst and ,tn #xfffffff0))

and you should be good to go -- as soon as you rebuild SBCL. I'll check if any other places need touching for more principled 16-byte alignment support and commit this later this week.