[llvm-commits] [llvm-gcc-4.2] r41177 - /llvm-gcc-4.2/trunk/gcc/config/i386/i386.c
Chris Lattner
sabre at nondot.org
Sun Aug 19 19:08:24 PDT 2007
Author: lattner
Date: Sun Aug 19 21:08:24 2007
New Revision: 41177
URL: http://llvm.org/viewvc/llvm-project?rev=41177&view=rev
Log:
Fix PR1222 by making the X86 backend use a valid MMX mode for MMX operands.
Modified:
llvm-gcc-4.2/trunk/gcc/config/i386/i386.c
Modified: llvm-gcc-4.2/trunk/gcc/config/i386/i386.c
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/i386.c?rev=41177&r1=41176&r2=41177&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/i386/i386.c (original)
+++ llvm-gcc-4.2/trunk/gcc/config/i386/i386.c Sun Aug 19 21:08:24 2007
@@ -20455,7 +20455,8 @@
else if (IDENTIFIER_POINTER (arg)[1] == 'x')
mode = SFmode;
else if (IDENTIFIER_POINTER (arg)[1] == 'm')
- mode = SFmode;
+ /* APPLE LOCAL llvm - Force MMX to use a vector mode: PR1222. */
+ mode = V2SImode;
if (mode != VOIDmode)
type = lang_hooks.types.type_for_mode (mode, 1);
More information about the llvm-commits
mailing list