Age | Commit message (Collapse) | Author |
|
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@192487 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Backport from mainline
2012-08-17 Julian Brown <julian@codesourcery.com>
* Makefile.in (LIB2_DIVMOD_EXCEPTION_FLAGS): Default to
-fexceptions -fnon-call-exceptions if not defined.
($(lib2-divmod-o), $(lib2-divmod-s-o)): Use above.
* config/arm/t-bpabi (LIB2_DIVMOD_EXCEPTION_FLAGS): New.
* config.host (t-bpabi): Include it.
2011-11-18 Steve Ellcey <sje@cup.hp.com>
* Makefile.in (c_flags): Set to -fno-exceptions to build libunwind.
testsuite:
* gcc.target/arm/div64-unwinding.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@191818 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
PR target/45070
* config/arm/arm.c (thumb1_extra_regs_pushed): Handle return value of
size less than 4 bytes by using macro ARM_NUM_INTS.
(thumb1_unexpanded_epilogue): Use macro ARM_NUM_INTS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@191068 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Backport r181685 from mainline
2011-11-24 Jakub Jelinek <jakub@redhat.com>
PR bootstrap/50888
* prims.cc: Don't include ctype.h.
(c_isspace): Define.
(next_property_key, next_property_value): Use it instead
of isspace.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@189421 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@189065 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@188495 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@188493 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Backport r181256 from mainline
2011-11-10 Richard Guenther <rguenther@suse.de>
PR tree-optimization/51042
* tree-ssa-pre.c (phi_translate_1): Avoid recursing on
self-referential expressions. Refactor code to avoid duplication.
2011-06-12 Jiangning Liu <jiangning.liu@arm.com>
Backport r181256 from mainline
2011-11-10 Richard Guenther <rguenther@suse.de>
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@188433 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Backport r182839 from mainline
2012-01-03 Richard Guenther <rguenther@suse.de>
PR tree-optimization/51070
* tree-loop-distribution.c (generate_builtin): Do not replace
the loop with a builtin if the partition contains statements which
results are used outside of the loop.
(stmt_has_scalar_dependences_outside_loop): Properly handle calls.
2011-06-12 Jiangning Liu <jiangning.liu@arm.com>
Backport r182839 from mainline
2012-01-03 Richard Guenther <rguenther@suse.de>
PR tree-optimization/51070
* gcc.dg/torture/pr51070.c: New testcase.
* gcc.dg/torture/pr51070-2.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@188432 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Backport r182252 from mainline
2011-12-12 Eric Botcazou <ebotcazou@adacore.com>
PR tree-optimization/50569
* tree-sra.c (build_ref_for_model): Replicate a chain of
* COMPONENT_REFs
in the expression of MODEL instead of just the last one.
2011-06-12 Jiangning Liu <jiangning.liu@arm.com>
Backport r182252 from mainline
2011-12-12 Eric Botcazou <ebotcazou@adacore.com>
PR tree-optimization/50569
* gcc.c-torture/execute/20111212-1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@188431 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@188427 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/arm/t-armv6-m (cortex-m0plus): Use armv6-m lib for m0plus.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@188425 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Backport r182921 from mainline
2012-01-05 Jakub Jelinek <jakub@redhat.com>
PR middle-end/51768
* stmt.c (check_unique_operand_names): Don't ICE during error
reporting if i is from labels chain.
testsuite:
Backport r182921 from mainline
2012-01-05 Jakub Jelinek <jakub@redhat.com>
PR middle-end/51768
* c-c++-common/pr51768.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@188419 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2011-11-04 Eric Botcazou <ebotcazou@adacore.com>
PR c++/50608
* c-common.c (c_fully_fold_internal) <ADDR_EXPR>: Call fold_offsetof_1.
(fold_offsetof_1): Make global. Remove STOP_REF argument and adjust.
<INDIRECT_REF>: Return the argument.
<ARRAY_REF>: Remove special code for negative offset.
Call fold_build_pointer_plus instead of size_binop.
(fold_offsetof): Remove STOP_REF argument and adjust.
* c-common.h (fold_offsetof_1): Declare.
(fold_offsetof): Remove STOP_REF argument.
PR c++/50608
* c-parser.c (c_parser_postfix_expression) <RID_OFFSETOF>: Adjust call
to fold_offsetof.
* c-typeck.c (build_unary_op) <ADDR_EXPR>: Call fold_offsetof_1.
* g++.dg/other/offsetof7.C: New test.
PR c++/50608
* semantics.c (finish_offsetof): Adjust call to fold_offsetof.
* typeck.c (cp_build_addr_expr_1): Call fold_offsetof_1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@188418 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2011-10-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org>
PR target/50106
* config/arm/arm.c (thumb_unexpanded_epilogue): Handle return
reg size from 1-3.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@188416 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2011-09-30 Jakub Jelinek <jakub@redhat.com>
PR inline-asm/50571
* gimple-fold.c (fold_stmt_1) <case GIMPLE_ASM>: If
input constraints allow mem and not reg, pass true instead of
false as second argument to maybe_fold_reference.
* gcc.dg/pr50571.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@188415 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2011-09-26 Richard Guenther <rguenther@suse.de>
PR tree-optimization/50472
* tree-ssa-ccp.c (fold_const_aggregate_ref): Do not fold
volatile references.
PR tree-optimization/50472
* gcc.dg/torture/pr50472.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@188414 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Backport from mainline
2011-12-08 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/51466
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Also copy
TREE_SIDE_EFFECTS.
2011-11-28 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/50078
* tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Copy over
TREE_THIS_VOLATILE also from the old to new lhs resp. rhs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@188383 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Backport r184089,184180 from mainline
2012-02-10 Jan Hubicka <jh@suse.cz>
PR middle-end/48600
* predict.c (predict_paths_for_bb): Prevent looping.
(predict_paths_leading_to_edge, predict_paths_leading_to): Update.
2012-02-13 Jan Hubicka <jh@suse.cz>
PR middle-end/52214
* predict.c (predict_paths_for_bb): Fix thinko in prevoius patch.
Backport partly r181172 from mainline
2011-11-08 Michael Matz <matz@suse.de>
PR bootstrap/51969
* gengtype.c (write_field_root): Avoid out-of-scope access of newv.
testsuite:
Backport r184089 from mainline
2012-02-10 Jan Hubicka <jh@suse.cz>
PR middle-end/48600
* g++.dg/torture/pr48600.C: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@188381 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Backport r185903 from mainline
2012-03-28 Terry Guo <terry.guo@arm.com>
* testsuite/Makefile.am (TEST_GCC_EXEC_PREFIX): New.
* testsuite/Makefile.in: Regenerated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@188376 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Backport r184442 from mainline
2012-02-21 Richard Earnshaw <rearnsha@arm.com>
PR target/52294
* thumb2.md (thumb2_shiftsi3_short): Split register and
immediate shifts. For register shifts tie operands 0 and 1.
(peephole2 for above): Check that register-controlled shifts
have suitably tied operands.
Backport r183756 from mainline
2012-01-31 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* config/arm/thumb2.md (thumb2_mov_notscc): Use MVN for true
condition.
Backport r183349 from mainline
2012-01-20 Jakub Jelinek <jakub@redhat.com>
PR target/51915
* config/arm/arm.c (arm_count_output_move_double_insns): Call
output_move_double on a copy of operands array.
Backport r183095 from mainline
2012-01-11 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* config/arm/arm.md (mov_notscc): Use MVN for false condition.
Backport r182628 from mainline
2011-12-21 Richard Earnshaw <rearnsha@arm.com>
PR target/51643
* arm.c (arm_function_ok_for_sibcall): Use DECL_WEAK in previous
change.
Backport r182621 from mainline
2011-12-21 Richard Earnshaw <rearnsha@arm.com>
PR target/51643
* arm.c (arm_function_ok_for_sibcall): Don't try to tailcall a
weak function on bare-metal EABI targets.
Testsuite:
Backport r183349 from mainline
2012-01-20 Jakub Jelinek <jakub@redhat.com>
PR target/51915
* gcc.target/arm/pr51915.c: New test.
Backport r183095 from mainline
2012-01-11 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* gcc.c-torture/execute/20120110-1.c: New testcase.
Backport r182621 from mainline
2011-12-21 Richard Earnshaw <rearnsha@arm.com>
PR target/51643
* gcc.target/arm/sibcall-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@188332 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2012-06-08 Joey Ye <joey.ye@arm.com>
Backport r182014 from mainline.
2011-12-05 Kazu Hirata <kazu@codesourcery.com>
PR target/51408
* config/arm/arm.md (*minmax_arithsi): Always require the else
clause in the MINUS case.
Backport r181416 from mainline.
2011-11-16 Richard Earnshaw <rearnsha@arm.com>
Bernd Schmidt <bernds@coudesourcery.com>
Sebastian Huber <sebastian.huber@embedded-brains.de>
PR target/49641
* config/arm/arm.c (store_multiple_sequence): Avoid cases where
the base reg is stored iff compiling for Thumb1.
Backport r179980 from mainline.
2011-10-14 David Alan Gilbert <david.gilbert@linaro.org>
PR target/48126
* config/arm/arm.c (arm_output_sync_loop): Move label before barrier.
Backport r179979 from mainline.
2011-10-14 David Alan Gilbert <david.gilbert@linaro.org>
* config/arm/arm.h (TARGET_HAVE_DMB_MCR): MCR Not available in Thumb1.
Backport r179607 from mainline.
2011-10-06 Bernd Schmidt <bernds@codesourcery.com>
PR target/49049
* config/arm/arm.md (arm_subsi3_insn): Lose the last alternative.
Testsuites:
Backport r182014 from mainline
2011-12-05 Kazu Hirata <kazu@codesourcery.com>
PR target/51408
* gcc.dg/pr51408.c: New.
Backport r181416 from mainline
2011-11-16 Richard Earnshaw <rearnsha@arm.com>
Bernd Schmidt <bernds@coudesourcery.com>
Sebastian Huber <sebastian.huber@embedded-brains.de>
PR target/49641
* gcc.target/arm/pr49641.c: New test.
Backport r179607 from mainline
2011-10-06 Bernd Schmidt <bernds@codesourcery.com>
PR target/49049
* gcc.c-torture/compile/pr49049.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@188327 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2012-04-13 Terry Guo <terry.guo@arm.com>
* config/arm/arm-cores.def: Added core cortex-m0plus.
* config/arm/arm-tune.md: Regenerated.
* config/arm/arm-tables.opt: Regenerated.
* doc/invoke.texi: Added entry for cpu ARM cortex-m0plus.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@188301 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@185452 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@185408 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@185210 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2012-01-30 Bin Cheng <bin.cheng@arm.com>
PR target/51835
* config/arm/arm.c (arm_libcall_uses_aapcs_base): Use correct ABI
for __aeabi_d2iz/__aeabi_d2uiz with hard-float.
Backport from mainline.
2012-01-30 Bin Cheng <bin.cheng@arm.com>
PR target/51835
* gcc.target/arm/pr51835.c: New testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@184082 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Revert original fix and backport r182545, 182649 from mainline
Revert:
2011-11-18 Joey Ye <joey.ye@arm.com>
Port Bernd's fix to volatile bitfields
2010-12-02 Bernd Schmidt <bernds_cb1@t-online.de>
* expr.c (store_field): Avoid a direct store if the mode is larger
than the size of the bit field.
* stor-layout.c (layout_decl): If flag_strict_volatile_bitfields,
treat non-volatile bit fields like volatile ones.
* toplev.c (process_options): Disallow combination of
-fstrict-volatile-bitfields and ABI versions less than 2.
* config/arm/arm.c (arm_option_override): Don't enable
flag_strict_volatile_bitfields if the ABI version is less than 2.
Backport:
2011-12-20 Bernd Schmidt <bernds@codesourcery.com>
PR middle-end/51200
* expr.c (store_field): Avoid a direct store if the mode is larger
than the size of the bit field.
* stor-layout.c (layout_decl): If flag_strict_volatile_bitfields,
treat non-volatile bit fields like volatile ones.
* toplev.c (process_options): Disallow combination of
-fstrict-volatile-bitfields and ABI versions less than 2.
* config/arm/arm.c (arm_option_override): Don't enable
flag_strict_volatile_bitfields if the ABI version is less than 2.
* config/h8300/h8300.c (h8300_option_override): Likewise.
* config/rx/rx.c (rx_option_override): Likewise.
* config/m32c/m32c.c (m32c_option_override): Likewise.
* config/sh/sh.c (sh_option_override): Likewise.
2011-12-22 Joey Ye <joey.ye@arm.com>
* toplev.c (process_options): Fix typo.
testsute
2011-12-26 Joey Ye <joey.ye@arm.com>
Revert original fix and backport r182545, r182649 from mainline
Revert:
2011-11-23 Joey Ye <joey.ye@arm.com>
Apply restrict volatile bitfield test case.
2011-11-23 Joey Ye <joey.ye@arm.com>
* g++.dg/abi/bitfield12.C: Add option -fno-strict-volatile-bitfields.
Backport:
2011-12-20 Bernd Schmidt <bernds@codesourcery.com>
PR middle-end/51200
* gcc.target/arm/volatile-bitfields-4.c: New test.
* c-c++-common/abi-bf.c: New test.
2011-12-26 Joey Ye <joey.ye@arm.com>
PR middle-end/51200
* gcc.dg/volatile-bitfields-2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@182691 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/arm/t-arm-elf: Add softfp.
* config/arm/t-armv6s-m: Rename to ...
* config/arm/t-armv6-m: ... this.
* config/arm/t-armv7-m: Add more exceptions.
* config/arm/t-armv7e-m: Build Soft and Hard FP libraries.
* config/arm/t-armv7-r: New file to build thumb libraries for V7-R.
* config/arm/t-thumb1: Removed.
* config/arm/t-thumb2: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@181708 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@181652 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Test cases were missed in r181435.
Backport r178102 from mainline
2011-08-26 Jiangning Liu <jiangning.liu@arm.com>
* gcc.target/arm/thumb2-cond-cmp-1.c: New.
* gcc.target/arm/thumb2-cond-cmp-2.c: Likewise.
* gcc.target/arm/thumb2-cond-cmp-3.c: Likewise.
* gcc.target/arm/thumb2-cond-cmp-4.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@181651 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2010-12-02 Bernd Schmidt <bernds_cb1@t-online.de>
* expr.c (store_field): Avoid a direct store if the mode is larger
than the size of the bit field.
* stor-layout.c (layout_decl): If flag_strict_volatile_bitfields,
treat non-volatile bit fields like volatile ones.
testsuite:
2011-11-23 Joey Ye <joey.ye@arm.com>
* g++.dg/abi/bitfield12.C: Add option -fno-strict-volatile-bitfields.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@181650 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Backport r178102 from mainline
2011-08-26 Jiangning Liu <jiangning.liu@arm.com>
* config/arm/arm.md (*ior_scc_scc): Enable for Thumb2 as well.
(*ior_scc_scc_cmp): Likewise
(*and_scc_scc): Likewise.
(*and_scc_scc_cmp): Likewise.
(*and_scc_scc_nodom): Likewise.
(*cmp_ite0, *cmp_ite1, *cmp_and, *cmp_ior): Handle Thumb2.
Partially backport r172017 from mainline
2011-04-06 Wei Guozhi <carrot@google.com>
* config/arm/constraints.md (Py): New constraint.
testsuite:
2011-11-17 Jiangning Liu <jiangning.liu@arm.com>
Backport r178102 from mainline
2011-08-26 Jiangning Liu <jiangning.liu@arm.com>
* gcc.target/arm/thumb2-cond-cmp-1.c: New.
* gcc.target/arm/thumb2-cond-cmp-2.c: Likewise.
* gcc.target/arm/thumb2-cond-cmp-3.c: Likewise.
* gcc.target/arm/thumb2-cond-cmp-4.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@181435 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Backport r180964 from mainline
2011-11-04 Jiangning Liu <jiangning.liu@arm.com>
PR rtl-optimization/38644
* config/arm/arm.c (thumb1_expand_epilogue): Add memory barrier
for epilogue having stack adjustment.
testsuite:
2011-11-16 Jiangning Liu <jiangning.liu@arm.com>
Backport r180964 from mainline
2011-11-04 Jiangning Liu <jiangning.liu@arm.com>
PR rtl-optimization/38644
* gcc.target/arm/stack-red-zone.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@181406 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@181402 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/arm/t-thumb2: Use thumb2 version library for Cortex-R5.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@179792 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@179791 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Backport r179330 from mainline
2011-09-29 Jiangning Liu <jiangning.liu@arm.com>
* gcc/testsuite/gcc.dg/tree-ssa/predcom-1.c: Explicitly turn on
loop unroll and set max unroll times to 8.
* gcc/testsuite/gcc.dg/tree-ssa/predcom-2.c: Likewise.
* gcc/testsuite/gcc.dg/tree-ssa/predcom-3.c: Likewise.
* gcc/testsuite/gcc.dg/tree-ssa/predcom-4.c: Likewise.
* gcc/testsuite/gcc.dg/tree-ssa/predcom-5.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@179331 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@179328 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
with -mfix-cortex-m3-ldrd for Cortex-m3.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@179311 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Backport r175995 from mainline
2011-07-07 Janis Johnson <janisjo@codesourcery.com>
* gcc.c-torture/compile/pr46934.c: Move from gcc.target/arm.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@179310 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
* config/i386/i386.c (ix86_stack_using_red_zone): Change inline
to be extern.
(TARGET_STACK_USING_RED_ZONE): New.
* config/rs6000/rs6000.c (rs6000_stack_using_red_zone): New.
(TARGET_STACK_USING_RED_ZONE): New.
(offset_below_red_zone_p): Change to use new hook
TARGET_STACK_USING_RED_ZONE.
* doc/tm.texi (TARGET_STACK_USING_RED_ZONE): New.
* doc/tm.texi.in (TARGET_STACK_USING_RED_ZONE): New.
* sched-deps.c (sched_analyze_1): If the stack pointer is being
modified and stack red zone is not supported for ports, flush out
all memory references as they may become invalid if moved across
the stack adjustment.
* target.def (stack_using_red_zone): New.
* testsuite/gcc.target/arm/stack-red-zone.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@179307 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2011-05-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
* calls.c (emit_library_call_value_1): Invoke
promote_function_mode hook on libcall arguments.
* explow.c (promote_function_mode, promote_mode): Handle TYPE
argument being NULL.
* targhooks.c (default_promote_function_mode): Lisewise.
* config/s390/s390.c (s390_promote_function_mode): Likewise.
* config/sparc/sparc.c (sparc_promote_function_mode): Likewise.
* doc/tm.texi: Document that TYPE argument might be NULL.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@179306 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
No loop unroll for Os and option has higher priority.
* config/arm/arm-protos.h (unroll_loops): New.
(max_unroll_times): Removed.
* config/arm/arm.c (arm_default_unroll_times): Deleted.
(arm_cortex_m_unroll_times): Removed.
(arm_cortex_m_unroll_loops): New. Set flag_unroll_loops if
not set by users on command line.
(arm_slowmul_tune): Change arm_default_unroll_times to 0.
(arm_fastmul_tune, arm_xscale_tune, arm_9e_tune, arm_v6t2_tune,
arm_cortex_tune, arm_cortex_a9_tune, arm_fa726te_tune): Likewise.
(arm_cortex_v7m_tune): Change arm_cortex_m_unroll_times to
arm_cortex_m_unroll_loops.
(arm_cortex_v6m_tune): Likewise.
(arm_option_override): Change to set flag_unroll_loops and
max_unroll_times for optimization level >=2 and not for size.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@179239 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Backport r179236 from mainline
2011-09-27 Marcus Shawcroft <marcus.shawcroft@arm.com>
* libsupc++/tinfo.cc (type_info::operator==): Test __name instead
of name().
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@179237 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2011-09-21 Terry Guo <terry.guo@arm.com>
* gcc.target/arm/neon-thumb2-move.c: Skip the warning message
on arch conflict when testing case on targets other than armv7-a.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@179114 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2011-09-23 Terry Guo <terry.guo@arm.com>
* gcc.c-torture/execute/941014-1.x: Deleted.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@179113 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Backport r178852 from mainline
2011-09-14 Julian Brown <julian@codesourcery.com>
* config/arm/arm.c (arm_override_options): Add unaligned_access
support.
(arm_file_start): Emit attribute for unaligned access as appropriate.
* config/arm/arm.md (UNSPEC_UNALIGNED_LOAD)
(UNSPEC_UNALIGNED_STORE): Add constants for unspecs.
(insv, extzv): Add unaligned-access support.
(extv): Change to expander. Likewise.
(extzv_t1, extv_regsi): Add helpers.
(unaligned_loadsi, unaligned_loadhis, unaligned_loadhiu)
(unaligned_storesi, unaligned_storehi): New.
(*extv_reg): New (previous extv implementation).
* config/arm/arm.opt (munaligned_access): Add option.
* config/arm/constraints.md (Uw): New constraint.
* expmed.c (store_bit_field_1): Adjust bitfield numbering according
to size of access, not size of unit, when BITS_BIG_ENDIAN !=
BYTES_BIG_ENDIAN. Don't use bitfield accesses for
volatile accesses when -fstrict-volatile-bitfields is in effect.
(extract_bit_field_1): Likewise.
Backport r172697 from mainline
2011-04-19 Wei Guozhi <carrot@google.com>
PR target/47855
* config/arm/arm-protos.h (thumb1_legitimate_address_p): New prototype.
* config/arm/arm.c (thumb1_legitimate_address_p): Remove the static
linkage.
* config/arm/constraints.md (Uu): New constraint.
* config/arm/arm.md (*arm_movqi_insn): Compute attr "length".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@179077 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
2011-09-19 Ian Bolton <ian.bolton@arm.com>
* gcc.dg/20100906-1.c: Use -fno-short-enums option for
"target arm_eabi".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@179041 138bc75d-0d04-0410-961f-82ee72b054a4
|
|
Tune loop unrolling for cortex-m
* config/arm/arm-cores.def (cortex-m0): Change to new tune
cortex_v6m.
(cortex-m1): Likewise.
* config/arm/arm-protos.h (max_unroll_times): New.
* config/arm/arm.c (arm_default_unroll_times): New.
(arm_cortex_m_unroll_times): New.
(arm_cortex_v6m_tune): New.
(arm_slowmul_tune): Add max_unroll_times function pointer.
(arm_fastmul_tune, arm_xscale_tune, arm_9e_tune,
arm_v6t2_tune, arm_cortex_tune, arm_cortex_a9_tune,
arm_cortex_v7m_tune, arm_cortex_v6m_tune,
arm_fa726te_tune): Likewise.
(arm_option_override): Enable loop unroll for all all M class
Cores, if optimization level is >= 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/ARM/embedded-4_6-branch@179039 138bc75d-0d04-0410-961f-82ee72b054a4
|