From 5a6879466a432bd7d209251ce53c6695f1759cb7 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 17 Dec 2012 15:14:56 +0000 Subject: [PATCH] R600: enable S_*N2_* instructions MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit They seem to work fine. Patch by: Christian König Reviewed-by: Tom Stellard Tested-by: Michel Dänzer Signed-off-by: Christian König llvm-svn: 170343 --- llvm/lib/Target/R600/SIInstructions.td | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/lib/Target/R600/SIInstructions.td b/llvm/lib/Target/R600/SIInstructions.td index ea8de91..008652f 100644 --- a/llvm/lib/Target/R600/SIInstructions.td +++ b/llvm/lib/Target/R600/SIInstructions.td @@ -971,10 +971,10 @@ def S_OR_B32 : SOP2_32 <0x00000010, "S_OR_B32", []>; def S_OR_B64 : SOP2_64 <0x00000011, "S_OR_B64", []>; 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_ANDN2 <0x00000014, "S_ANDN2_B32", []>; -////def S_ANDN2_B64 : SOP2_ANDN2 <0x00000015, "S_ANDN2_B64", []>; -////def S_ORN2_B32 : SOP2_ORN2 <0x00000016, "S_ORN2_B32", []>; -////def S_ORN2_B64 : SOP2_ORN2 <0x00000017, "S_ORN2_B64", []>; +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", []>; +def S_ORN2_B64 : SOP2_64 <0x00000017, "S_ORN2_B64", []>; def S_NAND_B32 : SOP2_32 <0x00000018, "S_NAND_B32", []>; def S_NAND_B64 : SOP2_64 <0x00000019, "S_NAND_B64", []>; def S_NOR_B32 : SOP2_32 <0x0000001a, "S_NOR_B32", []>; -- 2.7.4