Skip to content

Commit e6c5b12

Browse files
fangliu2020igcbot
authored andcommitted
Support saturate for DIV with :df data type
Support saturate for DIV with :df data type
1 parent a7f20b1 commit e6c5b12

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

visa/IsaVerification.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1670,7 +1670,8 @@ void vISAVerifier::verifyInstructionArith(const CISA_INST *inst) {
16701670
break;
16711671
case ISA_DIV:
16721672
REPORT_INSTRUCTION(options,
1673-
dstType == ISA_TYPE_F || dstType == ISA_TYPE_HF,
1673+
dstType == ISA_TYPE_F || dstType == ISA_TYPE_HF ||
1674+
dstType == ISA_TYPE_DF,
16741675
"%s does not support saturation on integer types.",
16751676
ISA_Inst_Table[opcode].str);
16761677
default:

0 commit comments

Comments
 (0)