Skip to content
Permalink
Browse files
8268289: build failure due to missing signed flag in x86 evcmpb instr…
…uction

Reviewed-by: vlivanov, jiefu
  • Loading branch information
Jatin Bhateja committed Jun 6, 2021
1 parent b05c40c commit 8abf36c6484bca20d1c31476f4d6f553aeeadb27
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/hotspot/cpu/x86/c2_MacroAssembler_x86.cpp
@@ -2144,19 +2144,19 @@ void C2_MacroAssembler::evpcmp(BasicType typ, KRegister kdmask, KRegister ksmask
switch(typ) {
case T_BYTE:
case T_BOOLEAN:
evpcmpb(kdmask, ksmask, src1, src2, comparison, vector_len);
evpcmpb(kdmask, ksmask, src1, src2, comparison, /*signed*/ true, vector_len);
break;
case T_SHORT:
case T_CHAR:
evpcmpw(kdmask, ksmask, src1, src2, comparison, vector_len);
evpcmpw(kdmask, ksmask, src1, src2, comparison, /*signed*/ true, vector_len);
break;
case T_INT:
case T_FLOAT:
evpcmpd(kdmask, ksmask, src1, src2, comparison, vector_len);
evpcmpd(kdmask, ksmask, src1, src2, comparison, /*signed*/ true, vector_len);
break;
case T_LONG:
case T_DOUBLE:
evpcmpq(kdmask, ksmask, src1, src2, comparison, vector_len);
evpcmpq(kdmask, ksmask, src1, src2, comparison, /*signed*/ true, vector_len);
break;
default:
assert(false,"Should not reach here.");

1 comment on commit 8abf36c

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 8abf36c Jun 6, 2021

Please sign in to comment.