Re: [PATCH v3 1/2] config/arm: strict use of -mcpu for supported CPUs

2025-02-11 Thread Thomas Monjalon
06/01/2025 19:31, Wathsala Vithanage: > Arm recommends using -mcpu over -march and march-extensions when the > compiler supports the target CPU (neoverse-n1 etc.). Arm build so far > has been an amalgam of -mcpu and -march. When march is in use, it has > been the case so far to silently fall back t

Re: [PATCH v3 1/2] config/arm: strict use of -mcpu for supported CPUs

2025-02-05 Thread Thomas Monjalon
06/01/2025 19:31, Wathsala Vithanage: > +'mcpu_generic_aarch32': { > +'march': 'armv8-a', > +'march_extensions': ['simd'], > +} > +'mcpu_thunderx2t99': { > +'march': 'armv8.1-a', > +'march_extensions': ['crc', 'crypto'] > +}, A comma is missing. I c

[PATCH v3 1/2] config/arm: strict use of -mcpu for supported CPUs

2025-01-06 Thread Wathsala Vithanage
Arm recommends using -mcpu over -march and march-extensions when the compiler supports the target CPU (neoverse-n1 etc.). Arm build so far has been an amalgam of -mcpu and -march. When march is in use, it has been the case so far to silently fall back to a downgraded march when the compiler does no

[PATCH v3 1/2] config/arm: strict use of -mcpu for supported CPUs

2024-11-29 Thread Wathsala Vithanage
Arm recommends using -mcpu over -march and march-extensions when the compiler supports the target CPU (neoverse-n1 etc.). Arm build so far has been an amalgam of -mcpu and -march. When march is in use, it has been the case so far to silently fall back to a downgraded march when the compiler does no