Skip to content

Commit 9f26f2d

Browse files
committed
Use boolean not bitwise operators in VI_LOOP_MASK macro
1 parent 992e969 commit 9f26f2d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

riscv/insns/vmandn_mm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// vmandn.mm vd, vs2, vs1
2-
VI_LOOP_MASK(vs2 & ~vs1);
2+
VI_LOOP_MASK(vs2 & !vs1);

riscv/insns/vmnand_mm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// vmnand.mm vd, vs2, vs1
2-
VI_LOOP_MASK(~(vs2 & vs1));
2+
VI_LOOP_MASK(!(vs2 & vs1));

riscv/insns/vmnor_mm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// vmnor.mm vd, vs2, vs1
2-
VI_LOOP_MASK(~(vs2 | vs1));
2+
VI_LOOP_MASK(!(vs2 | vs1));

riscv/insns/vmorn_mm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// vmorn.mm vd, vs2, vs1
2-
VI_LOOP_MASK(vs2 | ~vs1);
2+
VI_LOOP_MASK(vs2 | !vs1);

riscv/insns/vmxnor_mm.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
// vmnxor.mm vd, vs2, vs1
2-
VI_LOOP_MASK(~(vs2 ^ vs1));
2+
VI_LOOP_MASK(!(vs2 ^ vs1));

0 commit comments

Comments
 (0)