1 # Check 32bit BMI2 instructions
7 # Test for op r32, r/m32, imm8
11 # Test for op r32, r32, r/m32
19 # Test for op r32, r/m32, r32
29 .intel_syntax noprefix
31 # Test for op r32, r/m32, imm8
33 rorx ebx,DWORD PTR [ecx],7
36 # Test for op r32, r32, r/m32
38 mulx esi,ebx,DWORD PTR [ecx]
41 pdep esi,ebx,DWORD PTR [ecx]
44 pext esi,ebx,DWORD PTR [ecx]
47 # Test for op r32, r/m32, r32
49 bzhi esi,DWORD PTR [ecx],ebx
52 sarx esi,DWORD PTR [ecx],ebx
55 shlx esi,DWORD PTR [ecx],ebx
58 shrx esi,DWORD PTR [ecx],ebx