]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/arm/arm.h
arm-cores.def (cortex-m7): Add flag FL_NO_VOLATILE_CE.
authorTerry Guo <terry.guo@arm.com>
Thu, 26 Feb 2015 04:03:22 +0000 (04:03 +0000)
committerXuepeng Guo <xguo@gcc.gnu.org>
Thu, 26 Feb 2015 04:03:22 +0000 (04:03 +0000)
commitafe006ad4deda8faeb9648913310c819aa250760
tree29ed4ec80774fd5f0bf585efeac1bd41e8f3a457
parentf2903bd861442c816bfcdeeffe2ae6d518c54783
arm-cores.def (cortex-m7): Add flag FL_NO_VOLATILE_CE.

gcc/
* config/arm/arm-cores.def (cortex-m7): Add flag FL_NO_VOLATILE_CE.
* config/arm/arm-protos.h (FL_NO_VOLATILE_CE): New flag.
(arm_arch_no_volatile_ce): Declare new global variable.
* config/arm/arm.c (arm_arch_no_volatile_ce): New global variable.
(arm_option_override): Assign value to arm_arch_no_volatile_ce.
* config/arm/arm.h (arm_arch_no_volatile_ce): Declare it.
(TARGET_NO_VOLATILE_CE): New macro.
* config/arm/arm.md (arm_comparison_operator): Disabled if not allow
volatile memory access in IT block

gcc/testsuite/
* gcc.target/arm/no-volatile-in-it.c: New test.

From-SVN: r220999
gcc/ChangeLog
gcc/config/arm/arm-cores.def
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c
gcc/config/arm/arm.h
gcc/config/arm/arm.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/no-volatile-in-it.c [new file with mode: 0644]