OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86f7e67
)
R600/SI: Add pattern for logical or of i1 values.
author
Michel Danzer
<michel.daenzer@amd.com>
Fri, 22 Feb 2013 11:22:54 +0000
(11:22 +0000)
committer
Michel Danzer
<michel.daenzer@amd.com>
Fri, 22 Feb 2013 11:22:54 +0000
(11:22 +0000)
24 more little piglits with radeonsi.
NOTE: This is a candidate for the Mesa stable branch.
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175886
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/R600/SIInstructions.td
patch
|
blob
|
history
diff --git
a/lib/Target/R600/SIInstructions.td
b/lib/Target/R600/SIInstructions.td
index
b83276f
..
2e43f9e
100644
(file)
--- a/
lib/Target/R600/SIInstructions.td
+++ b/
lib/Target/R600/SIInstructions.td
@@
-942,6
+942,10
@@
def : Pat <
def S_OR_B32 : SOP2_32 <0x00000010, "S_OR_B32", []>;
def S_OR_B64 : SOP2_64 <0x00000011, "S_OR_B64", []>;
+def : Pat <
+ (i1 (or SSrc_64:$src0, SSrc_64:$src1)),
+ (S_OR_B64 SSrc_64:$src0, SSrc_64:$src1)
+>;
def S_XOR_B32 : SOP2_32 <0x00000012, "S_XOR_B32", []>;
def S_XOR_B64 : SOP2_64 <0x00000013, "S_XOR_B64", []>;
def S_ANDN2_B32 : SOP2_32 <0x00000014, "S_ANDN2_B32", []>;