Skip to content

Commit 8612d2e

Browse files
bcheng0127igcbot
authored andcommitted
Changes in code.
1 parent 2757a42 commit 8612d2e

File tree

3 files changed

+108
-172
lines changed

3 files changed

+108
-172
lines changed

visa/HWCaps.inc

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -463,19 +463,9 @@ G4_Type getMixModeType() const {
463463
// each flag register is 16-bit
464464
uint32_t getNumFlagRegisters(void) { return getPlatform() >= Xe_PVC ? 8 : 4; }
465465

466-
// each address register is 16 bits
467466
uint32_t getNumAddrRegisters() const {
468467
return 16;
469-
}
470-
471-
// each address register is 16 bits
472-
uint32_t getNumAddrRegistersInGRFSizeSWSB() const {
473-
if (hasMultipleALUPipes()) {
474-
return ((16 * G4_WSIZE) + numEltPerGRF<Type_UB>() - 1) / numEltPerGRF<Type_UB>();
475-
} else {
476-
return 0;
477-
}
478-
}
468+
}
479469

480470
uint32_t getNumScalarRegisters(void) {
481471
if (enableSendIndirect()) {
@@ -660,8 +650,6 @@ bool hasLongOperandTypeDepIssue() const {
660650

661651
bool hasFourALUPipes() const { return getPlatform() >= Xe_PVC; }
662652

663-
bool hasMultipleALUPipes() const { return hasThreeALUPipes() || hasFourALUPipes(); };
664-
665653
bool hasFiveALUPipes() const {
666654
return getPlatform() >= Xe2;
667655
}
@@ -743,6 +731,10 @@ bool hasWriteCombine() const {
743731
return getPlatform() >= Xe2;
744732
}
745733

734+
bool hasA0WARHWissue() {
735+
return getPlatform() >= Xe_XeHPSDV;
736+
}
737+
746738
bool hasFtoPackedHFMove() const { return getPlatform() >= Xe_DG2; }
747739

748740
bool hasGather4PO() const { return getPlatform() <= GENX_TGLLP; }

0 commit comments

Comments
 (0)