Skip to content

Commit 1b84e69

Browse files
update
1 parent 6d6560d commit 1b84e69

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

test/jdk/jdk/incubator/vector/gen-template.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ binary_math_template="Binary-op-math"
7373
binary_math_broadcast_template="Binary-Broadcast-op-math"
7474
bool_reduction_scalar="BoolReduction-Scalar-op"
7575
bool_reduction_template="BoolReduction-op"
76+
bool_binary_template="BoolBinary-op"
77+
bool_unary_template="BoolUnary-op"
7678
with_op_template="With-Op"
7779
shift_template="Shift-op"
7880
shift_masked_template="Shift-Masked-op"
@@ -90,8 +92,6 @@ unslice_template="Unslice-op"
9092
unslice1_template="Unslice-bop"
9193
unslice1_masked_template="Unslice-Masked-bop"
9294
miscellaneous_template="Miscellaneous"
93-
mask_binary="Mask-Binary-op"
94-
mask_unary="Mask-Unary-op"
9595

9696
function replace_variables {
9797
local filename=$1
@@ -629,12 +629,12 @@ gen_unary_alu_op "REVERSE_BYTES" "\$Boxtype\$.reverseBytes(a)" "short"
629629
gen_unary_alu_op "REVERSE_BYTES" "a" "byte"
630630

631631
# Mask operations
632-
gen_op_tmpl $mask_binary "and" "a \& b"
633-
gen_op_tmpl $mask_binary "or" "a | b"
634-
gen_op_tmpl $mask_binary "xor" "a != b"
635-
gen_op_tmpl $mask_binary "andNot" "a \& !b"
636-
gen_op_tmpl $mask_binary "eq" "a == b"
637-
gen_op_tmpl $mask_unary "not" "!a"
632+
gen_op_tmpl $bool_binary_template "and" "a \& b"
633+
gen_op_tmpl $bool_binary_template "or" "a | b"
634+
gen_op_tmpl $bool_binary_template "xor" "a != b"
635+
gen_op_tmpl $bool_binary_template "andNot" "a \& !b"
636+
gen_op_tmpl $bool_binary_template "eq" "a == b"
637+
gen_op_tmpl $bool_unary_template "not" "!a"
638638

639639
# Miscellaneous Smoke Tests
640640
gen_op_tmpl $miscellaneous_template "MISC" "" ""

test/jdk/jdk/incubator/vector/templates/Kernel-Mask-Binary-op.template renamed to test/jdk/jdk/incubator/vector/templates/Kernel-BoolBinary-op.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
VectorMask bv = SPECIES.loadMask(b, i);
99
av.[[TEST]](bv).intoArray(r, i);
1010
}
11-
}
11+
}

test/jdk/jdk/incubator/vector/templates/Kernel-Mask-Unary-op.template renamed to test/jdk/jdk/incubator/vector/templates/Kernel-BoolUnary-op.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
VectorMask av = SPECIES.loadMask(a, i);
77
av.[[TEST]]().intoArray(r, i);
88
}
9-
}
9+
}

test/jdk/jdk/incubator/vector/templates/Unit-Mask-Binary-op.template renamed to test/jdk/jdk/incubator/vector/templates/Unit-BoolBinary-op.template

File renamed without changes.

test/jdk/jdk/incubator/vector/templates/Unit-Mask-Unary-op.template renamed to test/jdk/jdk/incubator/vector/templates/Unit-BoolUnary-op.template

File renamed without changes.

0 commit comments

Comments
 (0)