Skip to content

Commit 6ca9542

Browse files
committed
8337791: VectorAPI jtreg ABSMaskedByteMaxVectorTests crash with UseAVX=0 -XX:MaxVectorSize=8
1 parent 7cd3d7f commit 6ca9542

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/hotspot/cpu/x86/x86.ad

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3320,6 +3320,11 @@ bool Matcher::match_rule_supported_vector(int opcode, int vlen, BasicType bt) {
33203320
return false;
33213321
}
33223322
break;
3323+
case Op_VectorBlend:
3324+
if (UseAVX == 0 && MaxVectorSize < 16) {
3325+
return false;
3326+
}
3327+
break;
33233328
case Op_VectorTest:
33243329
if (UseSSE < 4) {
33253330
return false; // Implementation limitation

0 commit comments

Comments
 (0)