X86: Make the movfp microop use FloatRegBits instead of FloatRegs.
This fixes a problem where interpreting arbitrary bits as floating point would change what the value was. These values are legitimate because the fp registers could be used to move around arbitrary data. --HG-- extra : convert_revision : f1d7159ba137702b5722cc7c1b64ed7dd06c21de
This commit is contained in:
parent
26ba7cc3b2
commit
6c689a3b4b
1 changed files with 2 additions and 2 deletions
|
@ -489,8 +489,8 @@ let {{
|
||||||
else_code = 'DestReg=DestReg;'
|
else_code = 'DestReg=DestReg;'
|
||||||
|
|
||||||
class Movfp(CondRegOp):
|
class Movfp(CondRegOp):
|
||||||
code = 'FpDestReg = FpSrcReg2'
|
code = 'FpDestReg.uqw = FpSrcReg2.uqw;'
|
||||||
else_code = 'FpDestReg = FpDestReg;'
|
else_code = 'FpDestReg.uqw = FpDestReg.uqw;'
|
||||||
|
|
||||||
# Shift instructions
|
# Shift instructions
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue