@@ -73,6 +73,8 @@ binary_math_template="Binary-op-math"
7373binary_math_broadcast_template=" Binary-Broadcast-op-math"
7474bool_reduction_scalar=" BoolReduction-Scalar-op"
7575bool_reduction_template=" BoolReduction-op"
76+ bool_binary_template=" BoolBinary-op"
77+ bool_unary_template=" BoolUnary-op"
7678with_op_template=" With-Op"
7779shift_template=" Shift-op"
7880shift_masked_template=" Shift-Masked-op"
@@ -90,8 +92,6 @@ unslice_template="Unslice-op"
9092unslice1_template=" Unslice-bop"
9193unslice1_masked_template=" Unslice-Masked-bop"
9294miscellaneous_template=" Miscellaneous"
93- mask_binary=" Mask-Binary-op"
94- mask_unary=" Mask-Unary-op"
9595
9696function replace_variables {
9797 local filename=$1
@@ -629,12 +629,12 @@ gen_unary_alu_op "REVERSE_BYTES" "\$Boxtype\$.reverseBytes(a)" "short"
629629gen_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
640640gen_op_tmpl $miscellaneous_template " MISC" " " " "
0 commit comments