summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/decoder/one_byte_opcodes.isa
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-08-05 03:04:17 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-08-05 03:04:17 -0700
commitef3896d8517990c22fe822649cf1965d6152a137 (patch)
treeec44f80dccbc531cb055d0dff9f4cb4029f2a9c4 /src/arch/x86/isa/decoder/one_byte_opcodes.isa
parent664d50b439001889e6f29a025c433c01ac3449d7 (diff)
downloadgem5-ef3896d8517990c22fe822649cf1965d6152a137.tar.xz
X86: Use the new forced folding mechanism for the SAHF and LAHF instructions.
Diffstat (limited to 'src/arch/x86/isa/decoder/one_byte_opcodes.isa')
-rw-r--r--src/arch/x86/isa/decoder/one_byte_opcodes.isa10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/arch/x86/isa/decoder/one_byte_opcodes.isa b/src/arch/x86/isa/decoder/one_byte_opcodes.isa
index 84d18441d..f365ed4b0 100644
--- a/src/arch/x86/isa/decoder/one_byte_opcodes.isa
+++ b/src/arch/x86/isa/decoder/one_byte_opcodes.isa
@@ -330,14 +330,8 @@
//The 64 bit versions of both of these should be illegal only
//if CPUID says it isn't supported. For now, we'll just assume
//that it's supported.
- 0x6: decode MODE_SUBMODE {
- 0x0: SAHF_64();
- default: SAHF();
- }
- 0x7: decode MODE_SUBMODE {
- 0x0: LAHF_64();
- default: LAHF();
- }
+ 0x6: SAHF();
+ 0x7: LAHF();
}
0x14: decode OPCODE_OP_BOTTOM3 {
0x0: MOV(rAb, Ob);