Skip to content

Commit 29d2efd

Browse files
vsemenov368igcbot
authored andcommitted
Add HF8 fcvt check
.
1 parent 2db6a20 commit 29d2efd

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

visa/IsaVerification.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1076,6 +1076,10 @@ void vISAVerifier::verifyInstructionMove(const CISA_INST *inst) {
10761076
VISA_Type dstType = getVectorOperandType(header, dst);
10771077
VISA_Type src0Type = getVectorOperandType(header, src0);
10781078

1079+
if (dstType == ISA_TYPE_B || src0Type == ISA_TYPE_B) {
1080+
REPORT_INSTRUCTION(options, irBuilder->getPlatform() >= Xe3,
1081+
"HF8 fcvt is not supported on the selected platform");
1082+
}
10791083

10801084
if (dstType == ISA_TYPE_UB) {
10811085
REPORT_INSTRUCTION(options, src0Type == ISA_TYPE_HF,

0 commit comments

Comments
 (0)