Skip to content
This repository was archived by the owner on Nov 21, 2018. It is now read-only.

Commit d3b70aa

Browse files
committed
Set powerpc64 to power4/power6
1 parent 242a396 commit d3b70aa

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

slaves/linux-cross/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,12 +253,16 @@ For targets: `powerpc64-unknown-linux-gnu`
253253
- Path and misc options > Local patch directory = /build/patches
254254
- Target options > Target Architecture = powerpc
255255
- Target options > Bitness = 64-bit
256+
- Target options > Emit assembly for CPU = power4 -- (+)
257+
- Target options > Tune for CPU = power6 -- (+)
256258
- Operating System > Target OS = linux
257259
- Operating System > Linux kernel version = 2.6.32.68 -- ~RHEL6 kernel
258260
- C-library > glibc version = 2.12.2 -- ~RHEL6 glibc
259261
- C compiler > gcc version = 4.9.3
260262
- C compiler > C++ = ENABLE -- to cross compile LLVM
261263

264+
(+) These CPU options match the configuration of the toolchains in RHEL6.
265+
262266
## `s390x-linux-gnu.config`
263267

264268
For targets: `s390x-unknown-linux-gnu`

slaves/linux-cross/powerpc64-linux-gnu.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ CT_ARCH_SUPPORTS_WITH_FLOAT=y
101101
CT_ARCH_DEFAULT_BE=y
102102
CT_ARCH_DEFAULT_32=y
103103
CT_ARCH_ABI=""
104-
CT_ARCH_CPU=""
105-
CT_ARCH_TUNE=""
104+
CT_ARCH_CPU="power4"
105+
CT_ARCH_TUNE="power6"
106106
CT_ARCH_BE=y
107107
# CT_ARCH_LE is not set
108108
# CT_ARCH_32 is not set

0 commit comments

Comments
 (0)