Mesa (master): radeon/llvm: Add a predicated JUMP instruction
Tom Stellard
tstellar at kemper.freedesktop.org
Wed Aug 15 21:21:25 UTC 2012
Module: Mesa
Branch: master
Commit: 6db2e9fdb0a35e27e6fc86a1485918b78717a425
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6db2e9fdb0a35e27e6fc86a1485918b78717a425
Author: Vincent Lejeune <vljn at ovi.com>
Date: Wed Aug 1 22:49:41 2012 +0200
radeon/llvm: Add a predicated JUMP instruction
Signed-off-by: Tom Stellard <thomas.stellard at amd.com>
---
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,
More information about the mesa-commit
mailing list