aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/x86_64.s
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/i386/x86_64.s')
-rw-r--r--gas/testsuite/gas/i386/x86_64.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/testsuite/gas/i386/x86_64.s b/gas/testsuite/gas/i386/x86_64.s
index 3e5532ab297b..aad9b2737754 100644
--- a/gas/testsuite/gas/i386/x86_64.s
+++ b/gas/testsuite/gas/i386/x86_64.s
@@ -188,5 +188,10 @@ movw %ax,0xffffffffff332211
movl %eax,0xffffffffff332211
movq %rax,0xffffffffff332211
+cmpxchg16b (%rax)
+
+.intel_syntax noprefix
+cmpxchg16b oword ptr [rax]
+
# Get a good alignment.
.p2align 4,0