X86: Implement LDMXCSR.
This commit is contained in:
parent
b315c3effc
commit
179fd4e536
2 changed files with 12 additions and 2 deletions
|
@ -828,7 +828,7 @@
|
|||
0x6: decode MODRM_REG {
|
||||
0x0: fxsave();
|
||||
0x1: fxrstor();
|
||||
0x2: ldmxcsr();
|
||||
0x2: Inst::LDMXCSR(Md);
|
||||
0x3: Inst::STMXCSR(Md);
|
||||
0x4: Inst::UD2();
|
||||
0x5: decode MODRM_MOD {
|
||||
|
|
|
@ -64,5 +64,15 @@ def macroop STMXCSR_P {
|
|||
rdip t7
|
||||
st t1, seg, riprel, disp
|
||||
};
|
||||
# LDMXCSR
|
||||
|
||||
def macroop LDMXCSR_M {
|
||||
ld t1, seg, sib, disp
|
||||
wrval "InstRegIndex(MISCREG_MXCSR)", t1
|
||||
};
|
||||
|
||||
def macroop LDMXCSR_P {
|
||||
rdip t7
|
||||
ld t1, seg, riprel, disp
|
||||
wrval "InstRegIndex(MISCREG_MXCSR)", t1
|
||||
};
|
||||
'''
|
||||
|
|
Loading…
Reference in a new issue