projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8263408
)
radeon/llvm: Add a predicated JUMP instruction
author
Vincent Lejeune
<vljn@ovi.com>
Wed, 1 Aug 2012 20:49:41 +0000
(22:49 +0200)
committer
Tom Stellard
<thomas.stellard@amd.com>
Wed, 15 Aug 2012 21:07:13 +0000
(21:07 +0000)
Signed-off-by: Tom Stellard <thomas.stellard@amd.com>
src/gallium/drivers/radeon/R600Instructions.td
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/radeon/R600Instructions.td
b/src/gallium/drivers/radeon/R600Instructions.td
index 6f2ab1fab8fe6b0996ed548cb3008938ea30459a..18197420907332f6f9e0bf2d52eaa20f590f68c8 100644
(file)
--- 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,