diff options
| author | Nicholas Piggin <[email protected]> | 2022-09-21 11:41:02 +1000 |
|---|---|---|
| committer | Michael Ellerman <[email protected]> | 2022-09-28 19:22:10 +1000 |
| commit | 58ec7f06b74e0d6e76c4110afce367c8b5f0837d (patch) | |
| tree | 6dba67f69d3106df93ec6df1103cfc92f9052bd4 /tools/perf/scripts/python | |
| parent | 9c7bfc2dc21e737e8e4a753630bce675e1e7c0ad (diff) | |
powerpc/64s: Fix GENERIC_CPU build flags for PPC970 / G5
Big-endian GENERIC_CPU supports 970, but builds with -mcpu=power5.
POWER5 is ISA v2.02 whereas 970 is v2.01 plus Altivec. 2.02 added
the popcntb instruction which a compiler might use.
Use -mcpu=power4.
Fixes: 471d7ff8b51b ("powerpc/64s: Remove POWER4 support")
Signed-off-by: Nicholas Piggin <[email protected]>
Reviewed-by: Segher Boessenkool <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions