]> git.pld-linux.org Git - packages/crossppc-gcc.git/commitdiff
- new fixes. auto/th/gcc-4_1_0-0_20051113r106863_1
authorPaweł Sikora <pluto@pld-linux.org>
Sun, 13 Nov 2005 14:25:11 +0000 (14:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    gcc-pr24669.patch -> 1.1

gcc-pr24669.patch [new file with mode: 0644]

diff --git a/gcc-pr24669.patch b/gcc-pr24669.patch
new file mode 100644 (file)
index 0000000..91bb743
--- /dev/null
@@ -0,0 +1,16 @@
+--- gcc/gcc/config/i386/i386.c      (revision 106482)
++++ gcc/gcc/config/i386/i386.c      (working copy)
+@@ -5396,8 +5396,12 @@
+   if (parts.index && GET_CODE (parts.index) == SUBREG)
+     parts.index = SUBREG_REG (parts.index);
+
++  /* Penalize displacements a bit.  */
++  if (parts.disp && parts.disp != const0_rtx)
++    cost++;
++
+   /* More complex memory references are better.  */
+-  if (parts.disp && parts.disp != const0_rtx)
++  if (parts.scale)
+     cost--;
+   if (parts.seg != SEG_DEFAULT)
+     cost--;
This page took 0.086549 seconds and 4 git commands to generate.