X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fi386%2Fx86-64-aes.s;fp=gas%2Ftestsuite%2Fgas%2Fi386%2Fx86-64-aes.s;h=955619d6d3e0807ad9f76313e4faf8d7e06e0dcc;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/testsuite/gas/i386/x86-64-aes.s b/gas/testsuite/gas/i386/x86-64-aes.s new file mode 100644 index 0000000..955619d --- /dev/null +++ b/gas/testsuite/gas/i386/x86-64-aes.s @@ -0,0 +1,30 @@ +# Check 64bit AES new instructions. + + .text +foo: + aesenc (%rcx),%xmm0 + aesenc %xmm1,%xmm0 + aesenclast (%rcx),%xmm0 + aesenclast %xmm1,%xmm0 + aesdec (%rcx),%xmm0 + aesdec %xmm1,%xmm0 + aesdeclast (%rcx),%xmm0 + aesdeclast %xmm1,%xmm0 + aesimc (%rcx),%xmm0 + aesimc %xmm1,%xmm0 + aeskeygenassist $8,(%rcx),%xmm0 + aeskeygenassist $8,%xmm1,%xmm0 + + .intel_syntax noprefix + aesenc xmm0,XMMWORD PTR [rcx] + aesenc xmm0,xmm1 + aesenclast xmm0,XMMWORD PTR [rcx] + aesenclast xmm0,xmm1 + aesdec xmm0,XMMWORD PTR [rcx] + aesdec xmm0,xmm1 + aesdeclast xmm0,XMMWORD PTR [rcx] + aesdeclast xmm0,xmm1 + aesimc xmm0,XMMWORD PTR [rcx] + aesimc xmm0,xmm1 + aeskeygenassist xmm0,XMMWORD PTR [rcx],8 + aeskeygenassist xmm0,xmm1,8