From: Vincent Lejeune Date: Wed, 1 Aug 2012 20:49:41 +0000 (+0200) Subject: radeon/llvm: Add a predicated JUMP instruction X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6db2e9fdb0a35e27e6fc86a1485918b78717a425;p=mesa.git radeon/llvm: Add a predicated JUMP instruction Signed-off-by: Tom Stellard --- 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 inst, dag ins, string asm, list pattern, InstrItinClass itin = VecALU> : InstR600