summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/gas/testsuite/gas/i386/clwb.s
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/gas/testsuite/gas/i386/clwb.s')
-rw-r--r--binutils-2.25/gas/testsuite/gas/i386/clwb.s12
1 files changed, 12 insertions, 0 deletions
diff --git a/binutils-2.25/gas/testsuite/gas/i386/clwb.s b/binutils-2.25/gas/testsuite/gas/i386/clwb.s
new file mode 100644
index 00000000..81322182
--- /dev/null
+++ b/binutils-2.25/gas/testsuite/gas/i386/clwb.s
@@ -0,0 +1,12 @@
+# Check 32bit CLWB instructions
+
+ .allow_index_reg
+ .text
+_start:
+
+ clwb (%ecx) # CLWB
+ clwb -123456(%esp,%esi,8) # CLWB
+
+ .intel_syntax noprefix
+ clwb BYTE PTR [ecx] # CLWB
+ clwb BYTE PTR [esp+esi*8-123456] # CLWB