i386: Also check R12-R15 registers when optimizing testq to testb
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / x86-64-sse4_2.s
CommitLineData
381d071f
L
1# Streaming SIMD extensions 4.2 Instructions
2
3 .text
4foo:
381d071f
L
5 crc32 %cl,%ebx
6 crc32 %cl,%rbx
7 crc32 %cx,%ebx
8 crc32 %ecx,%ebx
9 crc32 %rcx,%rbx
10 crc32b (%rcx),%ebx
11 crc32w (%rcx),%ebx
12 crc32l (%rcx),%ebx
13 crc32q (%rcx),%rbx
14 crc32b %cl,%ebx
15 crc32b %cl,%rbx
16 crc32w %cx,%ebx
17 crc32l %ecx,%ebx
18 crc32q %rcx,%rbx
19 pcmpgtq (%rcx),%xmm0
20 pcmpgtq %xmm1,%xmm0
21 pcmpestri $0x0,(%rcx),%xmm0
22 pcmpestri $0x0,%xmm1,%xmm0
15c7c1d8
JB
23 pcmpestriq $0x0,(%rcx),%xmm0
24 pcmpestril $0x0,%xmm1,%xmm0
381d071f
L
25 pcmpestrm $0x1,(%rcx),%xmm0
26 pcmpestrm $0x1,%xmm1,%xmm0
15c7c1d8
JB
27 pcmpestrmq $0x1,(%rcx),%xmm0
28 pcmpestrml $0x1,%xmm1,%xmm0
381d071f
L
29 pcmpistri $0x2,(%rcx),%xmm0
30 pcmpistri $0x2,%xmm1,%xmm0
31 pcmpistrm $0x3,(%rcx),%xmm0
32 pcmpistrm $0x3,%xmm1,%xmm0
33 popcnt (%rcx),%bx
34 popcnt (%rcx),%ebx
35 popcnt (%rcx),%rbx
36 popcntw (%rcx),%bx
37 popcntl (%rcx),%ebx
38 popcntq (%rcx),%rbx
39 popcnt %cx,%bx
40 popcnt %ecx,%ebx
41 popcnt %rcx,%rbx
42 popcntw %cx,%bx
43 popcntl %ecx,%ebx
44 popcntq %rcx,%rbx
45
c3ad16c0
L
46 .intel_syntax noprefix
47 crc32 ebx,cl
48 crc32 rbx,cl
49 crc32 ebx,cx
50 crc32 ebx,ecx
51 crc32 rbx,rcx
52 crc32 ebx,BYTE PTR [rcx]
53 crc32 ebx,WORD PTR [rcx]
54 crc32 ebx,DWORD PTR [rcx]
55 crc32 rbx,QWORD PTR [rcx]
56 crc32 ebx,cl
57 crc32 rbx,cl
58 crc32 ebx,cx
59 crc32 ebx,ecx
60 crc32 rbx,rcx
61 pcmpgtq xmm0,XMMWORD PTR [rcx]
62 pcmpgtq xmm0,xmm1
63 pcmpestri xmm0,XMMWORD PTR [rcx],0x0
64 pcmpestri xmm0,xmm1,0x0
65 pcmpestrm xmm0,XMMWORD PTR [rcx],0x1
66 pcmpestrm xmm0,xmm1,0x1
67 pcmpistri xmm0,XMMWORD PTR [rcx],0x2
68 pcmpistri xmm0,xmm1,0x2
69 pcmpistrm xmm0,XMMWORD PTR [rcx],0x3
70 pcmpistrm xmm0,xmm1,0x3
71 popcnt bx,WORD PTR [rcx]
72 popcnt ebx,DWORD PTR [rcx]
73 popcnt rbx,QWORD PTR [rcx]
74 popcnt bx,WORD PTR [rcx]
75 popcnt ebx,DWORD PTR [rcx]
76 popcnt rbx,QWORD PTR [rcx]
77 popcnt bx,cx
78 popcnt ebx,ecx
79 popcnt rbx,rcx
80 popcnt bx,cx
81 popcnt ebx,ecx
82 popcnt rbx,rcx
83
381d071f 84 .p2align 4,0
This page took 0.579961 seconds and 4 git commands to generate.