X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fi386%2Fx86-64-inval-ept.s;fp=gas%2Ftestsuite%2Fgas%2Fi386%2Fx86-64-inval-ept.s;h=89d69485b205b59c62e95ade145411d187536949;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/testsuite/gas/i386/x86-64-inval-ept.s b/gas/testsuite/gas/i386/x86-64-inval-ept.s new file mode 100644 index 0000000..89d6948 --- /dev/null +++ b/gas/testsuite/gas/i386/x86-64-inval-ept.s @@ -0,0 +1,21 @@ +# Check illegal EPT instructions in 64bit mode. + .text +_start: + invept (%rcx), %bx + invept (%rcx), %ebx + invept %rbx, (%rcx) + invept %rbx, %rcx + invvpid (%rcx), %bx + invvpid (%rcx), %ebx + invvpid %rbx, (%rcx) + invvpid %rbx, %rcx + + .intel_syntax noprefix + invept bx, oword ptr [rcx] + invept ebx, oword ptr [rcx] + invept oword ptr [rcx], rbx + invept rcx, rbx + invvpid bx, oword ptr [rcx] + invvpid ebx, oword ptr [rcx] + invvpid oword ptr [rcx], rbx + invvpid rcx, rbx