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] |
Hi there, This patch intends to prevent gcc from putting volatile memory access into IT block for target like cortex-m7. gcc/ChangeLog: 2015-02-12 Terry Guo <terry.guo@arm.com> * config/arm/arm.c (arm_tune_cortex_m7): New global variable. * config/arm/arm.h (TARGET_NO_VOLATILE_CE): New macro. (arm_tune_cortex_m7): Declare new global variable. * config/arm/arm.md (arm_comparison_operator): Disabled if not allow volatile memory access in IT block. gcc/testsuite/ChangeLog: 2015-02-12 Terry Guo <terry.guo@arm.com> * gcc.target/arm/cortex-m7-it-volatile.c: New test.
Attachment:
no-volatile-in-it-v4.txt
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |