summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-06-18 15:09:02 +0000
committerChris Lattner <sabre@nondot.org>2003-06-18 15:09:02 +0000
commitd768c51f1bf8b170fb8750719a3297d45fff3a8c (patch)
tree62cb53d6f18ce983eff24d89a705b82f5d3b38e4 /llvm/lib
parent87b4f0765c23280d2826805cb8034f251ec5bd7c (diff)
downloadbcm5719-llvm-d768c51f1bf8b170fb8750719a3297d45fff3a8c.tar.gz
bcm5719-llvm-d768c51f1bf8b170fb8750719a3297d45fff3a8c.zip
These instructions really take three operands. This fixes some assertions
llvm-svn: 6765
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Sparc/SparcInstr.def4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/Sparc/SparcInstr.def b/llvm/lib/Target/Sparc/SparcInstr.def
index b537bc63d7d..0ccec7fb32e 100644
--- a/llvm/lib/Target/Sparc/SparcInstr.def
+++ b/llvm/lib/Target/Sparc/SparcInstr.def
@@ -526,8 +526,8 @@ I(RESTOREi, "restore", 3, 2, B12, true , 0, 1, SPARC_SINGLE, M_INT_FLAG | M_AR
// Read and Write CCR register from/to an int reg
I(RDCCR, "rd", 2, 2, 0, false, 0, 1, SPARC_SINGLE, M_INT_FLAG | M_CC_FLAG)
-I(WRCCRr, "wr", 2, 2, 0, false, 0, 1, SPARC_SINGLE, M_INT_FLAG | M_CC_FLAG)
-I(WRCCRi, "wr", 2, 2, 0, false, 0, 1, SPARC_SINGLE, M_INT_FLAG | M_CC_FLAG)
+I(WRCCRr, "wr", 3, 2, 0, false, 0, 1, SPARC_SINGLE, M_INT_FLAG | M_CC_FLAG)
+I(WRCCRi, "wr", 3, 2, 0, false, 0, 1, SPARC_SINGLE, M_INT_FLAG | M_CC_FLAG)
// Synthetic phi operation for near-SSA form of machine code
// Number of operands is variable, indicated by -1. Result is the first op.
OpenPOWER on IntegriCloud