X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fi386%2Fx86-64-clmul.s;fp=gas%2Ftestsuite%2Fgas%2Fi386%2Fx86-64-clmul.s;h=0a61d982f022e8958a58da9962c46b7cd9e6bef6;hp=0000000000000000000000000000000000000000;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/testsuite/gas/i386/x86-64-clmul.s b/gas/testsuite/gas/i386/x86-64-clmul.s new file mode 100644 index 0000000..0a61d98 --- /dev/null +++ b/gas/testsuite/gas/i386/x86-64-clmul.s @@ -0,0 +1,26 @@ +# Check 64bit PCLMUL new instructions. + + .text +foo: + pclmulqdq $8,(%rcx),%xmm0 + pclmulqdq $8,%xmm1,%xmm0 + pclmullqlqdq (%rcx),%xmm0 + pclmullqlqdq %xmm1,%xmm0 + pclmulhqlqdq (%rcx),%xmm0 + pclmulhqlqdq %xmm1,%xmm0 + pclmullqhqdq (%rcx),%xmm0 + pclmullqhqdq %xmm1,%xmm0 + pclmulhqhqdq (%rcx),%xmm0 + pclmulhqhqdq %xmm1,%xmm0 + + .intel_syntax noprefix + pclmulqdq xmm0,XMMWORD PTR [rcx],8 + pclmulqdq xmm0,xmm1,8 + pclmullqlqdq xmm0,XMMWORD PTR [rcx] + pclmullqlqdq xmm0,xmm1 + pclmulhqlqdq xmm0,XMMWORD PTR [rcx] + pclmulhqlqdq xmm0,xmm1 + pclmullqhqdq xmm0,XMMWORD PTR [rcx] + pclmullqhqdq xmm0,xmm1 + pclmulhqhqdq xmm0,XMMWORD PTR [rcx] + pclmulhqhqdq xmm0,xmm1