[PATCH, gcc/ARM] Add support for Cortex-M23

Thomas Preudhomme thomas.preudhomme@foss.arm.com
Wed Oct 26 16:42:00 GMT 2016


This patch adds support for the Cortex-M23 processor launched by ARM [1]. The 
patch adds support for the name and wires it up to the ARMv8-M Baseline 
architecture and arm_v6m_tune tuning parameters for the time being. It also 
updates documentation to mention this new processor.

[1] http://www.arm.com/products/processors/cortex-m/cortex-m23-processor.php

ChangeLog entry is as follows:

*** gcc/Changelog ***

2016-10-26  Thomas Preud'homme  <thomas.preudhomme@arm.com>

         * config/arm/arm-arches.def (armv8-m.base): Set Cortex-M23 as
         representative core for this architecture.
         * config/arm/arm-cores.def (cortex-m23): Define new processor.
         * config/arm/arm-tables.opt: Regenerate.
         * config/arm/arm-tune.md: Likewise.
         * config/arm/arm.c (arm_v6m_tune): Add Cortex-M23 to the list of cores
         this tuning parameters apply to in the comment.
         * config/arm/bpabi.h (BE8_LINK_SPEC): Add Cortex-M23 to the list of
         valid -mcpu options.
         * doc/invoke.texi (ARM Options): Document new Cortex-M23 processor.

Tested by building libgcc and libstdc++ for Cortex-M23 and running a hello world 
compiled for it.

Is this ok for master?

Best regards,

-------------- next part --------------
A non-text attachment was scrubbed...
Name: add_gcc_cortex-m23_support.patch
Type: text/x-patch
Size: 4907 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20161026/33812996/attachment.bin>

More information about the Gcc-patches mailing list