diff options
author | Michel Danzer <michel.daenzer@amd.com> | 2013-08-16 16:19:31 +0000 |
---|---|---|
committer | Michel Danzer <michel.daenzer@amd.com> | 2013-08-16 16:19:31 +0000 |
commit | b89f197713737e8c93045eb4dbd9c1d7ab41acd4 (patch) | |
tree | a9bf0f1346108939937ca7b5915349a802d27853 /lib/Target/R600 | |
parent | ebd4eec5386e946dc80f4d80e803125af55c2a68 (diff) | |
download | external_llvm-b89f197713737e8c93045eb4dbd9c1d7ab41acd4.zip external_llvm-b89f197713737e8c93045eb4dbd9c1d7ab41acd4.tar.gz external_llvm-b89f197713737e8c93045eb4dbd9c1d7ab41acd4.tar.bz2 |
R600/SI: Add pattern for xor of i1
Fixes two recent piglit regressions with radeonsi.
Reviewed-by: Tom Stellard <thomas.stellard@amd.com>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188559 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/R600')
-rw-r--r-- | lib/Target/R600/SIInstructions.td | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/R600/SIInstructions.td b/lib/Target/R600/SIInstructions.td index 4eb3566..436a2cd 100644 --- a/lib/Target/R600/SIInstructions.td +++ b/lib/Target/R600/SIInstructions.td @@ -1144,7 +1144,9 @@ def : Pat < (S_OR_B64 $src0, $src1) >; def S_XOR_B32 : SOP2_32 <0x00000012, "S_XOR_B32", []>; -def S_XOR_B64 : SOP2_64 <0x00000013, "S_XOR_B64", []>; +def S_XOR_B64 : SOP2_64 <0x00000013, "S_XOR_B64", + [(set i1:$dst, (xor i1:$src0, i1:$src1))] +>; def S_ANDN2_B32 : SOP2_32 <0x00000014, "S_ANDN2_B32", []>; def S_ANDN2_B64 : SOP2_64 <0x00000015, "S_ANDN2_B64", []>; def S_ORN2_B32 : SOP2_32 <0x00000016, "S_ORN2_B32", []>; |