Tom,
Please note that some GCC versions had a code-generation bug
when -mgeneral-regs-only was used (we hit this for a customer in
a vendor GCC we maintain):
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64304
Until everyone upgrades to a recently recent GCC (or until UBoot
enforces this next January), some people may hit hard-to-reproduce
issues.
A better way to suppress SIMD generation would be to use:
-march=armv8-a+nosimd
Regards,
Philipp.
> On 04 Jul 2017, at 15:32, Tom Rini <[email protected]> wrote:
>
> On Mon, Jul 03, 2017 at 09:14:07PM +0800, Peng Fan wrote:
>
>> Pass -mgeneral-regs-only to GCC, if not compiler may generate
>> instructions that use SIMD registers.
>>
>> Signed-off-by: Peng Fan <[email protected]>
>> Cc: Albert Aribaud <[email protected]>
>> Cc: Tom Rini <[email protected]>
>
> Reviewed-by: Tom Rini <[email protected]>
>
> --
> Tom
> _______________________________________________
> U-Boot mailing list
> [email protected]
> https://lists.denx.de/listinfo/u-boot
_______________________________________________
U-Boot mailing list
[email protected]
https://lists.denx.de/listinfo/u-boot