X86: Fix the decoding for and fill out FST and FSTP.
This commit is contained in:
parent
843d064668
commit
e8c0ca5cd1
2 changed files with 10 additions and 2 deletions
|
@ -249,8 +249,8 @@ format WarnUnimpl {
|
|||
0x3: Inst::UD2();
|
||||
default: fisttp();
|
||||
}
|
||||
0x2: Inst::FST(Mq);
|
||||
0x3: Inst::FSTP(Mq);
|
||||
0x2: Inst::FST(Eq);
|
||||
0x3: Inst::FSTP(Eq);
|
||||
0x4: decode MODRM_MOD {
|
||||
0x3: fucom();
|
||||
default: frstor();
|
||||
|
|
|
@ -65,6 +65,10 @@ def macroop FLD_P {
|
|||
movfp st(-1), ufp1, spm=-1
|
||||
};
|
||||
|
||||
def macroop FST_R {
|
||||
movfp sti, st(0)
|
||||
};
|
||||
|
||||
def macroop FST_M {
|
||||
stfp st(0), seg, sib, disp
|
||||
};
|
||||
|
@ -74,6 +78,10 @@ def macroop FST_P {
|
|||
stfp st(0), seg, riprel, disp
|
||||
};
|
||||
|
||||
def macroop FSTP_R {
|
||||
movfp sti, st(0), spm=1
|
||||
};
|
||||
|
||||
def macroop FSTP_M {
|
||||
movfp ufp1, st(0), spm=1
|
||||
stfp ufp1, seg, sib, disp
|
||||
|
|
Loading…
Reference in a new issue