mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-24 16:26:13 +00:00
Explain the difference between binaryinstruction and binaryaccinstruction
Developers may add new instructions in wrong place in the future if they don't know the difference between binaryinstruction and binaryaccinstruction.
This commit is contained in:
parent
375d1fd7b2
commit
74383f4db4
@ -367,6 +367,8 @@ instrseq: instrseq pragma
|
||||
;
|
||||
|
||||
/* 1.4.1: Instruction groups */
|
||||
// binaryinstruction: Source operands cannot be accumulators
|
||||
// binaryaccinstruction: Source operands can be accumulators
|
||||
instruction: unaryinstruction
|
||||
| binaryinstruction
|
||||
| binaryaccinstruction
|
||||
@ -417,6 +419,7 @@ unaryop: MOV | FRC | RNDU | RNDD | RNDE | RNDZ | NOT | LZD | BFREV | CBIT
|
||||
| F16TO32 | F32TO16 | FBH | FBL
|
||||
;
|
||||
|
||||
// Source operands cannot be accumulators
|
||||
binaryinstruction:
|
||||
predicate binaryop conditionalmodifier saturate execsize
|
||||
dst src srcimm instoptions
|
||||
@ -454,6 +457,7 @@ binaryinstruction:
|
||||
binaryop: MUL | MAC | MACH | LINE | SAD2 | SADA2 | DP4 | DPH | DP3 | DP2 | SUBB
|
||||
;
|
||||
|
||||
// Source operands can be accumulators
|
||||
binaryaccinstruction:
|
||||
predicate binaryaccop conditionalmodifier saturate execsize
|
||||
dst srcacc srcimm instoptions
|
||||
|
Loading…
x
Reference in New Issue
Block a user