Use andn for band_not when bmi1 is present (#5701)
We can use the andn instruction for the lowering of band_not on x64 when bmi1 is available.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
test interpret
|
||||
test run
|
||||
target x86_64
|
||||
target x86_64 has_bmi1
|
||||
target aarch64
|
||||
target s390x
|
||||
|
||||
@@ -65,4 +66,4 @@ block0(v0: i8, v1: i8):
|
||||
|
||||
; run: %bxor_not(0xFF, 0) == 0
|
||||
; run: %bxor_not(0x55, 0xFF) == 85
|
||||
; run: %bxor_not(0, 0) == -1
|
||||
; run: %bxor_not(0, 0) == -1
|
||||
|
||||
Reference in New Issue
Block a user