Hi,

The trunk patch to support new option -mslow-flash-data at revision 205342
is back ported to arm/embedded-4_8-branch. Tested with regression test and
no regressions.

BR,
Terry

gcc/ChangeLog:
2013-11-26  Terry Guo  <terry....@arm.com>

        Backport mainline r205342
        2013-11-25  Terry Guo  <terry....@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-26  Terry Guo  <terry....@arm.com>

        Backport mainline r205342
        2013-11-25  Terry Guo  <terry....@arm.com>

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


Reply via email to