diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-09-06 16:18:34 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-09-06 16:18:34 -0700 |
commit | 389abade01f44ce7204776c0d71f89c8d3177d9d (patch) | |
tree | 8ce232e25289338e6c404ad80c6f02ef319ae76c /src/arch/x86/isa/decoder | |
parent | 4478487c372ac79fb98b85f3710ab3c101c82a00 (diff) | |
download | gem5-389abade01f44ce7204776c0d71f89c8d3177d9d.tar.xz |
X86: Add a square root microop and the SSE sqrt instruction.
--HG--
extra : convert_revision : ddc6e7e95111189d43f75bf84cd3d82433d982b3
Diffstat (limited to 'src/arch/x86/isa/decoder')
-rw-r--r-- | src/arch/x86/isa/decoder/two_byte_opcodes.isa | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/arch/x86/isa/decoder/two_byte_opcodes.isa b/src/arch/x86/isa/decoder/two_byte_opcodes.isa index ae2318899..eae994706 100644 --- a/src/arch/x86/isa/decoder/two_byte_opcodes.isa +++ b/src/arch/x86/isa/decoder/two_byte_opcodes.isa @@ -283,12 +283,14 @@ 0x7: Inst::XORPD(Vq,Wq); default: Inst::UD2(); } - // repne (0xF2) - 0x8: decode OPCODE_OP_BOTTOM3 { - 0x1: sqrtsd_Vq_Wq(); - default: Inst::UD2(); + format Inst { + // repne (0xF2) + 0x8: decode OPCODE_OP_BOTTOM3 { + 0x1: SQRTSD(Vq,Wq); + default: UD2(); + } + default: UD2(); } - default: Inst::UD2(); } 0x0B: decode LEGACY_DECODEVAL { // no prefix |