gen-C++ support for vector bit-shift operations

This commit is contained in:
Vern Paxson 2022-08-01 10:26:26 -07:00
parent 8640430920
commit 1bbf345e46
2 changed files with 4 additions and 0 deletions

View file

@ -170,6 +170,8 @@ VEC_OP2(or, |, )
VEC_OP2(xor, ^, )
VEC_OP2(andand, &&, )
VEC_OP2(oror, ||, )
VEC_OP2(lshift, <<, )
VEC_OP2(rshift, >>, )
// A version of VEC_OP2 that instead supports relational operations, so
// the result type is always vector-of-bool.