]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - gas/testsuite/gas/i386/inval-ept.s
Merge commit 'upstream/2.20'
[msp430-binutils.git] / gas / testsuite / gas / i386 / inval-ept.s
diff --git a/gas/testsuite/gas/i386/inval-ept.s b/gas/testsuite/gas/i386/inval-ept.s
new file mode 100644 (file)
index 0000000..6152c95
--- /dev/null
@@ -0,0 +1,17 @@
+# Check illegal EPT instructions
+       .text
+_start:
+       invept  (%ecx), %bx
+       invept  %ebx, (%ecx)
+       invept  %ebx, %ecx
+       invvpid (%ecx), %bx
+       invvpid %ebx, (%ecx)
+       invvpid %ebx, %ecx
+
+       .intel_syntax noprefix
+       invept bx, oword ptr [ecx]
+       invept oword ptr [ecx], ebx
+       invept ecx, ebx
+       invvpid bx, oword ptr [ecx]
+       invvpid oword ptr [ecx], ebx
+       invvpid ecx, ebx