Skip to contentSkip to conversation

gcc-4.6: Adjust to match gcc 4.6.3 from OE-Core

PATCH In review Khem Raj 1 participant 2 messages Mar 6, 2012

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 gcc-4.6: Adjust to match gcc 4.6.3 from OE-Core

Update linaro patches

---
 .../gcc/gcc-4.6/linaro/fix_linaro_106872.patch     |   45 +
 .../gcc-4.6/linaro/gcc-4.6-linaro-r106740.patch    |  294 ---
 .../gcc-4.6/linaro/gcc-4.6-linaro-r106741.patch    |   50 +-
 .../gcc-4.6/linaro/gcc-4.6-linaro-r106827.patch    |  132 +-
 .../gcc-4.6/linaro/gcc-4.6-linaro-r106842.patch    |   59 +-
 .../gcc-4.6/linaro/gcc-4.6-linaro-r106854.patch    |  354 ---
 .../gcc-4.6/linaro/gcc-4.6-linaro-r106860.patch    |  104 +
 .../gcc-4.6/linaro/gcc-4.6-linaro-r106861.patch    |   76 +
 .../gcc-4.6/linaro/gcc-4.6-linaro-r106862.patch    |   45 +
 .../gcc-4.6/linaro/gcc-4.6-linaro-r106863.patch    |   47 +
 .../gcc-4.6/linaro/gcc-4.6-linaro-r106864.patch    |   63 +
 .../gcc-4.6/linaro/gcc-4.6-linaro-r106865.patch    |   25 +
 .../gcc-4.6/linaro/gcc-4.6-linaro-r106869.patch    | 2389 ++++++++++++++++++++
 .../gcc-4.6/linaro/gcc-4.6-linaro-r106870.patch    |   28 +
 .../gcc-4.6/linaro/gcc-4.6-linaro-r106872.patch    |  126 +
 .../gcc-4.6/linaro/gcc-4.6-linaro-r106873.patch    |   80 +
 .../gcc-4.6/linaro/gcc-4.6-linaro-r106874.patch    |   46 +
 .../gcc/gcc-4_6-branch-linaro-backports.inc        |   14 +-
 18 files changed, 3197 insertions(+), 780 deletions(-)
 create mode 100644 meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/fix_linaro_106872.patch
 delete mode 100644 meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106740.patch
 delete mode 100644 meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106854.patch
 create mode 100644 meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106860.patch
 create mode 100644 meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106861.patch
 create mode 100644 meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106862.patch
 create mode 100644 meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106863.patch
 create mode 100644 meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106864.patch
 create mode 100644 meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106865.patch
 create mode 100644 meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106869.patch
 create mode 100644 meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106870.patch
 create mode 100644 meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106872.patch
 create mode 100644 meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106873.patch
 create mode 100644 meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106874.patch
meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/fix_linaro_106872.patch new file +45 -0
new file mode 100644
index 0000000..ef33aff
@@ -0,0 +1,45 @@
+Index: gcc-4_6-branch/gcc/config/arm/arm.c
+===================================================================
+--- gcc-4_6-branch.orig/gcc/config/arm/arm.c	2012-03-05 17:14:09.901129286 -0800
++++ gcc-4_6-branch/gcc/config/arm/arm.c	2012-03-05 17:18:23.061141606 -0800
+@@ -17525,6 +17525,13 @@
+       }
+       return;
+ 
++    case 'v':
++      {
++        gcc_assert (GET_CODE (x) == CONST_DOUBLE);
++        fprintf (stream, "#%d", vfp3_const_double_for_fract_bits (x));
++        return;
++      }
++
+     /* Register specifier for vld1.16/vst1.16.  Translate the S register
+        number into a D register number and element index.  */
+     case 'z':
+@@ -24925,4 +24932,26 @@
+   return 4;
+ }
+ 
++int
++vfp3_const_double_for_fract_bits (rtx operand)
++{
++  REAL_VALUE_TYPE r0;
++  
++  if (GET_CODE (operand) != CONST_DOUBLE)
++    return 0;
++  
++  REAL_VALUE_FROM_CONST_DOUBLE (r0, operand);
++  if (exact_real_inverse (DFmode, &r0))
++    {
++      if (exact_real_truncate (DFmode, &r0))
++       {
++	 HOST_WIDE_INT value = real_to_integer (&r0);
++	 value = value & 0xffffffff;
++	 if ((value != 0) && ( (value & (value - 1)) == 0))
++	   return int_log2 (value);
++       }
++    }
++  return 0;
++}
++
+ #include "gt-arm.h"
meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106740.patch deleted +0 -294

294 lines not on this page · raw message

meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106741.patch +25 -25

173 lines not on this page · raw message

meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106827.patch +63 -69

261 lines not on this page · raw message

meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106842.patch +23 -36

103 lines not on this page · raw message

meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106854.patch deleted +0 -354

354 lines not on this page · raw message

meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106860.patch new file +104 -0

104 lines not on this page · raw message

meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106861.patch new file +76 -0

76 lines not on this page · raw message

meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106862.patch new file +45 -0

45 lines not on this page · raw message

meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106863.patch new file +47 -0

47 lines not on this page · raw message

meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106864.patch new file +63 -0

63 lines not on this page · raw message

meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106865.patch new file +25 -0
new file mode 100644
index 0000000..5b0735b
@@ -0,0 +1,25 @@
+2012-01-20  Ramana Radhakrishnan  <[email protected]>
+
+	Backport from mainline
+        2012-01-20  Ramana Radhakrishnan  <[email protected]>
+
+	PR target/51819
+	* config/arm/arm.c (arm_print_operand): Correct output of alignment
+	hints for neon loads and stores.
+
+=== modified file 'gcc/config/arm/arm.c'
+--- old/gcc/config/arm/arm.c	2012-01-23 00:06:27 +0000
++++ new/gcc/config/arm/arm.c	2012-01-23 18:54:21 +0000
+@@ -17463,9 +17463,9 @@
+ 	/* Only certain alignment specifiers are supported by the hardware.  */
+ 	if (memsize == 16 && (align % 32) == 0)
+ 	  align_bits = 256;
+-	else if ((memsize == 8 || memsize == 16) && (align % 16) == 0)
++	else if (memsize == 16 && (align % 16) == 0)
+ 	  align_bits = 128;
+-	else if ((align % 8) == 0)
++	else if (memsize >= 8 && (align % 8) == 0)
+ 	  align_bits = 64;
+ 	else
+ 	  align_bits = 0;
+
meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106869.patch new file +2389 -0

1,410 lines not on this page · raw message

meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106870.patch new file +28 -0
new file mode 100644
index 0000000..1a54484

Lines of this file are not shown. View the raw message.

meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106872.patch new file +126 -0

126 lines not on this page · raw message

meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106873.patch new file +80 -0

80 lines not on this page · raw message

meta-oe/recipes-devtools/gcc/gcc-4.6/linaro/gcc-4.6-linaro-r106874.patch new file +46 -0

46 lines not on this page · raw message

meta-oe/recipes-devtools/gcc/gcc-4_6-branch-linaro-backports.inc +12 -2
index e42aeea..90a857d 100644

Lines of this file are not shown. View the raw message.

The rest of this diff is not shown. View the raw message.

Signature · 1 line
1.7.5.4

Part of the diff is not shown here. View the raw message.