Code: Select all
!movq rax, xmm0
When I started comparing assembler versions that come with PureBasic, I wasn't surprised.
PB 5.40 (x64) OSX comes with YASM 1.2.0 from 2012
PB 5.40 (x64) Windows comes with FASM 1.69.35 from 2011
PB 5.40 (x64) Linux comes with FASM 1.67.18 from 2006
I just don't understand why those aren't updated.
It makes it very difficult to write cross platform code this way that works on all systems.
I just don't know how to make my sha3 module code work now on all three systems.
I need to move 64 bit values between a xmm register and a 64 bit register and it just doesn't seem possible on Linux out of the box.
Anyone has a suggestion that works with the fasm version that comes with PB ?