Martin Storsjö martin@martin.st writes:
If I change it into movd instead of movq, it builds fine on OS X, and the tests pass.
Curious. That use of movd is not in accord with my intel manuals, as far as I understand them.
On Linux, it doesn't seem to break anything either. And if checking the output with objdump -d, it is encoded into the same opcode (which objdump reports as movq).
I think I'll double check that, and then check in that change.
Thanks for the help!
Regards, /Niels