1 # Check 64bit BMI instructions
7 # Test for op r16, r/m16
12 # Test for op r32, r32, r/m32
16 andn (%rcx),%r15d,%r10d
18 # Test for op r32, r/m32, r32
20 bextr %ebx,(%rcx),%esi
21 bextr %r9d,%r15d,%r10d
22 bextr %r9d,(%rcx),%r10d
24 # Test for op r32, r/m32
38 # Test for op r64, r64, r/m64
44 # Test for op r64, r/m64, r64
46 bextr %rax,(%rcx),%rsi
50 # Test for op r64, r/m64
68 .intel_syntax noprefix
70 # Test for op r16, r/m16
72 tzcnt bx,WORD PTR [rcx]
73 tzcnt r10w,WORD PTR [rcx]
76 # Test for op r32, r32, r/m32
78 andn esi,ebx,DWORD PTR [rcx]
80 andn r15d,r10d,DWORD PTR [rcx]
83 # Test for op r32, r/m32, r32
85 bextr esi,DWORD PTR [rcx],ebx
87 bextr r15d,DWORD PTR [rcx],r9d
90 # Test for op r32, r/m32
92 tzcnt ebx,DWORD PTR [rcx]
93 tzcnt r10d,DWORD PTR [rcx]
96 blsi ebx,DWORD PTR [rcx]
97 blsi r10d,DWORD PTR [rcx]
100 blsmsk ebx,DWORD PTR [rcx]
101 blsmsk r10d,DWORD PTR [rcx]
104 blsr ebx,DWORD PTR [rcx]
105 blsr r10d,DWORD PTR [rcx]
108 # Test for op r64, r64, r/m64
110 andn rsi,rbx,QWORD PTR [rcx]
112 andn r10,r15,QWORD PTR [rcx]
115 # Test for op r64, r/m64, r64
117 bextr rsi,QWORD PTR [rcx],rax
119 bextr r10,QWORD PTR [rcx],r9
122 # Test for op r64, r/m64
124 tzcnt rbx,QWORD PTR [rcx]
126 tzcnt r15,QWORD PTR [rcx]
129 blsi rbx,QWORD PTR [rcx]
131 blsi r15,QWORD PTR [rcx]
134 blsmsk rbx,QWORD PTR [rcx]
136 blsmsk r15,QWORD PTR [rcx]
139 blsr rbx,QWORD PTR [rcx]
141 blsr r15,QWORD PTR [rcx]