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=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b 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