< prev index next >
src/hotspot/share/opto/vectornode.cpp
Print this page
rev 49829 : Suball for short+byte intrinsics
@@ -683,13 +683,19 @@
case Op_XorL:
assert(bt == T_LONG, "must be");
vopc = Op_XorReductionV;
break;
case Op_SubI:
- assert(bt == T_INT, "must be");
+ switch(bt) {
+ case T_BYTE:
+ case T_SHORT:
+ case T_INT:
vopc = Op_SubReductionV;
break;
+ default: ShouldNotReachHere(); return 0;
+ }
+ break;
case Op_SubL:
assert(bt == T_LONG, "must be");
vopc = Op_SubReductionV;
break;
case Op_SubF:
< prev index next >