diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-05-02 00:40:17 -0700 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-05-02 00:40:17 -0700 |
commit | 7524fdda6a85e2b22ebdbcb7a84ddd40b5411e98 (patch) | |
tree | 200ed8cf89750cac132f2dd0d0d354cbbe1d6f4a /src/arch/x86/isa/decoder/two_byte_opcodes.isa | |
parent | d75ad847b32e6076a673bc562d6e92c2193221dc (diff) | |
download | gem5-7524fdda6a85e2b22ebdbcb7a84ddd40b5411e98.tar.xz |
X86: Sometimes CPUID depends on ecx, so pass that in.
Diffstat (limited to 'src/arch/x86/isa/decoder/two_byte_opcodes.isa')
-rw-r--r-- | src/arch/x86/isa/decoder/two_byte_opcodes.isa | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/arch/x86/isa/decoder/two_byte_opcodes.isa b/src/arch/x86/isa/decoder/two_byte_opcodes.isa index 288c5e5a8..4b892cda2 100644 --- a/src/arch/x86/isa/decoder/two_byte_opcodes.isa +++ b/src/arch/x86/isa/decoder/two_byte_opcodes.isa @@ -767,7 +767,8 @@ 0x1: pop_fs(); 0x2: CPUIDInst::CPUID({{ CpuidResult result; - success = doCpuid(xc->tcBase(), bits(Rax, 31, 0), result); + success = doCpuid(xc->tcBase(), bits(Rax, 31, 0), + bits(Rcx, 31, 0), result); Rax = result.rax; Rbx = result.rbx; Rcx = result.rcx; |