diff options
author | Vincent Lejeune <[email protected]> | 2012-08-01 22:49:41 +0200 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-08-15 21:07:13 +0000 |
commit | 6db2e9fdb0a35e27e6fc86a1485918b78717a425 (patch) | |
tree | 1adfa3e53ee543bff9fd7f74003160acec980096 | |
parent | 8263408a91b6b3beb5af5de6bdc7e5d13197a268 (diff) |
radeon/llvm: Add a predicated JUMP instruction
Signed-off-by: Tom Stellard <[email protected]>
-rw-r--r-- | src/gallium/drivers/radeon/R600Instructions.td | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/R600Instructions.td b/src/gallium/drivers/radeon/R600Instructions.td index 6f2ab1fab8f..18197420907 100644 --- a/src/gallium/drivers/radeon/R600Instructions.td +++ b/src/gallium/drivers/radeon/R600Instructions.td @@ -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, |