X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fi386%2Finval-ept.s;fp=gas%2Ftestsuite%2Fgas%2Fi386%2Finval-ept.s;h=6152c95b3791949b3beab6199f3875755a1292f9;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/testsuite/gas/i386/inval-ept.s b/gas/testsuite/gas/i386/inval-ept.s new file mode 100644 index 0000000..6152c95 --- /dev/null +++ b/gas/testsuite/gas/i386/inval-ept.s @@ -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