diff options
Diffstat (limited to 'gas/testsuite/gas/i386/clwb.s')
-rw-r--r-- | gas/testsuite/gas/i386/clwb.s | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gas/testsuite/gas/i386/clwb.s b/gas/testsuite/gas/i386/clwb.s new file mode 100644 index 00000000000..8132218257e --- /dev/null +++ b/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 |