diff --git a/gcc/config/arm/arm-cpus.in b/gcc/config/arm/arm-cpus.in index 0820ad74c2e75f209bf09ef598c23cdd6116d29d..281ec162db8c982128462d8efac2be1d21959cf7 100644 --- a/gcc/config/arm/arm-cpus.in +++ b/gcc/config/arm/arm-cpus.in @@ -114,9 +114,12 @@ define feature iwmmxt2 # Architecture rel 8.1. define feature armv8_1 -# Architecutre rel 8.2. +# Architecture rel 8.2. define feature armv8_2 +# Architecture rel 8.3. +define feature armv8_3 + # M-Profile security extensions. define feature cmse @@ -238,6 +241,7 @@ define fgroup ARMv7em ARMv7m armv7em define fgroup ARMv8a ARMv7ve armv8 define fgroup ARMv8_1a ARMv8a crc32 armv8_1 define fgroup ARMv8_2a ARMv8_1a armv8_2 +define fgroup ARMv8_3a ARMv8_2a armv8_3 define fgroup ARMv8m_base ARMv6m armv8 cmse tdiv define fgroup ARMv8m_main ARMv7m armv8 cmse define fgroup ARMv8r ARMv8a @@ -579,6 +583,20 @@ begin arch armv8.2-a option dotprod add FP_ARMv8 DOTPROD end arch armv8.2-a +begin arch armv8.3-a + tune for cortex-a53 + tune flags CO_PROC + base 8A + profile A + isa ARMv8_3a + option simd add FP_ARMv8 NEON + option fp16 add fp16 FP_ARMv8 NEON + option crypto add FP_ARMv8 CRYPTO + option nocrypto remove ALL_CRYPTO + option nofp remove ALL_FP + option dotprod add FP_ARMv8 DOTPROD +end arch armv8.3-a + begin arch armv8-m.base tune for cortex-m23 base 8M_BASE diff --git a/gcc/config/arm/arm-tables.opt b/gcc/config/arm/arm-tables.opt index 4e508b1555a77628ff6e7cfea39c98b87caa840a..f7937256cd79296ba33d109232bcf0d6f7b03917 100644 --- a/gcc/config/arm/arm-tables.opt +++ b/gcc/config/arm/arm-tables.opt @@ -452,19 +452,22 @@ EnumValue Enum(arm_arch) String(armv8.2-a) Value(28) EnumValue -Enum(arm_arch) String(armv8-m.base) Value(29) +Enum(arm_arch) String(armv8.3-a) Value(29) EnumValue -Enum(arm_arch) String(armv8-m.main) Value(30) +Enum(arm_arch) String(armv8-m.base) Value(30) EnumValue -Enum(arm_arch) String(armv8-r) Value(31) +Enum(arm_arch) String(armv8-m.main) Value(31) EnumValue -Enum(arm_arch) String(iwmmxt) Value(32) +Enum(arm_arch) String(armv8-r) Value(32) EnumValue -Enum(arm_arch) String(iwmmxt2) Value(33) +Enum(arm_arch) String(iwmmxt) Value(33) + +EnumValue +Enum(arm_arch) String(iwmmxt2) Value(34) Enum Name(arm_fpu) Type(enum fpu_type) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 2ef88e081f982f5619132cc33ce23c3fb542ae11..b03388080e7f14411468c4f4d39b82478255ef7e 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -15473,7 +15473,7 @@ Permissible names are: @samp{armv6}, @samp{armv6j}, @samp{armv6k}, @samp{armv6kz}, @samp{armv6t2}, @samp{armv6z}, @samp{armv6zk}, @samp{armv7}, @samp{armv7-a}, @samp{armv7ve}, -@samp{armv8-a}, @samp{armv8.1-a}, @samp{armv8.2-a}, +@samp{armv8-a}, @samp{armv8.1-a}, @samp{armv8.2-a}, @samp{armv8.3-a}, @samp{armv7-r}, @samp{armv8-r}, @samp{armv6-m}, @samp{armv6s-m},