News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

a question about movss

Started by Alloy, April 28, 2006, 10:13:09 PM

Previous topic - Next topic

Alloy

 In my debugger this

.data
    temp real4 2.0
.code
    movss xmm2,temp

doesn't just load the lowest xmm2 32 bit register but causes the upper 3 32 bit registers to reset to 0.0. Is this normal?
We all used to be something else. Nature has always recycled.

arafel

Quote from: Intel instruction set reference (movss)

When the source and destination operands are XMM registers, the three high-order doublewords
of the destination operand remain unchanged. When the source operand is a memory location
and destination operand is an XMM registers, the three high-order doublewords of the destination
operand are cleared to all 0s.


Alloy

We all used to be something else. Nature has always recycled.