summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/decoder/x87.isa
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-09-19 18:28:34 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-09-19 18:28:34 -0700
commit3cd95a2748ebed72cedd64f7f4c945eef6e2ccf7 (patch)
treef6b50b9fd94288881217facda080272854e1289e /src/arch/x86/isa/decoder/x87.isa
parenta75b6f51060ceaa52014aa4dd6aadc6ca83365f8 (diff)
downloadgem5-3cd95a2748ebed72cedd64f7f4c945eef6e2ccf7.tar.xz
X86: Implement the fld, fst, and fstp instructions.
--HG-- extra : convert_revision : 7dd274bdc3c34839c17d9012a745d7c95dfcfdd8
Diffstat (limited to 'src/arch/x86/isa/decoder/x87.isa')
-rw-r--r--src/arch/x86/isa/decoder/x87.isa6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/x86/isa/decoder/x87.isa b/src/arch/x86/isa/decoder/x87.isa
index bab687acd..667a8a66e 100644
--- a/src/arch/x86/isa/decoder/x87.isa
+++ b/src/arch/x86/isa/decoder/x87.isa
@@ -242,14 +242,14 @@
0x5: decode MODRM_REG {
0x0: decode MODRM_MOD {
0x3: ffree();
- default: fld();
+ default: Inst::FLD(Mq);
}
0x1: decode MODRM_MOD {
0x3: Inst::UD2();
default: fisttp();
}
- 0x2: fst();
- 0x3: fstp();
+ 0x2: Inst::FST(Mq);
+ 0x3: Inst::FSTP(Mq);
0x4: decode MODRM_MOD {
0x3: fucom();
default: frstor();