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:
eaa87ba
)
Fix CodeGen/PowerPC/2007-03-24-cntlzd.ll
author
Chris Lattner
<sabre@nondot.org>
Sun, 25 Mar 2007 04:44:03 +0000
(
04:44
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Sun, 25 Mar 2007 04:44:03 +0000
(
04:44
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35329
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PPCInstr64Bit.td
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PPCInstr64Bit.td
b/lib/Target/PowerPC/PPCInstr64Bit.td
index
50c47fd
..
56070b2
100644
(file)
--- a/
lib/Target/PowerPC/PPCInstr64Bit.td
+++ b/
lib/Target/PowerPC/PPCInstr64Bit.td
@@
-273,7
+273,10
@@
def EXTSW_32_64 : XForm_11<31, 986, (ops G8RC:$rA, GPRC:$rS),
def SRADI : XSForm_1<31, 413, (ops G8RC:$rA, G8RC:$rS, u6imm:$SH),
"sradi $rA, $rS, $SH", IntRotateD,
[(set G8RC:$rA, (sra G8RC:$rS, (i32 imm:$SH)))]>, isPPC64;
-
+def CNTLZD : XForm_11<31, 58, (ops G8RC:$rA, G8RC:$rS),
+ "cntlzd $rA, $rS", IntGeneral,
+ [(set G8RC:$rA, (ctlz G8RC:$rS))]>;
+
def DIVD : XOForm_1<31, 489, 0, (ops G8RC:$rT, G8RC:$rA, G8RC:$rB),
"divd $rT, $rA, $rB", IntDivD,
[(set G8RC:$rT, (sdiv G8RC:$rA, G8RC:$rB))]>, isPPC64,