]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/arm/arm.h
invoke.texi (-mslow-flash-data): Document new option.
authorTerry Guo <terry.guo@arm.com>
Mon, 25 Nov 2013 06:41:20 +0000 (06:41 +0000)
committerXuepeng Guo <xguo@gcc.gnu.org>
Mon, 25 Nov 2013 06:41:20 +0000 (06:41 +0000)
commit02231c13506fcbd63be93bba1215211bcbd1024c
treeb045e1d8d7d9e61ea7b8d4e8262360a69c3e0632
parent36ef4e9d585a929f0423adc30c2076d6bb445c4a
invoke.texi (-mslow-flash-data): Document new option.

gcc/ChangeLog
2013-11-25  Terry Guo  <terry.guo@arm.com>

* doc/invoke.texi (-mslow-flash-data): Document new option.
* config/arm/arm.opt (mslow-flash-data): New option.
* config/arm/arm-protos.h (arm_max_const_double_inline_cost): Declare
it.
* config/arm/arm.h (TARGET_USE_MOVT): Always true when literal pools
are disabled.
(arm_disable_literal_pool): Declare it.
* config/arm/arm.c (arm_disable_literal_pool): New variable.
(arm_option_override): Handle new option.
(thumb2_legitimate_address_p): Don't allow symbol references when
literal pools are disabled.
(arm_max_const_double_inline_cost): New function.
* config/arm/arm.md (types.md): Include it before ...
(use_literal_pool): New attribute.
(enabled): Use new attribute.
(split pattern): Replace symbol+offset with MOVW/MOVT.

gcc/testsuite/ChangeLog
2013-11-25  Terry Guo  <terry.guo@arm.com>

* gcc.target/arm/thumb2-slow-flash-data.c: New.

From-SVN: r205342
gcc/ChangeLog
gcc/config/arm/arm-protos.h
gcc/config/arm/arm.c
gcc/config/arm/arm.h
gcc/config/arm/arm.md
gcc/config/arm/arm.opt
gcc/doc/invoke.texi
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/thumb2-slow-flash-data.c [new file with mode: 0644]