]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/config/arm/arm.md
gcc/ChangeLog
authorxguo <xguo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Nov 2013 06:41:20 +0000 (06:41 +0000)
committerxguo <xguo@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 25 Nov 2013 06:41:20 +0000 (06:41 +0000)
commit861033d5daa8c977326805754920f31641a9d5fe
treeb045e1d8d7d9e61ea7b8d4e8262360a69c3e0632
parentd67b9df554f0fcabc8b69cbf4123c5b01e233d92
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@205342 138bc75d-0d04-0410-961f-82ee72b054a4
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]