summaryrefslogtreecommitdiff
path: root/src/arch/x86
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2007-07-31 14:55:06 -0700
committerGabe Black <gblack@eecs.umich.edu>2007-07-31 14:55:06 -0700
commit55ade789d34e541cc538c7c5a4f286a313cfd8ba (patch)
tree65542c258c8e1a404bce999d3ab127f01bd59d6f /src/arch/x86
parentae3e1d22fc3bfff8c246a0a743b77f4096d95b74 (diff)
downloadgem5-55ade789d34e541cc538c7c5a4f286a313cfd8ba.tar.xz
X86: Add operand type information to the fnstcw and fldw instruction placeholders.
These are the only floating point instructions that get used in my simple hello world test. These instructions are for setting up the floating point control register. Their not being implemented doesn't affect anything because floating point isn't used. --HG-- extra : convert_revision : 4dfb9ef2a5665f034946c504978029e8799e64cd
Diffstat (limited to 'src/arch/x86')
-rw-r--r--src/arch/x86/isa/decoder/x87.isa4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/isa/decoder/x87.isa b/src/arch/x86/isa/decoder/x87.isa
index f16647fe5..bab687acd 100644
--- a/src/arch/x86/isa/decoder/x87.isa
+++ b/src/arch/x86/isa/decoder/x87.isa
@@ -103,7 +103,7 @@
0x5: fldln2();
0x6: fldz();
}
- default: fldcw();
+ default: fldcw_Mw();
}
0x6: decode MODRM_MOD {
0x3: decode MODRM_RM {
@@ -129,7 +129,7 @@
0x6: fsin();
0x7: fcos();
}
- default: fnstcw();
+ default: fnstcw_Mw();
}
}
//0x2: esc2();