Re: [PATCH] ARM: Prevent the compiler from using NEON registers

2021-08-16 Thread Andre Przywara
On Sun, 15 Aug 2021 22:14:37 -0500 Samuel Holland wrote: Hi, in general I think the patch makes sense, and we should use that option since we also specify -msoft-float. > For ARMv8-A, NEON is standard, It should be noted that the ARMv8-A architecture itself treats FP and AdvSIMD as optional, a

[PATCH] ARM: Prevent the compiler from using NEON registers

2021-08-15 Thread Samuel Holland
For ARMv8-A, NEON is standard, so the compiler can use it even when no special target flags are provided. For example, it can use stores from NEON registers to zero-initialize large structures. GCC 11 decides to do this inside the DRAM init code for the Allwinner H6, which breaks boot on that platf