[llvm-commits] CVS: llvm/lib/Target/PowerPC/PPCJITInfo.cpp
Chris Lattner
sabre at nondot.org
Thu Dec 7 15:44:21 PST 2006
Changes in directory llvm/lib/Target/PowerPC:
PPCJITInfo.cpp updated: 1.31 -> 1.32
---
Log message:
fix incorrect encoding of rldicr, used by ppc64 function stubs, etc.
---
Diffs of the changes: (+1 -1)
PPCJITInfo.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Target/PowerPC/PPCJITInfo.cpp
diff -u llvm/lib/Target/PowerPC/PPCJITInfo.cpp:1.31 llvm/lib/Target/PowerPC/PPCJITInfo.cpp:1.32
--- llvm/lib/Target/PowerPC/PPCJITInfo.cpp:1.31 Thu Dec 7 16:21:48 2006
+++ llvm/lib/Target/PowerPC/PPCJITInfo.cpp Thu Dec 7 17:44:07 2006
@@ -30,7 +30,7 @@
((25 << 26) | ((RS) << 21) | ((RD) << 16) | ((UIMM16) & 65535))
#define BUILD_RLDICR(RD,RS,SH,ME) \
((30 << 26) | ((RS) << 21) | ((RD) << 16) | (((SH) & 31) << 11) | \
- (((ME) & 63) << 6) | (1 << 3) | (((SH) >> 5) & 1))
+ (((ME) & 63) << 6) | (1 << 2) | ((((SH) >> 5) & 1) << 1))
#define BUILD_MTSPR(RS,SPR) \
((31 << 26) | ((RS) << 21) | ((SPR) << 16) | (467 << 1))
#define BUILD_BCCTRx(BO,BI,LINK) \
More information about the llvm-commits
mailing list