summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/insts/general_purpose/system_calls.py
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2009-07-16 09:27:56 -0700
committerGabe Black <gblack@eecs.umich.edu>2009-07-16 09:27:56 -0700
commit80c834ccac0b92cccd9756d4a2ec4cd4b46b6711 (patch)
tree151624c71a962c03f5d916f1bd0e516610d4c3ba /src/arch/x86/isa/insts/general_purpose/system_calls.py
parent3f9b0cc5ca126950fcce5a9b5ebf2f485ee812f2 (diff)
downloadgem5-80c834ccac0b92cccd9756d4a2ec4cd4b46b6711.tar.xz
X86: Fix a number of places where the wrong form of a microop was used.
Diffstat (limited to 'src/arch/x86/isa/insts/general_purpose/system_calls.py')
-rw-r--r--src/arch/x86/isa/insts/general_purpose/system_calls.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/isa/insts/general_purpose/system_calls.py b/src/arch/x86/isa/insts/general_purpose/system_calls.py
index 9501116d9..31184eae7 100644
--- a/src/arch/x86/isa/insts/general_purpose/system_calls.py
+++ b/src/arch/x86/isa/insts/general_purpose/system_calls.py
@@ -65,7 +65,7 @@ def macroop SYSCALL_64
# Stick rflags with RF masked into r11.
rflags t2
limm t3, "~RFBit", dataSize=8
- andi r11, t2, t3, dataSize=8
+ and r11, t2, t3, dataSize=8
rdval t3, star
srli t3, t3, 32, dataSize=8
@@ -118,7 +118,7 @@ def macroop SYSCALL_COMPAT
# Stick rflags with RF masked into r11.
rflags t2
limm t3, "~RFBit", dataSize=8
- andi r11, t2, t3, dataSize=8
+ and r11, t2, t3, dataSize=8
rdval t3, star
srli t3, t3, 32, dataSize=8