mbox series

[0/4] Updates for ARM tunings

Message ID 1706743783-10659-1-git-send-email-mark.hatle@kernel.crashing.org
Headers show
Series Updates for ARM tunings | expand

Message

Mark Hatle Jan. 31, 2024, 11:29 p.m. UTC
From: Mark Hatle <mark.hatle@amd.com>

cortexa78 missing seems to be an oversight.  It (according to wikipedia) is a
successor to the cortexa77 which already exists.  This was created by
copying the cortexa77 and changing it to be a78.  A test system was build to
verify no obvious issues with the toolchain.

The remaining three changes are related.  I've got a need for a cortex-r5 and
cortex-r52 that enables the hard-float calling convention (this might also
be useful to others with other cortex-r and maybe even cortex-m processors,
but I'm not in a position to know this outside of my specific need.)

tune-cortexr5 simply adds an hf variant that adds the callconvention-hard.
Since there is no armv7r-vfp3d16 w/ this, the package_arch list is more
limited then the regular r5.

tune-cortexr52 requires the change to feature-arm-vfp to allow the setting
when 'simd' is enabled (since we don't specify vfp or neon).  Otherwise
this follows the same convention as the r5 change.

Mark Hatle (4):
  tune-cortexa78.inc: Add cortexa78 tune, based on cortexa77
  feature-arm-vfp.inc: Allow hard-float on newer simd targets
  tune-cortexr5: Add hard-float variant
  tune-cortexr52: Add hard-float variant

 .../machine/include/arm/armv7r/tune-cortexr5.inc |  5 +++++
 .../include/arm/armv8-2a/tune-cortexa78.inc      | 16 ++++++++++++++++
 .../include/arm/armv8r/tune-cortexr52.inc        |  5 +++++
 .../conf/machine/include/arm/feature-arm-vfp.inc |  3 ++-
 4 files changed, 28 insertions(+), 1 deletion(-)
 create mode 100644 meta/conf/machine/include/arm/armv8-2a/tune-cortexa78.inc