Replace CpuSSE3 with CpuCX16 for cmpxchg16b
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / x86-64-sse4_2.s
index fdc7491e72ead9c9fadafc30b8097db7cc4a8afd..eaecf40c9f9f91237b08d6931b78aa836c3b281f 100644 (file)
@@ -2,8 +2,6 @@
 
        .text
 foo:
-       crc32           (%rcx),%ebx
-       crc32           (%rcx),%rbx
        crc32           %cl,%ebx
        crc32           %cl,%rbx
        crc32           %cx,%ebx
@@ -41,4 +39,42 @@ foo:
        popcntl         %ecx,%ebx
        popcntq         %rcx,%rbx
 
+       .intel_syntax noprefix
+       crc32  ebx,cl
+       crc32  rbx,cl
+       crc32  ebx,cx
+       crc32  ebx,ecx
+       crc32  rbx,rcx
+       crc32  ebx,BYTE PTR [rcx]
+       crc32  ebx,WORD PTR [rcx]
+       crc32  ebx,DWORD PTR [rcx]
+       crc32  rbx,QWORD PTR [rcx]
+       crc32  ebx,cl
+       crc32  rbx,cl
+       crc32  ebx,cx
+       crc32  ebx,ecx
+       crc32  rbx,rcx
+       pcmpgtq xmm0,XMMWORD PTR [rcx]
+       pcmpgtq xmm0,xmm1
+       pcmpestri xmm0,XMMWORD PTR [rcx],0x0
+       pcmpestri xmm0,xmm1,0x0
+       pcmpestrm xmm0,XMMWORD PTR [rcx],0x1
+       pcmpestrm xmm0,xmm1,0x1
+       pcmpistri xmm0,XMMWORD PTR [rcx],0x2
+       pcmpistri xmm0,xmm1,0x2
+       pcmpistrm xmm0,XMMWORD PTR [rcx],0x3
+       pcmpistrm xmm0,xmm1,0x3
+       popcnt bx,WORD PTR [rcx]
+       popcnt ebx,DWORD PTR [rcx]
+       popcnt rbx,QWORD PTR [rcx]
+       popcnt bx,WORD PTR [rcx]
+       popcnt ebx,DWORD PTR [rcx]
+       popcnt rbx,QWORD PTR [rcx]
+       popcnt bx,cx
+       popcnt ebx,ecx
+       popcnt rbx,rcx
+       popcnt bx,cx
+       popcnt ebx,ecx
+       popcnt rbx,rcx
+
        .p2align        4,0
This page took 0.024362 seconds and 4 git commands to generate.