You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now CVTSS2SI encoded with opcode F3 0F 2D use operand type ss for its operand of addressing W which is defined as:
Scalar element of a 128-bit packed single-precision floating data.
According to the intel docs:
Converts a single-precision floating-point value in the source operand (the second operand) to a signed double-word integer (or signed quadword integer if operand size is 64 bits) in the destination operand (the first operand). The source operand can be an XMM register or a memory location. The destination operand is a general-purpose register. When the source operand is an XMM register, the single-precision floating-point value is contained in the low doubleword of the register.
Since it's only copying the lower 32 bits of the register and the memory variant is also referencing 32 bit memory the operand type should be of type d which is defined as:
Doubleworld, regardless of operand-size attribute.
The text was updated successfully, but these errors were encountered:
Kashio
added a commit
to Kashio/x86reference
that referenced
this issue
Dec 24, 2022
Right now
CVTSS2SI
encoded with opcodeF3 0F 2D
use operand typess
for its operand of addressingW
which is defined as:According to the intel docs:
Since it's only copying the lower 32 bits of the register and the memory variant is also referencing 32 bit memory the operand type should be of type
d
which is defined as:The text was updated successfully, but these errors were encountered: