Module: Mesa Branch: master Commit: 6db2e9fdb0a35e27e6fc86a1485918b78717a425 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6db2e9fdb0a35e27e6fc86a1485918b78717a425
Author: Vincent Lejeune <[email protected]> Date: Wed Aug 1 22:49:41 2012 +0200 radeon/llvm: Add a predicated JUMP instruction Signed-off-by: Tom Stellard <[email protected]> --- 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 6f2ab1f..1819742 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, _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
