r243192 - in /trunk: gcc/ChangeLog gcc/config/a...

avieira@gcc.gnu.org avieira@gcc.gnu.org
Fri Dec 2 15:33:00 GMT 2016


Author: avieira
Date: Fri Dec  2 15:33:26 2016
New Revision: 243192

URL: https://gcc.gnu.org/viewcvs?rev=243192&root=gcc&view=rev
Log:
ARMv8-M Security Extension's cmse_nonsecure_call: use __gnu_cmse_nonsecure_call

    gcc/ChangeLog:
    2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
		Thomas Preud'homme  <thomas.preudhomme@arm.com>

	* config/arm/arm.c (detect_cmse_nonsecure_call): New.
	(cmse_nonsecure_call_clear_caller_saved): New.
	(arm_reorg): Use cmse_nonsecure_call_clear_caller_saved.
	(arm_function_ok_for_sibcall): Disable sibcalls for
	cmse_nonsecure_call.
	* config/arm/arm-protos.h (detect_cmse_nonsecure_call): New.
	* config/arm/arm.md (call): Handle cmse_nonsecure_entry.
	(call_value): Likewise.
	(nonsecure_call_internal): New.
	(nonsecure_call_value_internal): New.
	* config/arm/thumb1.md (*nonsecure_call_reg_thumb1_v5): New.
	(*nonsecure_call_value_reg_thumb1_v5): New.
	* config/arm/thumb2.md (*nonsecure_call_reg_thumb2): New.
	(*nonsecure_call_value_reg_thumb2): New.
	* config/arm/unspecs.md (UNSPEC_NONSECURE_MEM): New.

    libgcc/ChangeLog:
    2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
	       Thomas Preud'homme  <thomas.preudhomme@arm.com>

	* config/arm/cmse_nonsecure_call.S: New.
	* config/arm/t-arm: Compile cmse_nonsecure_call.S

    gcc/testsuite/ChangeLog:
    2016-12-02  Andre Vieira  <andre.simoesdiasvieira@arm.com>
		Thomas Preud'homme  <thomas.preudhomme@arm.com>

	* gcc.target/arm/cmse/cmse.exp: Run tests in mainline dir.
	* gcc.target/arm/cmse/cmse-9.c: Added some extra tests.
	* gcc.target/arm/cmse/cmse-14.c: New.
	* gcc.target/arm/cmse/baseline/bitfield-4.c: New.
	* gcc.target/arm/cmse/baseline/bitfield-5.c: New.
	* gcc.target/arm/cmse/baseline/bitfield-6.c: New.
	* gcc.target/arm/cmse/baseline/bitfield-7.c: New.
	* gcc.target/arm/cmse/baseline/bitfield-8.c: New.
	* gcc.target/arm/cmse/baseline/bitfield-9.c: New.
	* gcc.target/arm/cmse/baseline/bitfield-and-union-1.c: New.
	* gcc.target/arm/cmse/baseline/cmse-11.c: New.
	* gcc.target/arm/cmse/baseline/cmse-13.c: New.
	* gcc.target/arm/cmse/baseline/cmse-6.c: New.
	* gcc.target/arm/cmse/baseline/union-1.c: New.
	* gcc.target/arm/cmse/baseline/union-2.c: New.
	* gcc.target/arm/cmse/mainline/bitfield-4.c: New.
	* gcc.target/arm/cmse/mainline/bitfield-5.c: New.
	* gcc.target/arm/cmse/mainline/bitfield-6.c: New.
	* gcc.target/arm/cmse/mainline/bitfield-7.c: New.
	* gcc.target/arm/cmse/mainline/bitfield-8.c: New.
	* gcc.target/arm/cmse/mainline/bitfield-9.c: New.
	* gcc.target/arm/cmse/mainline/bitfield-and-union-1.c: New.
	* gcc.target/arm/cmse/mainline/union-1.c: New.
	* gcc.target/arm/cmse/mainline/union-2.c: New.
	* gcc.target/arm/cmse/mainline/hard-sp/cmse-13.c: New.
	* gcc.target/arm/cmse/mainline/hard-sp/cmse-7.c: New.
	* gcc.target/arm/cmse/mainline/hard-sp/cmse-8.c: New.
	* gcc.target/arm/cmse/mainline/hard/cmse-13.c: New.
	* gcc.target/arm/cmse/mainline/hard/cmse-7.c: New.
	* gcc.target/arm/cmse/mainline/hard/cmse-8.c: New.
	* gcc.target/arm/cmse/mainline/soft/cmse-13.c: New.
	* gcc.target/arm/cmse/mainline/soft/cmse-7.c: New.
	* gcc.target/arm/cmse/mainline/soft/cmse-8.c: New.
	* gcc.target/arm/cmse/mainline/softfp-sp/cmse-7.c: New.
	* gcc.target/arm/cmse/mainline/softfp-sp/cmse-8.c: New.
	* gcc.target/arm/cmse/mainline/softfp/cmse-13.c: New.
	* gcc.target/arm/cmse/mainline/softfp/cmse-7.c: New.
	* gcc.target/arm/cmse/mainline/softfp/cmse-8.c: New.


Added:
    trunk/gcc/testsuite/gcc.target/arm/cmse/baseline/bitfield-4.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/baseline/bitfield-5.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/baseline/bitfield-6.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/baseline/bitfield-7.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/baseline/bitfield-8.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/baseline/bitfield-9.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/baseline/bitfield-and-union-1.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/baseline/cmse-11.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/baseline/cmse-13.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/baseline/cmse-6.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/baseline/union-1.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/baseline/union-2.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/cmse-14.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/bitfield-4.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/bitfield-5.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/bitfield-6.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/bitfield-7.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/bitfield-8.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/bitfield-9.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/bitfield-and-union-1.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-13.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-7.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/hard-sp/cmse-8.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-13.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-7.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/hard/cmse-8.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/soft/cmse-13.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/soft/cmse-7.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/soft/cmse-8.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp-sp/cmse-7.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp-sp/cmse-8.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp/cmse-13.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp/cmse-7.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/softfp/cmse-8.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/union-1.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/mainline/union-2.c
    trunk/libgcc/config/arm/cmse_nonsecure_call.S
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/arm-protos.h
    trunk/gcc/config/arm/arm.c
    trunk/gcc/config/arm/arm.md
    trunk/gcc/config/arm/thumb1.md
    trunk/gcc/config/arm/thumb2.md
    trunk/gcc/config/arm/unspecs.md
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gcc.target/arm/cmse/cmse-9.c
    trunk/gcc/testsuite/gcc.target/arm/cmse/cmse.exp
    trunk/libgcc/ChangeLog
    trunk/libgcc/config/arm/t-arm



More information about the Gcc-cvs mailing list