aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCInstrInfo.td
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2005-11-26 22:39:34 +0000
committerNate Begeman <natebegeman@mac.com>2005-11-26 22:39:34 +0000
commit01595c52b32b8e40b87dd9d36753f8e972ab6f74 (patch)
treef3bf52b51e4abfcc06f1e2a0528eca7fea8c3106 /lib/Target/PowerPC/PPCInstrInfo.td
parentb0826529f87befb8424c437acbd1e61d6f383fc0 (diff)
downloadexternal_llvm-01595c52b32b8e40b87dd9d36753f8e972ab6f74.zip
external_llvm-01595c52b32b8e40b87dd9d36753f8e972ab6f74.tar.gz
external_llvm-01595c52b32b8e40b87dd9d36753f8e972ab6f74.tar.bz2
Small tweaks noticed while on the plane.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24492 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPCInstrInfo.td')
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.td7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/Target/PowerPC/PPCInstrInfo.td b/lib/Target/PowerPC/PPCInstrInfo.td
index af6fb0d..c755a98 100644
--- a/lib/Target/PowerPC/PPCInstrInfo.td
+++ b/lib/Target/PowerPC/PPCInstrInfo.td
@@ -464,9 +464,9 @@ def EXTSB : XForm_11<31, 954, (ops GPRC:$rA, GPRC:$rS),
def EXTSH : XForm_11<31, 922, (ops GPRC:$rA, GPRC:$rS),
"extsh $rA, $rS", IntGeneral,
[(set GPRC:$rA, (sext_inreg GPRC:$rS, i16))]>;
-def EXTSW : XForm_11<31, 986, (ops GPRC:$rA, GPRC:$rS),
- "extsw $rA, $rS", IntRotateD,
- []>, isPPC64;
+def EXTSW : XForm_11<31, 986, (ops G8RC:$rA, G8RC:$rS),
+ "extsw $rA, $rS", IntGeneral,
+ [(set G8RC:$rA, (sext_inreg G8RC:$rS, i32))]>, isPPC64;
def CMP : XForm_16<31, 0, (ops CRRC:$crD, i1imm:$long, GPRC:$rA, GPRC:$rB),
"cmp $crD, $long, $rA, $rB", IntCompare>;
def CMPL : XForm_16<31, 32, (ops CRRC:$crD, i1imm:$long, GPRC:$rA, GPRC:$rB),
@@ -794,7 +794,6 @@ def VXOR : VXForm_1<1220, (ops VRRC:$vD, VRRC:$vA, VRRC:$vB),
"vxor $vD, $vA, $vB", VecGeneral,
[]>;
-
//===----------------------------------------------------------------------===//
// PowerPC Instruction Patterns
//