mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-13 02:46:23 +00:00
According to BSPEC, put PLN & BFI1 to binaryop, put SUBB to binaryaccop
bspec: BFI1 should not access accumulator. PLN should not use accumulator as source. future work in gram.y: show warning if acc is used as dest for ADDC/SUBB/CMP/CMPN/SHL/BFI1.
This commit is contained in:
parent
74383f4db4
commit
bebe8179e1
@ -454,7 +454,8 @@ binaryinstruction:
|
|||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
binaryop: MUL | MAC | MACH | LINE | SAD2 | SADA2 | DP4 | DPH | DP3 | DP2 | SUBB
|
/* bspec: BFI1 should not access accumulator. */
|
||||||
|
binaryop: MUL | MAC | MACH | LINE | SAD2 | SADA2 | DP4 | DPH | DP3 | DP2 | PLN | BFI1
|
||||||
;
|
;
|
||||||
|
|
||||||
// Source operands can be accumulators
|
// Source operands can be accumulators
|
||||||
@ -492,8 +493,8 @@ binaryaccinstruction:
|
|||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
||||||
binaryaccop: AVG | ADD | SEL | AND | OR | XOR | SHR | SHL | ASR | CMP | CMPN | PLN
|
/* TODO: bspec says ADDC/SUBB/CMP/CMPN/SHL/BFI1 cannot use accumulator as dest. */
|
||||||
| ADDC | BFI1
|
binaryaccop: AVG | ADD | SEL | AND | OR | XOR | SHR | SHL | ASR | CMP | CMPN | ADDC | SUBB
|
||||||
;
|
;
|
||||||
|
|
||||||
trinaryop: MAD | LRP | BFE | BFI2
|
trinaryop: MAD | LRP | BFE | BFI2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user