This repository was archived by the owner on Nov 21, 2018. It is now read-only.
File tree 2 files changed +10
-4
lines changed 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -232,12 +232,18 @@ For targets: `powerpc-unknown-linux-gnu`
232
232
- Path and misc options > Patches origin = Bundled, then local
233
233
- Path and misc options > Local patch directory = /build/patches
234
234
- Target options > Target Architecture = powerpc
235
+ - Target options > Emit assembly for CPU = power4 -- (+)
236
+ - Target options > Tune for CPU = power6 -- (+)
235
237
- Operating System > Target OS = linux
236
238
- Operating System > Linux kernel version = 2.6.32.68 -- ~ RHEL6 kernel
237
239
- C-library > glibc version = 2.12.2 -- ~ RHEL6 glibc
238
240
- C compiler > gcc version = 4.9.3
241
+ - C compiler > Core gcc extra config = --with-cpu-32=power4 --with-cpu=default32 -- (+)
242
+ - C compiler > gcc extra config = --with-cpu-32=power4 --with-cpu=default32 -- (+)
239
243
- C compiler > C++ = ENABLE -- to cross compile LLVM
240
244
245
+ (+) These CPU options match the configuration of the toolchains in RHEL6.
246
+
241
247
## ` powerpc64-linux-gnu.config `
242
248
243
249
For targets: ` powerpc64-unknown-linux-gnu `
Original file line number Diff line number Diff line change @@ -101,8 +101,8 @@ CT_ARCH_SUPPORTS_WITH_FLOAT=y
101
101
CT_ARCH_DEFAULT_BE=y
102
102
CT_ARCH_DEFAULT_32=y
103
103
CT_ARCH_ABI=""
104
- CT_ARCH_CPU=""
105
- CT_ARCH_TUNE=""
104
+ CT_ARCH_CPU="power4 "
105
+ CT_ARCH_TUNE="power6 "
106
106
CT_ARCH_BE=y
107
107
# CT_ARCH_LE is not set
108
108
CT_ARCH_32=y
@@ -391,8 +391,8 @@ CT_CC_GCC_HAS_LIBSANITIZER=y
391
391
CT_CC_GCC_VERSION="4.9.3"
392
392
# CT_CC_LANG_FORTRAN is not set
393
393
CT_CC_GCC_ENABLE_CXX_FLAGS=""
394
- CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY=""
395
- CT_CC_GCC_EXTRA_CONFIG_ARRAY=""
394
+ CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="--with-cpu-32=power4 --with-cpu=default32 "
395
+ CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-cpu-32=power4 --with-cpu=default32 "
396
396
CT_CC_GCC_EXTRA_ENV_ARRAY=""
397
397
CT_CC_GCC_STATIC_LIBSTDCXX=y
398
398
# CT_CC_GCC_SYSTEM_ZLIB is not set
You can’t perform that action at this time.
0 commit comments