~ubuntu-branches/debian/sid/gcc-4.8/sid

« back to all changes in this revision

Viewing changes to .svn/pristine/26/2615d87368630274f110d316a296e8018bd7e8b5.svn-base

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2014-12-19 19:48:34 UTC
  • Revision ID: package-import@ubuntu.com-20141219194834-4dz1q7rrn5pad823
Tags: 4.8.4-1
* GCC 4.8.4 release.
  - Fix PR target/61407 (darwin), PR middle-end/58624 (ice),
    PR sanitizer/64265 (wrong code).
* Require recent binutils to pass go test failures.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# DP: Subject: [PATCH] remove -many on __SPE__ target
 
2
# DP: this helps to to detect opcodes which are not part of the current
 
3
# DP: CPU because without -many gas won't touch them. This currently could
 
4
# DP: break the kernel build as the 603 on steroids cpus use performance
 
5
# DP: counter opcodes which are not available on the steroid less 603 core.
 
6
 
 
7
--- a/src/gcc/config/rs6000/rs6000.h
 
8
+++ b/src/gcc/config/rs6000/rs6000.h
 
9
@@ -98,6 +98,12 @@
 
10
 #define ASM_CPU_476_SPEC "-mpower4"
 
11
 #endif
 
12
 
 
13
+#ifndef __SPE__
 
14
+#define ASM_CPU_SPU_MANY_NOT_SPE "-many"
 
15
+#else
 
16
+#define ASM_CPU_SPU_MANY_NOT_SPE
 
17
+#endif
 
18
+
 
19
 /* Common ASM definitions used by ASM_SPEC among the various targets for
 
20
    handling -mcpu=xxx switches.  There is a parallel list in driver-rs6000.c to
 
21
    provide the default assembler options if the user uses -mcpu=native, so if
 
22
@@ -170,7 +176,8 @@
 
23
 %{maltivec: -maltivec} \
 
24
 %{mvsx: -mvsx %{!maltivec: -maltivec} %{!mcpu*: %(asm_cpu_power7)}} \
 
25
 %{mpower8-vector|mcrypto|mdirect-move|mhtm: %{!mcpu*: %(asm_cpu_power8)}} \
 
26
--many"
 
27
+" \
 
28
+ASM_CPU_SPU_MANY_NOT_SPE
 
29
 
 
30
 #define CPP_DEFAULT_SPEC ""
 
31