mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 19:20:08 +01:00
radeon/llvm: Add a predicated JUMP instruction
Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
This commit is contained in:
parent
8263408a91
commit
6db2e9fdb0
1 changed files with 9 additions and 0 deletions
|
|
@ -121,6 +121,15 @@ def PRED_X : AMDGPUInst <(outs R600_Predicate_Bit:$dst),
|
|||
|
||||
|
||||
|
||||
let isTerminator = 1, isBranch = 1 in {
|
||||
def JUMP : InstR600 <0x10,
|
||||
(outs),
|
||||
(ins brtarget:$target, R600_Pred:$p),
|
||||
"JUMP $target ($p)",
|
||||
[], AnyALU
|
||||
>;
|
||||
}
|
||||
|
||||
class R600_REDUCTION <bits<32> inst, dag ins, string asm, list<dag> pattern,
|
||||
InstrItinClass itin = VecALU> :
|
||||
InstR600 <inst,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue