summaryrefslogtreecommitdiff
path: root/src/arch/x86/isa/insts/general_purpose/semaphores.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/isa/insts/general_purpose/semaphores.py')
-rw-r--r--src/arch/x86/isa/insts/general_purpose/semaphores.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/x86/isa/insts/general_purpose/semaphores.py b/src/arch/x86/isa/insts/general_purpose/semaphores.py
index 9f751b3ae..bb46c42f2 100644
--- a/src/arch/x86/isa/insts/general_purpose/semaphores.py
+++ b/src/arch/x86/isa/insts/general_purpose/semaphores.py
@@ -132,6 +132,7 @@ def macroop XADD_R_R {
# of dataSize.
cmpxchg8bCode = '''
def macroop CMPXCHG8B_%(suffix)s {
+ .adjust_env clampOsz
%(rdip)s
lea t1, seg, %(sib)s, disp, dataSize=asz
ldsplit%(l)s (t2, t3), seg, [1, t0, t1], disp=0