This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCHv2 1/8, GCC, V8M][arm-embedded] Add support for ARMv8-M's Security Extensions flag and intrinsics


Hi there,

Applied https://gcc.gnu.org/ml/gcc-patches/2015-12/msg02148.html on
embedded-5-branch using the included patch at revision r234582.


Cheers,
Andre

*** gcc ***
2016-03-30  Andre Vieira        <andre.simoesdiasvieira@arm.com>
            Thomas Preud'homme  <thomas.preudhomme@arm.com>

        * config.gcc (extra_headers): Added arm_cmse.h.
        * config/arm/arm-arches.def (armv8-m.base): Add FL_CMSE.
        (armv8-m.main): Likewise.
        (armv8-m.main+dsp): Likewise.
        * config/arm/arm-protos.h (arm_is_constant_pool_ref): Define
	FL_CMSE.
        * config/arm.c (arm_arch_cmse): New.
        (arm_option_override): New error for unsupported cmse target.
        * config/arm/arm.h (arm_arch_cmse): New.
        (arm_cpu_builtins): Added __ARM_FEATURE_CMSE macro.
        * config/arm/arm.opt (mcmse): New.
        * doc/invoke.texi (ARM Options): Add -mcmse.
        * doc/extend.texi (ACLE): Add CMSE.
        * config/arm/arm_cmse.h: New file.

*** libgcc ***
2016-03-30 Andre Vieira <andre.simoesdiasvieira@arm.com>
Thomas Preud'homme <thomas.preudhomme@arm.com>

 	* config/arm/cmse.c: Likewise.
 	* config/arm/t-arm (HAVE_CMSE): New.


*** gcc/testsuite ***
2016-03-30  Andre Vieira        <andre.simoesdiasvieira@arm.com>
            Thomas Preud'homme  <thomas.preudhomme@arm.com>

        * gcc.target/arm/cmse/cmse.exp: New.
        * gcc.target/arm/cmse/cmse-1.c: New.
        * gcc.target/arm/cmse/cmse-12.c: New.
        * lib/target-supports.exp
        (check_effective_target_arm_cmse_ok): New.

Attachment: diff6
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]