[llvm-branch-commits] [llvm-gcc-tag] r104285 - in /llvm-gcc-4.2/tags/Apple/llvmgcc42-2328.6: ./ gcc/config/i386/llvm-i386.cpp
Bill Wendling
isanbard at gmail.com
Thu May 20 14:56:49 PDT 2010
Author: void
Date: Thu May 20 16:56:49 2010
New Revision: 104285
URL: http://llvm.org/viewvc/llvm-project?rev=104285&view=rev
Log:
Creating llvmgcc42-2328.6 which is llvmgcc42-2328.5 + r103919.
Added:
llvm-gcc-4.2/tags/Apple/llvmgcc42-2328.6/ (props changed)
- copied from r104282, llvm-gcc-4.2/tags/Apple/llvmgcc42-2328.5/
Modified:
llvm-gcc-4.2/tags/Apple/llvmgcc42-2328.6/gcc/config/i386/llvm-i386.cpp
Propchange: llvm-gcc-4.2/tags/Apple/llvmgcc42-2328.6/
------------------------------------------------------------------------------
--- svn:mergeinfo (added)
+++ svn:mergeinfo Thu May 20 16:56:49 2010
@@ -0,0 +1,2 @@
+/llvm/trunk:100565
+/llvm-gcc-4.2/trunk:98728,98841,98893,99196,99305,99592-99593,99629,99670,99982,99984-99986,99988,99992-99993,99995,99997-99999,100035,100149,100303,100565,100624-100626,100712,100721,101090-101091,101199,101216,101304,101333,101804,101959,102139,102148,102433,102444,102506-102507,102511,102532,102561,102636,102648,103313
Modified: llvm-gcc-4.2/tags/Apple/llvmgcc42-2328.6/gcc/config/i386/llvm-i386.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/tags/Apple/llvmgcc42-2328.6/gcc/config/i386/llvm-i386.cpp?rev=104285&r1=104282&r2=104285&view=diff
==============================================================================
--- llvm-gcc-4.2/tags/Apple/llvmgcc42-2328.6/gcc/config/i386/llvm-i386.cpp (original)
+++ llvm-gcc-4.2/tags/Apple/llvmgcc42-2328.6/gcc/config/i386/llvm-i386.cpp Thu May 20 16:56:49 2010
@@ -661,7 +661,9 @@
}
case IX86_BUILTIN_PALIGNR128: {
if (ConstantInt *Elt = dyn_cast<ConstantInt>(Ops[2])) {
- unsigned shiftVal = cast<ConstantInt>(Ops[2])->getZExtValue();
+
+ // In the header we multiply by 8, correct that back now.
+ unsigned shiftVal = (cast<ConstantInt>(Ops[2])->getZExtValue())/8;
// If palignr is shifting the pair of input vectors less than 17 bytes,
// emit a shuffle instruction.
More information about the llvm-branch-commits
mailing list