Commit graph

9 commits

Author SHA1 Message Date
heitbaum
bbcf591e66 aarch64: add TARGET_CPU option cortex-a73.cortex-a53
These are the cpus used in Odroid N2/N2+ and Khadas VIM3

A311D/S922X-B/S922X - cortex-a73.cortex-a53
2021-01-30 08:31:29 +00:00
Ian Leonard
148f1d563c arch.aarch64: don't attempt to use the LSE cpu feature
ARMv8.0-A cpus have an optional LSE feature. This is mandatory in
ARMv8.1-A. By default, gcc will attempt to build support for runtime
detection of the LSE feature on ARMv8.0-A. This causes build failures
when attempting to create a 64-bit userland.

Test packages for this failure include gdb and mesa. Errors manifest
as undefined references to "__aarch64_cas4_acq_rel" or
"__aarch64_swp4_acq_rel" at compile time.

Disable runtime detection to always use its fallback by adding
-mno-outline-atomics to cflags.

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
2020-09-07 17:44:43 +00:00
kszaq
07e83b2bca config: don't use mcpu switch for arm and aarch64
When compiling glibc for cortex-a9, the following errors appears:
cc1: error: switch -mcpu=cortex-a9 conflicts with -march=armv7-a switch [-Werror]

Using mcpu with march and mtune is not recommended and compiler emits
warnings/errors when mismatched.
2019-05-16 01:19:34 +02:00
Sascha Kuehndel (InuSasha)
58d7972dad
buildsystem: add -mtune to CFLAGS, to be in sync with LDFLAGS. Else segfault is triggered in lto build 2018-06-04 20:07:06 +02:00
MilhouseVH
4d0336e729 buildsystem: simd support (neon/mmx/sse/sse2) is a feature of CPU not project 2018-03-12 22:16:38 +00:00
kszaq
2398539cf8 aarch64: define CPU extensions project-wise
S905 does not support crypto extensions, while other aarch64 CPUs may implement them.
Solution: define CPU extensions project-wise.
2016-09-07 16:06:56 +02:00
zalaare
7a84cdc96f allow all current gcc aarch64 cpu's 2016-04-06 12:01:29 -04:00
zalaare
4e73d4c625 add big.LITTLE support for arm architectures 2016-04-06 10:19:45 -04:00
Lukas Rusak
0fec249b24 config/arch.aarch64: initial support 2016-03-01 00:49:53 +01:00