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.
7
--- a/src/gcc/config/rs6000/rs6000.h
8
+++ b/src/gcc/config/rs6000/rs6000.h
10
#define ASM_CPU_476_SPEC "-mpower4"
14
+#define ASM_CPU_SPU_MANY_NOT_SPE "-many"
16
+#define ASM_CPU_SPU_MANY_NOT_SPE
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
23
%{maltivec: -maltivec} \
24
%{mvsx: -mvsx %{!maltivec: -maltivec} %{!mcpu*: %(asm_cpu_power7)}} \
25
%{mpower8-vector|mcrypto|mdirect-move|mhtm: %{!mcpu*: %(asm_cpu_power8)}} \
28
+ASM_CPU_SPU_MANY_NOT_SPE
30
#define CPP_DEFAULT_SPEC ""