Skip to main content
Commonmark migration
Source Link

#x86-64 machine code, 4 bytes

x86-64 machine code, 4 bytes

0f 57 c1 c3

In assembly:

xorps xmm0, xmm1
ret

This is a callable function that takes two floats or doubles as arguments (in xmm0 and xmm1) and returns a float or double (in xmm0).

That matches the calling conventions of both Windows x64 and the x86-64 SysV ABI, and works for floats as well as doubles. (They're passed / returned in the low 4 or 8 bytes of XMM registers).

#x86-64 machine code, 4 bytes

0f 57 c1 c3

In assembly:

xorps xmm0, xmm1
ret

This is a callable function that takes two floats or doubles as arguments (in xmm0 and xmm1) and returns a float or double (in xmm0).

That matches the calling conventions of both Windows x64 and the x86-64 SysV ABI, and works for floats as well as doubles. (They're passed / returned in the low 4 or 8 bytes of XMM registers).

x86-64 machine code, 4 bytes

0f 57 c1 c3

In assembly:

xorps xmm0, xmm1
ret

This is a callable function that takes two floats or doubles as arguments (in xmm0 and xmm1) and returns a float or double (in xmm0).

That matches the calling conventions of both Windows x64 and the x86-64 SysV ABI, and works for floats as well as doubles. (They're passed / returned in the low 4 or 8 bytes of XMM registers).

Fix the redundant wording my last edit introduced
Source Link

#x86-64 machine code, 4 bytes

0f 57 c1 c3

In assembly:

xorps xmm0, xmm1
ret

This is a callable function that takes two floats or doubles as arguments (in xmm0 and xmm1) and returns a float or double (in xmm0).

That matches the calling conventionconventions of both the Windows x64 calling convention and the x86-64 SysV ABI, and works for floats as well as doubles. (They're passed / returned in the low 4 or 8 bytes of XMM registers).

#x86-64 machine code, 4 bytes

0f 57 c1 c3

In assembly:

xorps xmm0, xmm1
ret

This is a callable function that takes two floats or doubles as arguments (in xmm0 and xmm1) and returns a float or double (in xmm0).

That matches the calling convention of both the Windows x64 calling convention and the x86-64 SysV ABI, and works for floats as well as doubles.

#x86-64 machine code, 4 bytes

0f 57 c1 c3

In assembly:

xorps xmm0, xmm1
ret

This is a callable function that takes two floats or doubles as arguments (in xmm0 and xmm1) and returns a float or double (in xmm0).

That matches the calling conventions of both Windows x64 and the x86-64 SysV ABI, and works for floats as well as doubles. (They're passed / returned in the low 4 or 8 bytes of XMM registers).

i386 System V passes float/double on the stack; be more specific
Source Link

#x86-64 machine code, 4 bytes

0f 57 c1 c3

In assembly:

xorps xmm0, xmm1
ret

This is a callable function that takes two floats or doubles as arguments (in xmm0 and xmm1) and returns a float or double (in xmm0). 

That matches the calling convention of both the WIN64Windows x64 calling convention and the x86-64 SysV ABI, and works for floats as well as doubles.

#x86-64 machine code, 4 bytes

0f 57 c1 c3

In assembly:

xorps xmm0, xmm1
ret

This is a callable function that takes two floats or doubles as arguments (in xmm0 and xmm1) and returns a float or double (in xmm0). That matches the calling convention of both the WIN64 and SysV ABI, and works for floats as well as doubles.

#x86-64 machine code, 4 bytes

0f 57 c1 c3

In assembly:

xorps xmm0, xmm1
ret

This is a callable function that takes two floats or doubles as arguments (in xmm0 and xmm1) and returns a float or double (in xmm0). 

That matches the calling convention of both the Windows x64 calling convention and the x86-64 SysV ABI, and works for floats as well as doubles.

Source Link
user555045
  • 1.4k
  • 9
  • 12
Loading