yroux [Sun, 11 Jan 2015 18:50:35 +0000 (18:50 +0000)]
2015-01-11 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r211132.
2014-06-02 Tom de Vries <tom@codesourcery.com>
* config/aarch64/aarch64.c (aarch64_float_const_representable_p): Handle
case that x has VOIDmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@219435
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Sun, 11 Jan 2015 18:43:51 +0000 (18:43 +0000)]
gcc/ 2015-01-11 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r209620.
2014-04-22 Vidya Praveen <vidyapraveen@arm.com>
* aarch64.md (float<GPI:mode><GPF:mode>2): Remove.
(floatuns<GPI:mode><GPF:mode>2): Remove.
(<optab><fcvt_target><GPF:mode>2): New pattern for equal width float
and floatuns conversions.
(<optab><fcvt_iesize><GPF:mode>2): New pattern for inequal width float
and floatuns conversions.
* iterators.md (fcvt_target, FCVT_TARGET): Support SF and DF modes.
(w1,w2): New mode attributes for inequal width conversions.
gcc/testsuite/
2015-01-11 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r209620.
2014-04-22 Vidya Praveen <vidyapraveen@arm.com>
* gcc.target/aarch64/cvtf_1.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@219434
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Sun, 11 Jan 2015 18:36:42 +0000 (18:36 +0000)]
gcc/ 2015-01-11 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r217362, r217546.
2014-11-14 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
PR target/63724
* config/aarch64/aarch64.c (aarch64_expand_mov_immediate): Split out
numerical immediate handling to...
(aarch64_internal_mov_immediate): ...this. New.
(aarch64_rtx_costs): Use aarch64_internal_mov_immediate.
(aarch64_mov_operand_p): Relax predicate.
* config/aarch64/aarch64.md (mov<mode>:GPI): Do not expand CONST_INTs.
(*movsi_aarch64): Turn into define_insn_and_split and new alternative
for 'n'.
(*movdi_aarch64): Likewise.
2014-11-11 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64-simd.md
(aarch64_simd_bsl<mode>_internal): Remove float cases, canonicalize.
(aarch64_simd_bsl<mode>): Add gen_lowpart expressions where we
are punning between float vectors and integer vectors.
gcc/testsuite
2015-01-11 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r217362.
2014-11-11 James Greenhalgh <james.greenhalgh@arm.com>
* gcc.target/aarch64/vbslq_f64_1.c: New.
* gcc.target/aarch64/vbslq_f64_2.c: Likewise.
* gcc.target/aarch64/vbslq_u64_1.c: Likewise.
* gcc.target/aarch64/vbslq_u64_2.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@219433
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 11 Dec 2014 15:58:45 +0000 (15:58 +0000)]
Bump version number, post release.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218633
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 11 Dec 2014 15:55:25 +0000 (15:55 +0000)]
Make Linaro GCC 4.9-2014.12.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218631
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Fri, 5 Dec 2014 14:21:22 +0000 (14:21 +0000)]
Merge branches/gcc-4_9-branch rev 218412
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218423
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 19:43:18 +0000 (19:43 +0000)]
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r217079, r217080.
2014-11-04 Alan Lawrence <alan.lawrence@arm.com>
config/arm/neon.md (reduc_smin_<mode> *2): Rename to...
(reduc_smin_scal_<mode> *2): ...this; extract scalar result.
(reduc_smax_<mode> *2): Rename to...
(reduc_smax_scal_<mode> *2): ...this; extract scalar result.
(reduc_umin_<mode> *2): Rename to...
(reduc_umin_scal_<mode> *2): ...this; extract scalar result.
(reduc_umax_<mode> *2): Rename to...
(reduc_umax_scal_<mode> *2): ...this; extract scalar result.
2014-11-04 Alan Lawrence <alan.lawrence@arm.com>
config/arm/neon.md (reduc_plus_*): Rename to...
(reduc_plus_scal_*): ...this; reduce to temp and extract scalar result.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218398
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 19:38:42 +0000 (19:38 +0000)]
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Fix Backport from trunk r216524 (committed at r218379).
Add missing file: config/aarch64/aarch64-cost-tables.h
* config/aarch64/aarch64-cost-tables.h: New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218396
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 18:53:29 +0000 (18:53 +0000)]
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r217076.
2014-11-04 Michael Collison <michael.collison@linaro.org>
* config/aarch64/iterators.md (lconst_atomic): New mode attribute
to support constraints for CONST_INT in atomic operations.
* config/aarch64/atomics.md
(atomic_<atomic_optab><mode>): Use lconst_atomic constraint.
(atomic_nand<mode>): Likewise.
(atomic_fetch_<atomic_optab><mode>): Likewise.
(atomic_fetch_nand<mode>): Likewise.
(atomic_<atomic_optab>_fetch<mode>): Likewise.
(atomic_nand_fetch<mode>): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218394
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 18:28:12 +0000 (18:28 +0000)]
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r217026.
2014-11-03 Zhenqiang Chen <zhenqiang.chen@arm.com>
* ifcvt.c (noce_emit_cmove, noce_get_alt_condition, noce_get_condition):
Allow CC mode if HAVE_cbranchcc4.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218393
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 18:23:42 +0000 (18:23 +0000)]
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r217014.
2014-11-02 Michael Collison <michael.collison@linaro.org>
* config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO) : Update
to support vector modes.
(CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218391
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 18:19:01 +0000 (18:19 +0000)]
gcc/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r216996, r216998, r216999, r217001, r217002, r217003,
r217004, r217742.
2014-11-18 James Greenhalgh <james.greenhalgh@arm.com>
PR target/63937
* target.def (use_by_pieces_infrastructure_p): Take unsigned
HOST_WIDE_INT as the size parameter.
* targhooks.c (default_use_by_pieces_infrastructure_p): Likewise.
* targhooks.h (default_use_by_pieces_infrastructure_p): Likewise.
* config/arc/arc.c (arc_use_by_pieces_infrastructure_p)): Likewise.
* config/mips/mips.c (mips_use_by_pieces_infrastructure_p)): Likewise.
* config/s390/s390.c (s390_use_by_pieces_infrastructure_p)): Likewise.
* config/sh/sh.c (sh_use_by_pieces_infrastructure_p)): Likewise.
* config/aarch64/aarch64.c
(aarch64_use_by_pieces_infrastructure_p)): Likewise.
* doc/tm.texi: Regenerate.
2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
* doc/tm.texi.in (MOVE_BY_PIECES_P): Remove.
(CLEAR_BY_PIECES_P): Likewise.
(SET_BY_PIECES_P): Likewise.
(STORE_BY_PIECES_P): Likewise.
* doc/tm.texi: Regenerate.
* system.h: Poison MOVE_BY_PIECES_P, CLEAR_BY_PIECES_P,
SET_BY_PIECES_P, STORE_BY_PIECES_P.
* expr.c (MOVE_BY_PIECES_P): Remove.
(CLEAR_BY_PIECES_P): Likewise.
(SET_BY_PIECES_P): Likewise.
(STORE_BY_PIECES_P): Likewise.
(can_move_by_pieces): Rewrite in terms of
targetm.use_by_pieces_infrastructure_p.
(emit_block_move_hints): Likewise.
(can_store_by_pieces): Likewise.
(store_by_pieces): Likewise.
(clear_storage_hints): Likewise.
(emit_push_insn): Likewise.
(expand_constructor): Likewise.
2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64.c
(aarch64_use_by_pieces_infrastructre_p): New.
(TARGET_USE_BY_PIECES_INFRASTRUCTURE): Likewise.
* config/aarch64/aarch64.h (STORE_BY_PIECES_P): Delete.
2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
* config/mips/mips.h (MOVE_BY_PIECES_P): Remove.
(STORE_BY_PIECES_P): Likewise.
* config/mips/mips.c (TARGET_USE_BY_PIECES_INFRASTRUCTURE_P): New.
(mips_move_by_pieces_p): Rename to...
(mips_use_by_pieces_infrastructure_p): ...this, use new hook
parameters, use the default hook implementation as a
fall-back.
2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
* config/sh/sh.c (TARGET_USE_BY_PIECES_INFRASTRUCTURE_P): New.
(sh_use_by_pieces_infrastructure_p): Likewise.
* config/sh/sh.h (MOVE_BY_PIECES_P): Remove.
(STORE_BY_PIECES_P): Likewise.
(SET_BY_PIECES_P): Likewise.
2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
* config/arc/arc.c (TARGET_USE_BY_PIECES_INFRASTRUCTURE_P): New.
(arc_use_by_pieces_infrastructure_p): Likewise.
* confir/arc/arc.h (MOVE_BY_PIECES_P): Delete.
(CAN_MOVE_BY_PIECES): Likewise.
2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
* config/s390/s390.c (s390_use_by_pieces_infrastructure_p): New.
(TARGET_USE_BY_PIECES_INFRASTRUCTURE_P): Likewise.
* config/s390/s390.h (MOVE_BY_PIECES_P): Remove.
(CLEAR_BY_PIECES): Likewise.
(SET_BY_PIECES): Likewise.
(STORE_BY_PIECES): Likewise.
2014-11-01 James Greenhalgh <james.greenhalgh@arm.com>
* target.def (use_by_pieces_infrastructure_p): New.
* doc/tm.texi.in (MOVE_BY_PIECES_P): Describe that this macro
is deprecated.
(STORE_BY_PIECES_P): Likewise.
(CLEAR_BY_PIECES_P): Likewise.
(SET_BY_PIECES_P): Likewise.
(TARGET_MOVE_BY_PIECES_PROFITABLE_P): Add hook.
* doc/tm.texi: Regenerate.
* expr.c (MOVE_BY_PIECES_P): Rewrite in terms of
TARGET_USE_BY_PIECES_INFRASTRUCTURE_P.
(STORE_BY_PIECES_P): Likewise.
(CLEAR_BY_PIECES_P): Likewise.
(SET_BY_PIECES_P): Likewise.
(STORE_MAX_PIECES): Move to...
* defaults.h (STORE_MAX_PIECES): ...here.
* targhooks.c (get_move_ratio): New.
(default_use_by_pieces_infrastructure_p): Likewise.
* targhooks.h (default_use_by_pieces_infrastructure_p): New.
* target.h (by_pieces_operation): New.
gcc/testsuite/
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r217742.
2014-11-18 James Greenhalgh <james.greenhalgh@arm.com>
PR target/63937
* gcc.dg/memset-2.c: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218390
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 17:55:00 +0000 (17:55 +0000)]
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r216765.
2014-10-27 Jiong Wang <jiong.wang@arm.com>
PR target/63442
* optabs.c (prepare_cmp_insn): Use "ret_mode" instead of "word_mode".
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218387
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 17:50:39 +0000 (17:50 +0000)]
gcc/testsuite/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r216638.
2014-10-24 Christophe Lyon <christophe.lyon@linaro.org>
* lib/wrapper.exp ({tool}_maybe_build_wrapper): Clear
wrap_compile_flags before setting it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218386
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 17:46:32 +0000 (17:46 +0000)]
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r216630.
2014-10-24 Felix Yang <felix.yang@huawei.com>
Jiji Jiang <jiangjiji@huawei.com>
PR target/63173
* config/aarch64/arm_neon.h (__LD2R_FUNC): Remove macro.
(__LD3R_FUNC): Ditto.
(__LD4R_FUNC): Ditto.
(vld2_dup_s8, vld2_dup_s16, vld2_dup_s32, vld2_dup_f32, vld2_dup_f64,
vld2_dup_u8, vld2_dup_u16, vld2_dup_u32, vld2_dup_p8, vld2_dup_p16
vld2_dup_s64, vld2_dup_u64, vld2q_dup_s8, vld2q_dup_p8,
vld2q_dup_s16, vld2q_dup_p16, vld2q_dup_s32, vld2q_dup_s64,
vld2q_dup_u8, vld2q_dup_u16, vld2q_dup_u32, vld2q_dup_u64
vld2q_dup_f32, vld2q_dup_f64): Rewrite using builtin functions.
(vld3_dup_s64, vld3_dup_u64, vld3_dup_f64, vld3_dup_s8
vld3_dup_p8, vld3_dup_s16, vld3_dup_p16, vld3_dup_s32
vld3_dup_u8, vld3_dup_u16, vld3_dup_u32, vld3_dup_f32
vld3q_dup_s8, vld3q_dup_p8, vld3q_dup_s16, vld3q_dup_p16
vld3q_dup_s32, vld3q_dup_s64, vld3q_dup_u8, vld3q_dup_u16
vld3q_dup_u32, vld3q_dup_u64, vld3q_dup_f32, vld3q_dup_f64): Likewise.
(vld4_dup_s64, vld4_dup_u64, vld4_dup_f64, vld4_dup_s8
vld4_dup_p8, vld4_dup_s16, vld4_dup_p16, vld4_dup_s32
vld4_dup_u8, vld4_dup_u16, vld4_dup_u32, vld4_dup_f32
vld4q_dup_s8, vld4q_dup_p8, vld4q_dup_s16, vld4q_dup_p16
vld4q_dup_s32, vld4q_dup_s64, vld4q_dup_u8, vld4q_dup_u16
vld4q_dup_u32, vld4q_dup_u64, vld4q_dup_f32, vld4q_dup_f64): Likewise.
* config/aarch64/aarch64.md (define_c_enum "unspec"): Add
UNSPEC_LD2_DUP, UNSPEC_LD3_DUP, UNSPEC_LD4_DUP.
* config/aarch64/aarch64-simd-builtins.def (ld2r, ld3r, ld4r): New
builtins.
* config/aarch64/aarch64-simd.md (aarch64_simd_ld2r<mode>): New pattern.
(aarch64_simd_ld3r<mode>): Likewise.
(aarch64_simd_ld4r<mode>): Likewise.
(aarch64_ld2r<mode>): New expand.
(aarch64_ld3r<mode>): Likewise.
(aarch64_ld4r<mode>): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218385
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 17:41:16 +0000 (17:41 +0000)]
gcc/testsuite/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r216544.
2014-10-22 Jiong Wang <jiong.wang@arm.com>
* gcc.target/aarch64/pic-constantpool1.c: Add explicit declaration.
* gcc.target/aarch64/pic-symrefplus.c: Likewise.
* gcc.target/aarch64/reload-valid-spoff.c: Likewise.
* gcc.target/aarch64/vect.x: Likewise.
* gcc.target/aarch64/vect-ld1r.x: Add return type.
* gcc.target/aarch64/vect-fmax-fmin.c: Likewise.
* gcc.target/aarch64/vect-fp.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218384
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 17:33:17 +0000 (17:33 +0000)]
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r217971.
2014-11-22 Uros Bizjak <ubizjak@gmail.com>
* params.def (PARAM_MAX_COMPLETELY_PEELED_INSNS): Increase to 200.
* config/i386/i386.c (ix86_option_override_internal): Do not increase
PARAM_MAX_COMPLETELY_PEELED_INSNS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218383
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 16:04:04 +0000 (16:04 +0000)]
gcc/testsuite/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r216543.
2014-10-22 Jiong Wang <jiong.wang@arm.com>
* lib/compat.exp (compat-run): Remove "unresolved".
* lib/gcc-defs.exp (${tools}_check_compile): Update code logic for
unsupported testcase.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218380
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 15:58:59 +0000 (15:58 +0000)]
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r216524.
2014-10-21 Andrew Pinski <apinski@cavium.com>
* doc/invoke.texi (AARCH64/mtune): Document thunderx as an
available option also.
* config/aarch64/aarch64-cost-tables.h: New file.
* config/aarch64/aarch64-cores.def (thunderx): New core.
* config/aarch64/aarch64-tune.md: Regenerate.
* config/aarch64/aarch64.c: Include aarch64-cost-tables.h instead
of config/arm/aarch-cost-tables.h.
(thunderx_regmove_cost): New variable.
(thunderx_tunings): New variable.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218379
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 15:51:32 +0000 (15:51 +0000)]
gcc/testsuite/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r216517.
2014-10-21 Jiong Wang <jiong.wang@arm.com>
* gcc.target/arm/
20031108-1.c (Proc_7): Add explicit declaration.
(Proc_1): Add return type.
* gcc.target/arm/cold-lc.c (show_stack): Add explict declaration.
* gcc.target/arm/neon-modes-2.c (foo): Likewise.
* gcc.target/arm/pr43920-2.c (lseek): Likewise.
* gcc.target/arm/pr44788.c (foo): Likewise.
* gcc.target/arm/pr55642.c (abs): Likewise.
* gcc.target/arm/pr58784.c (f): Likewise.
* gcc.target/arm/pr60650.c (foo1, foo2): Likewise.
* gcc.target/arm/vfp-ldmdbs.c (bar): Likewise.
* gcc.target/arm/vfp-ldmias.c (bar): Likewise.
* gcc.target/arm/pr60650-2.c (fn1, fn2): Add return type and add type
for local variables.
* lib/target-supports.exp
(check_effective_target_arm_crypto_ok_nocache): Add declaration for
vaeseq_u8.
(check_effective_target_arm_neon_fp16_ok_nocache): Add declaration for
vcvt_f16_f32.
(check_effective_target_arm_neonv2_ok_nocache): Add declaration for
vfma_f32.
* gcc.target/arm/pr51968.c: Add -Wno-implicit-function-declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218378
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 15:36:54 +0000 (15:36 +0000)]
gcc/testsuite/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215071.
2014-09-09 Alan Lawrence <alan.lawrence@arm.com>
* gcc.target/aarch64/simd/int_comparisons_1.c: Tighten regexp.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218377
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 14:57:02 +0000 (14:57 +0000)]
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r216336.
2014-10-16 Richard Earnshaw <rearnsha@arm.com>
* config/aarch64/aarch64.c (aarch64_legitimize_address): New function.
(TARGET_LEGITIMIZE_ADDRESS): Redefine.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218375
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 14:52:46 +0000 (14:52 +0000)]
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r216253.
2014-10-15 Renlin Li <renlin.li@arm.com>
* config/aarch64/aarch64.h (ARM_DEFAULT_PCS, arm_pcs_variant): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218374
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 14:48:05 +0000 (14:48 +0000)]
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215865.
2014-10-03 Jing Yu <jingyu@google.com>
* configure.ac: Add aarch64 to list of targets that support gold.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218373
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 14:42:09 +0000 (14:42 +0000)]
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215711.
2014-09-30 Terry Guo <terry.guo@arm.com>
* config/arm/arm-cores.def (cortex-m7): New core name.
* config/arm/arm-fpus.def (fpv5-sp-d16): New fpu name.
(fpv5-d16): Ditto.
* config/arm/arm-tables.opt: Regenerated.
* config/arm/arm-tune.md: Regenerated.
* config/arm/arm.h (TARGET_VFP5): New macro.
* config/arm/bpabi.h (BE8_LINK_SPEC): Include cortex-m7.
* config/arm/vfp.md (<vrint_pattern><SDF:mode>2,
smax<mode>3, smin<mode>3): Enabled for FPU FPv5.
* doc/invoke.texi: Document new cpu and fpu names.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218371
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 14:37:03 +0000 (14:37 +0000)]
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215707, r215842.
2014-10-03 David Sherwood <david.sherwood@arm.com>
* ira-int.h (ira_allocno): Mark hard_regno as signed.
2014-09-30 David Sherwood <david.sherwood@arm.com>
* ira-int.h (ira_allocno): Add "wmode" field.
* ira-build.c (create_insn_allocnos): Add new "parent" function
parameter.
* ira-conflicts.c (ira_build_conflicts): Add conflicts for registers
that cannot be accessed in wmode.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218370
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 14:19:00 +0000 (14:19 +0000)]
gcc/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215540.
2014-09-24 Zhenqiang Chen <zhenqiang.chen@arm.com>
PR rtl-optimization/63210
* ira-color.c (assign_hard_reg): Ignore conflict cost if the
HARD_REGNO is not available for CONFLICT_A.
gcc/testsuite/
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215540.
2014-09-24 Zhenqiang Chen <zhenqiang.chen@arm.com>
* gcc.target/arm/pr63210.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218368
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 14:10:28 +0000 (14:10 +0000)]
gcc/testsuite/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215475.
2014-09-22 Alan Lawrence <alan.lawrence@arm.com>
* gcc.dg/vect/vect-reduc-or_1.c: New test.
* gcc.dg/vect/vect-reduc-or_2.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218367
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 14:07:03 +0000 (14:07 +0000)]
gcc/testsuite/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215473.
2014-09-22 Alan Lawrence <alan.lawrence@arm.com>
* lib/target-supports.exp (check_effective_target_whole_vector_shift):
New.
* gcc.dg/vect/vect-reduc-mul_1.c: New test.
* gcc.dg/vect/vect-reduc-mul_2.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218366
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 13:53:58 +0000 (13:53 +0000)]
gcc/testsuite/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215177.
2014-09-11 Alan Lawrence <alan.lawrence@arm.com>
* gcc.target/aarch64/vset_lane_1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218365
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 13:51:49 +0000 (13:51 +0000)]
gcc/testsuite/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215129.
2014-09-10 Alan Lawrence <alan.lawrence@arm.com>
* gcc.target/aarch64/vstN_1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218364
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 13:49:05 +0000 (13:49 +0000)]
gcc/testsuite/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215126.
2014-09-10 Alan Lawrence <alan.lawrence@arm.com>
* gcc.target/aarch64/vldN_lane_1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218363
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 13:45:33 +0000 (13:45 +0000)]
gcc/testsuite/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215078.
2014-09-09 Alan Lawrence <alan.lawrence@arm.com>
* gcc.target/aarch64/vldN_dup_1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218362
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 13:42:12 +0000 (13:42 +0000)]
gcc/testsuite/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215077.
2014-09-09 Alan Lawrence <alan.lawrence@arm.com>
* gcc.target/aarch64/vld1-vst1_1.c: Rewrite to test all variants.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218361
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 13:34:18 +0000 (13:34 +0000)]
gcc/testsuite/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215072.
2014-09-09 Alan Lawrence <alan.lawrence@arm.com>
* gcc.target/aarch64/vldN_1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218360
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 13:30:35 +0000 (13:30 +0000)]
gcc/testsuite/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215047.
2014-09-09 Tony Wang <tony.wang@arm.com>
* gcc.target/arm/xordi3-opt.c: Disable this
test case for thumb1 target.
* gcc.target/arm/iordi3-opt.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218359
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 13:25:10 +0000 (13:25 +0000)]
gcc/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215046.
2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR target/61749
* config/aarch64/aarch64-builtins.c (aarch64_types_quadop_qualifiers):
Use qualifier_immediate for last operand. Rename to...
(aarch64_types_ternop_lane_qualifiers): ... This.
(TYPES_QUADOP): Rename to...
(TYPES_TERNOP_LANE): ... This.
(aarch64_simd_expand_args): Return const0_rtx when encountering user
error. Change return of 0 to return of NULL_RTX.
(aarch64_crc32_expand_builtin): Likewise.
(aarch64_expand_builtin): Return NULL_RTX instead of 0.
ICE when expanding unknown builtin.
* config/aarch64/aarch64-simd-builtins.def (sqdmlal_lane): Use
TERNOP_LANE qualifiers.
(sqdmlsl_lane): Likewise.
(sqdmlal_laneq): Likewise.
(sqdmlsl_laneq): Likewise.
(sqdmlal2_lane): Likewise.
(sqdmlsl2_lane): Likewise.
(sqdmlal2_laneq): Likewise.
(sqdmlsl2_laneq): Likewise.
gcc/testsuite/
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215046.
2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR target/61749
* gcc.target/aarch64/vqdml_lane_intrinsics-bad_1.c: New test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218358
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 13:07:17 +0000 (13:07 +0000)]
gcc/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215013.
2014-09-08 Joseph Myers <joseph@codesourcery.com>
* defaults.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO):
Remove.
* doc/tm.texi.in (ROUND_TOWARDS_ZERO, LARGEST_EXPONENT_IS_NORMAL):
Remove.
* doc/tm.texi: Regenerate.
* system.h (LARGEST_EXPONENT_IS_NORMAL, ROUND_TOWARDS_ZERO):
Poison.
* config/arm/arm.h (LARGEST_EXPONENT_IS_NORMAL): Remove.
* config/cris/cris.h (__make_dp): Remove.
libgcc/
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215013.
2014-09-08 Joseph Myers <joseph@codesourcery.com>
* fp-bit.c (pack_d, unpack_d): Remove LARGEST_EXPONENT_IS_NORMAL
and ROUND_TOWARDS_ZERO conditionals.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218357
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 12:54:40 +0000 (12:54 +0000)]
gcc/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r214952.
2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
* config/aarch64/arm_neon.h (__GET_HIGH): New macro.
(vget_high_f32, vget_high_f64, vget_high_p8, vget_high_p16,
vget_high_s8, vget_high_s16, vget_high_s32, vget_high_s64,
vget_high_u8, vget_high_u16, vget_high_u32, vget_high_u64):
Remove temporary __asm__ and reimplement.
gcc/testsuite
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r214950.
2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
* gcc.target/aarch64/vget_high_1.c: New test.
* gcc.target/aarch64/vget_low_1.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218356
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 12:47:44 +0000 (12:47 +0000)]
gcc/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r214948, r214949.
2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
* config/aarch64/aarch64-builtins.c (aarch64_fold_builtin): Remove code
handling cmge, cmgt, cmeq, cmtst.
* config/aarch64/aarch64-simd-builtins.def (cmeq, cmge, cmgt, cmle,
cmlt, cmgeu, cmgtu, cmtst): Remove.
* config/aarch64/arm_neon.h (vceq_*, vceqq_*, vceqz_*, vceqzq_*,
vcge_*, vcgeq_*, vcgez_*, vcgezq_*, vcgt_*, vcgtq_*, vcgtz_*,
vcgtzq_*, vcle_*, vcleq_*, vclez_*, vclezq_*, vclt_*, vcltq_*,
vcltz_*, vcltzq_*, vtst_*, vtstq_*): Use gcc vector extensions.
2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
* config/aarch64/aarch64-builtins.c (aarch64_types_cmtst_qualifiers,
TYPES_TST): Define.
(aarch64_fold_builtin): Update pattern for cmtst.
* config/aarch64/aarch64-protos.h (aarch64_const_vec_all_same_int_p):
Declare.
* config/aarch64/aarch64-simd-builtins.def (cmtst): Update qualifiers.
* config/aarch64/aarch64-simd.md (aarch64_vcond_internal<mode><mode>):
Switch operands, separate out more cases, refactor.
(aarch64_cmtst<mode>): Rewrite pattern to match (plus ... -1).
* config/aarch64.c (aarch64_const_vec_all_same_int_p): Take single
argument; rename old version to...
(aarch64_const_vec_all_same_in_range_p): ...this.
(aarch64_print_operand, aarch64_simd_shift_imm_p): Follow renaming.
* config/aarch64/predicates.md (aarch64_simd_imm_minus_one): Define.
gcc/testsuite
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r214948.
2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
* gcc.target/aarch64/simd/int_comparisons.x: New file.
* gcc.target/aarch64/simd/int_comparisons_1.c: New test.
* gcc.target/aarch64/simd/int_comparisons_2.c: Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218355
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 12:36:50 +0000 (12:36 +0000)]
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r214008.
2014-08-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/aarch64/aarch64.c (aarch64_expand_mov_immediate): Move
one_match > zero_match case to just before simple_sequence.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218354
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 12:16:13 +0000 (12:16 +0000)]
gcc/ 2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r213382.
2014-07-31 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/arm_neon.h (vpadd_<suf><8,16,32,64>): Move to
correct alphabetical position.
(vpaddd_f64): Rewrite using builtins.
(vpaddd_s64): Move to correct alphabetical position.
(vpaddd_u64): New.
gcc/testsuite/
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r213382.
2014-07-31 James Greenhalgh <james.greenhalgh@arm.com>
* gcc.target/aarch64/scalar_intrinsics.c (test_vpaddd_f64): New.
(test_vpaddd_s64): Likewise.
(test_vpaddd_s64): Likewise.
* gcc.target/aarch64/simd/vpaddd_f64: New.
* gcc.target/aarch64/simd/vpaddd_s64: New.
* gcc.target/aarch64/simd/vpaddd_u64: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218352
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 12:05:15 +0000 (12:05 +0000)]
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r210735, r215206, r215207, r215208.
2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
* gcc/config/aarch64/aarch64.c (cortexa57_regmove_cost): New cost table
for A57.
(cortexa53_regmove_cost): New cost table for A53. Increase GP2FP/FP2GP
cost to spilling from integer to FP registers.
2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
* config/aarch64/aarch64.c (aarch64_register_move_cost): Fix Q register
move handling.
(generic_regmove_cost): Undo raised FP2FP move cost as Q register moves
are now handled correctly.
2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
* config/aarch64/aarch64.c (aarch64_register_move_cost): Add cost
handling of CALLER_SAVE_REGS and POINTER_REGS.
2014-05-22 Kugan Vivekanandarajah <kuganv@linaro.org>
* config/aarch64/aarch64.c (aarch64_regno_regclass) : Change CORE_REGS
to GENERAL_REGS.
(aarch64_secondary_reload) : LikeWise.
(aarch64_class_max_nregs) : Remove CORE_REGS.
* config/aarch64/aarch64.h (enum reg_class) : Remove CORE_REGS.
(REG_CLASS_NAMES) : Likewise.
(REG_CLASS_CONTENTS) : LikeWise.
(INDEX_REG_CLASS) : Change CORE_REGS to GENERAL_REGS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218351
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 4 Dec 2014 11:55:39 +0000 (11:55 +0000)]
2014-12-04 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r216444.
2014-10-19 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
* testsuite/lib/libstdc++.exp (v3-copy-file): New proc split from ...
(v3-copy-files): ... this. Update.
(check_v3_target_fileio): Fix race on cin_unget-1.txt file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@218350
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Fri, 14 Nov 2014 15:41:15 +0000 (15:41 +0000)]
Bump version number, post release.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@217567
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Fri, 14 Nov 2014 15:35:24 +0000 (15:35 +0000)]
Make Linaro GCC 4.9-2014.11.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@217563
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Fri, 14 Nov 2014 09:07:17 +0000 (09:07 +0000)]
2014-11-14 Yvan Roux <yvan.roux@linaro.org>
Add Linaro release macros (Linaro only patch.)
* Makefile.in (LINAROVER, LINAROVER_C, LINAROVER_S): Define.
(CFLAGS-cppbuiltin.o): Add LINAROVER macro definition.
(cppbuiltin.o): Depend on $(LINAROVER).
* cppbuiltin.c (parse_linarover): New.
(define_GNUC__): Define __LINARO_RELEASE__ and __LINARO_SPIN__ macros.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@217544
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 13 Nov 2014 14:00:48 +0000 (14:00 +0000)]
2014-11-13 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r216229, r216230.
2014-10-14 Andrew Pinski <apinski@cavium.com>
* explow.c (convert_memory_address_addr_space): Rename to ...
(convert_memory_address_addr_space_1): This. Add in_const argument.
Inside a CONST RTL, permute the conversion and addition of constant
for zero and sign extended pointers.
(convert_memory_address_addr_space): New function.
2014-10-14 Andrew Pinski <apinski@cavium.com>
Revert:
2011-08-19 H.J. Lu <hongjiu.lu@intel.com>
PR middle-end/49721
* explow.c (convert_memory_address_addr_space): Also permute the
conversion and addition of constant for zero-extend.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@217497
138bc75d-0d04-0410-961f-
82ee72b054a4
clyon [Mon, 3 Nov 2014 15:16:44 +0000 (15:16 +0000)]
Merge branches/gcc-4_9-branch rev 216979
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@217045
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Fri, 24 Oct 2014 11:21:54 +0000 (11:21 +0000)]
Bump version number, post release.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@216636
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Fri, 24 Oct 2014 11:16:21 +0000 (11:16 +0000)]
Make Linaro GCC 4.9-2014.10-1.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@216634
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Fri, 24 Oct 2014 07:50:18 +0000 (07:50 +0000)]
Fix broken merge branches/gcc-4_9-branch rev 216130
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@216616
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Fri, 17 Oct 2014 10:38:24 +0000 (10:38 +0000)]
Bump version number, post release.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@216390
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Fri, 17 Oct 2014 10:35:01 +0000 (10:35 +0000)]
Make Linaro GCC 4.9-2014.10.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@216388
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Wed, 15 Oct 2014 11:47:17 +0000 (11:47 +0000)]
Merge branches/gcc-4_9-branch rev 216130
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@216256
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Fri, 10 Oct 2014 09:18:40 +0000 (09:18 +0000)]
Revert commit 216002 which introduced a regression.
2014-10-10 Yvan Roux <yvan.roux@linaro.org>
Revert:
2014-10-08 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215206, r215207, r215208.
2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
* gcc/config/aarch64/aarch64.c (cortexa57_regmove_cost): New cost table
for A57.
(cortexa53_regmove_cost): New cost table for A53. Increase GP2FP/FP2GP
cost to spilling from integer to FP registers.
2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
* config/aarch64/aarch64.c (aarch64_register_move_cost): Fix Q register
move handling.
(generic_regmove_cost): Undo raised FP2FP move cost as Q register moves
are now handled correctly.
2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
* config/aarch64/aarch64.c (aarch64_register_move_cost): Add cost
handling of CALLER_SAVE_REGS and POINTER_REGS.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@216062
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Wed, 8 Oct 2014 15:37:43 +0000 (15:37 +0000)]
gcc/
2014-10-08 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r214825, r214826.
2014-09-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR target/62275
* config/arm/neon.md
(neon_vcvt<NEON_VCVT:nvrint_variant><su_optab><VCVTF:mode>
<v_cmp_result>): New pattern.
* config/arm/iterators.md (NEON_VCVT): New int iterator.
* config/arm/arm_neon_builtins.def (vcvtav2sf, vcvtav4sf, vcvtauv2sf,
vcvtauv4sf, vcvtpv2sf, vcvtpv4sf, vcvtpuv2sf, vcvtpuv4sf, vcvtmv2sf,
vcvtmv4sf, vcvtmuv2sf, vcvtmuv4sf): New builtin definitions.
* config/arm/arm.c (arm_builtin_vectorized_function): Handle
BUILT_IN_LROUNDF, BUILT_IN_LFLOORF, BUILT_IN_LCEILF.
2014-09-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR target/62275
* config/arm/iterators.md (FIXUORS): New code iterator.
(VCVT): New int iterator.
(su_optab): New code attribute.
(su): Likewise.
* config/arm/vfp.md (l<vrint_pattern><su_optab><mode>si2): New pattern.
gcc/testsuite/
2014-10-08 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r214825, r214826, r215085.
2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.target/arm/vect-lceilf_1.c: Make input and output arrays global
and 16-byte aligned.
* gcc.target/arm/vect-lfloorf_1.c: Likewise.
* gcc.target/arm/vect-lroundf_1.c: Likewise.
* gcc.target/arm/vect-rounding-btruncf.c: Likewise.
* gcc.target/arm/vect-rounding-ceilf.c: Likewise.
* gcc.target/arm/vect-rounding-floorf.c: Likewise.
* gcc.target/arm/vect-rounding-roundf.c: Likewise.
2014-09-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR target/62275
* gcc.target/arm/vect-lceilf_1.c: New test.
* gcc.target/arm/vect-lfloorf_1.c: Likewise.
* gcc.target/arm/vect-lroundf_1.c: Likewise.
2014-09-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
PR target/62275
* gcc.target/arm/lceil-vcvt_1.c: New test.
* gcc.target/arm/lfloor-vcvt_1.c: Likewise.
* gcc.target/arm/lround-vcvt_1.c: Likewise.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@216007
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Wed, 8 Oct 2014 14:11:32 +0000 (14:11 +0000)]
2014-10-08 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215471.
2014-09-22 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/geniterators.sh: New.
* config/aarch64/iterators.md (VDQF_DF): New.
* config/aarch64/t-aarch64: Generate aarch64-builtin-iterators.h.
* config/aarch64/aarch64-builtins.c (BUILTIN_*) Remove.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@216004
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Wed, 8 Oct 2014 13:57:42 +0000 (13:57 +0000)]
2014-10-08 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215206, r215207, r215208.
2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
* gcc/config/aarch64/aarch64.c (cortexa57_regmove_cost): New cost table
for A57.
(cortexa53_regmove_cost): New cost table for A53. Increase GP2FP/FP2GP
cost to spilling from integer to FP registers.
2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
* config/aarch64/aarch64.c (aarch64_register_move_cost): Fix Q register
move handling.
(generic_regmove_cost): Undo raised FP2FP move cost as Q register moves
are now handled correctly.
2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
* config/aarch64/aarch64.c (aarch64_register_move_cost): Add cost
handling of CALLER_SAVE_REGS and POINTER_REGS.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@216002
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Tue, 7 Oct 2014 16:45:50 +0000 (16:45 +0000)]
2014-10-07 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r214824.
2014-09-02 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/aarch64/predicates.md (aarch64_comparison_operation):
New special predicate.
* config/aarch64/aarch64.md (*csinc2<mode>_insn): Use
aarch64_comparison_operation instead of matching an operator.
Update operand numbers.
(csinc3<mode>_insn): Likewise.
(*csinv3<mode>_insn): Likewise.
(*csneg3<mode>_insn): Likewise.
(ffs<mode>2): Update gen_csinc3<mode>_insn callsite.
* config/aarch64/aarch64.c (aarch64_get_condition_code):
Return -1 instead of aborting on invalid condition codes.
(aarch64_print_operand): Update aarch64_get_condition_code callsites
to assert that the returned condition code is valid.
* config/aarch64/aarch64-protos.h (aarch64_get_condition_code): Export.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215977
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Tue, 7 Oct 2014 16:17:57 +0000 (16:17 +0000)]
2014-10-07 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
Backport from trunk r209643, r211881.
2014-06-22 Richard Henderson <rth@redhat.com>
PR target/61565
* compare-elim.c (struct comparison): Add eh_note.
(find_comparison_dom_walker::before_dom_children): Don't eliminate
a redundant comparison in a different EH region. Purge EH edges if
necessary.
2014-04-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config/aarch64/aarch64.c (TARGET_FLAGS_REGNUM): Define.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215975
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Mon, 6 Oct 2014 14:30:11 +0000 (14:30 +0000)]
2014-10-06 Charles Baylis <charles.baylis@linaro.org>
Backport from trunk r214945.
2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
* config/aarch64/aarch64-builtins.c (aarch64_simd_expand_args): Replace
varargs with pointer parameter.
(aarch64_simd_expand_builtin): pass pointer into previous.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215949
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Mon, 6 Oct 2014 14:24:21 +0000 (14:24 +0000)]
2014-10-06 Kugan Vivekanandarajah <kugan.vivekanandarajah@linaro.org>
Backport from trunk r214944.
2014-09-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/cortex-a53.md (cortex_a53_alu_shift): Add alu_ext,
alus_ext.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215948
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Mon, 6 Oct 2014 14:17:38 +0000 (14:17 +0000)]
Fix ChangeLog entries.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215947
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Mon, 6 Oct 2014 14:13:36 +0000 (14:13 +0000)]
gcc/
2014-10-06 venkataramanan kumar <venkataramanan.kumar@linaro.org>
Backport from trunk r214943.
2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
* config/aarch64/aarch64-simd.md (aarch64_rbit<mode>): New pattern.
* config/aarch64/aarch64-simd-builtins.def (rbit): New builtin.
* config/aarch64/arm_neon.h (vrbit_s8, vrbit_u8, vrbitq_s8, vrbitq_u8):
Replace temporary asm with call to builtin.
(vrbit_p8, vrbitq_p8): New functions.
gcc/testsuite/
2014-10-06 venkataramanan kumar <venkataramanan.kumar@linaro.org>
Backport from trunk r214943.
2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
* gcc.target/aarch64/simd/vrbit_1.c: New test.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215946
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Mon, 6 Oct 2014 14:05:58 +0000 (14:05 +0000)]
2014-10-06 Michael Collison <michael.collison@linaro.org>
Backport from trunk r214886.
2014-09-03 Richard Henderson <rth@redhat.com>
* config/aarch64/aarch64.c (aarch64_popwb_single_reg): Remove.
(aarch64_popwb_pair_reg): Remove.
(aarch64_set_frame_expr): Remove.
(aarch64_restore_callee_saves): Add CFI_OPS argument; fill it with
the restore ops performed by the insns generated.
(aarch64_expand_epilogue): Attach CFI_OPS to the stack deallocation
insn. Perform the calls_eh_return addition later; do not attempt to
preserve the CFA in that case. Don't use aarch64_set_frame_expr.
(aarch64_expand_prologue): Use REG_CFA_ADJUST_CFA directly, or no
special markup at all. Load cfun->machine->frame.hard_fp_offset
into a local variable.
(aarch64_frame_pointer_required): Don't check calls_alloca.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215944
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Mon, 6 Oct 2014 13:43:55 +0000 (13:43 +0000)]
gcc/
2014-10-06 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215385.
2014-09-19 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64.md (stack_protect_test_<mode>): Mark
scratch register as written.
gcc/testsuite/
2014-10-06 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215385.
2014-09-19 James Greenhalgh <james.greenhalgh@arm.com>
* gcc.dg/ssp-3.c: New.
* gcc.dg/ssp-4.c: Likewise.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215941
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Mon, 6 Oct 2014 13:32:19 +0000 (13:32 +0000)]
2014-10-06 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215346.
2014-09-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/neon.md (*movmisalign<mode>_neon_load): Change type
to neon_load1_1reg<q>.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215940
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Mon, 6 Oct 2014 13:27:22 +0000 (13:27 +0000)]
2014-10-06 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215321.
2014-09-17 Andrew Stubbs <ams@codesourcery.com>
* config/arm/arm.c (arm_option_override): Reject -mfpu=neon
when architecture is older than ARMv7.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215938
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Mon, 6 Oct 2014 13:16:57 +0000 (13:16 +0000)]
2014-10-06 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215260.
2014-09-14 David Sherwood <david.sherwood@arm.com>
* gcc.target/aarch64/vdup_lane_2.c (force_simd): Emit simd mov.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215937
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Mon, 6 Oct 2014 13:03:24 +0000 (13:03 +0000)]
2014-10-06 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215205.
2014-09-12 Wilco Dijkstra <wilco.dijkstra@arm.com>
* gcc/ree.c (combine_reaching_defs): Ensure inserted copy don't change
the number of hard registers.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215935
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Mon, 6 Oct 2014 12:40:10 +0000 (12:40 +0000)]
/gcc/
2014-10-06 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215136.
2014-09-10 Xinliang David Li <davidxl@google.com>
PR target/63209
* config/arm/arm.md (movcond_addsi): Handle case where source
and target operands are the same.
/gcc/testsuite/
2014-10-06 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215136.
2014-09-10 Xinliang David Li <davidxl@google.com>
PR target/63209
* gcc.c-torture/execute/pr63209.c: New test.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215932
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Mon, 6 Oct 2014 12:25:14 +0000 (12:25 +0000)]
/libstdc++-v3/
2014-10-06 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215101.
2014-09-10 Tony Wang <tony.wang@arm.com>
PR target/56846
* libsupc++/eh_personality.cc (PERSONALITY_FUNCTION):
Return with CONTINUE_UNWINDING when the state pattern
contains: _US_VIRTUAL_UNWIND_FRAME | _US_FORCE_UNWIND
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215929
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Mon, 6 Oct 2014 12:18:06 +0000 (12:18 +0000)]
/gcc/
2014-10-06 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215086.
2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config/aarch64/aarch64-elf-raw.h (ENDFILE_SPEC): Add crtfastmath.o.
* config/aarch64/aarch64-linux.h (GNU_USER_TARGET_MATH_ENDFILE_SPEC):
Define.
(ENDFILE_SPEC): Define and use GNU_USER_TARGET_MATH_ENDFILE_SPEC.
/libgcc/
2014-10-06 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215086.
2014-09-09 Marcus Shawcroft <marcus.shawcroft@arm.com>
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config.host (aarch64*): Include crtfastmath.o and
t-crtfm.
* config/aarch64/crtfastmath.c: New file.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215928
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Mon, 6 Oct 2014 11:01:54 +0000 (11:01 +0000)]
/gcc/
2014-10-06 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215067.
2014-09-09 Jiong Wang <jiong.wang@arm.com>
* config/arm/arm.c (NEON_COPYSIGNF): New enum.
(arm_init_neon_builtins): Support NEON_COPYSIGNF.
(arm_builtin_vectorized_function): Likewise.
* config/arm/arm_neon_builtins.def: New macro for copysignf.
* config/arm/neon.md (neon_copysignf<mode>): New pattern for vector
copysignf.
/gcc/testsuite/
2014-10-06 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215067.
2014-09-09 Jiong Wang <jiong.wang@arm.com>
* gcc.target/arm/vect-copysignf.c: New testcase.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215923
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Fri, 3 Oct 2014 15:29:24 +0000 (15:29 +0000)]
/gcc/
2014-10-03 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215050, r215051, r215052, r215053, r215054,
r215055, r215056.
2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm.md (vfp_pop_multiple_with_writeback): Use vldm
mnemonic instead of fldmfdd.
* config/arm/arm.c (vfp_output_fstmd): Rename to...
(vfp_output_vstmd): ... This. Convert output to UAL syntax.
Output vpush when address register is SP.
* config/arm/arm-protos.h (vfp_output_fstmd): Rename to...
(vfp_output_vstmd): ... This.
* config/arm/vfp.md (push_multi_vfp): Update call to
vfp_output_vstmd.
2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/vfp.md (*movcc_vfp): Use UAL syntax.
2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/vfp.md (*sqrtsf2_vfp): Use UAL assembly syntax.
(*sqrtdf2_vfp): Likewise.
(*cmpsf_vfp): Likewise.
(*cmpsf_trap_vfp): Likewise.
(*cmpdf_vfp): Likewise.
(*cmpdf_trap_vfp): Likewise.
2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/vfp.md (*extendsfdf2_vfp): Use UAL assembly syntax.
(*truncdfsf2_vfp): Likewise.
(*truncsisf2_vfp): Likewise.
(*truncsidf2_vfp): Likewise.
(fixuns_truncsfsi2): Likewise.
(fixuns_truncdfsi2): Likewise.
(*floatsisf2_vfp): Likewise.
(*floatsidf2_vfp): Likewise.
(floatunssisf2): Likewise.
(floatunssidf2): Likewise.
2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/vfp.md (*mulsf3_vfp): Use UAL assembly syntax.
(*muldf3_vfp): Likewise.
(*mulsf3negsf_vfp): Likewise.
(*muldf3negdf_vfp): Likewise.
(*mulsf3addsf_vfp): Likewise.
(*muldf3adddf_vfp): Likewise.
(*mulsf3subsf_vfp): Likewise.
(*muldf3subdf_vfp): Likewise.
(*mulsf3negsfaddsf_vfp): Likewise.
(*fmuldf3negdfadddf_vfp): Likewise.
(*mulsf3negsfsubsf_vfp): Likewise.
(*muldf3negdfsubdf_vfp): Likewise.
2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/vfp.md (*abssf2_vfp): Use UAL assembly syntax.
(*absdf2_vfp): Likewise.
(*negsf2_vfp): Likewise.
(*negdf2_vfp): Likewise.
(*addsf3_vfp): Likewise.
(*adddf3_vfp): Likewise.
(*subsf3_vfp): Likewise.
(*subdf3_vfp): Likewise.
(*divsf3_vfp): Likewise.
(*divdf3_vfp): Likewise.
2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm.c (output_move_vfp): Use UAL syntax for load/store
multiple.
(arm_print_operand): Don't convert real values to decimal
representation in default case.
(fp_immediate_constant): Delete.
* config/arm/arm-protos.h (fp_immediate_constant): Likewise.
* config/arm/vfp.md (*arm_movsi_vfp): Convert to VFP moves to UAL
syntax.
(*thumb2_movsi_vfp): Likewise.
(*movdi_vfp): Likewise.
(*movdi_vfp_cortexa8): Likewise.
(*movhf_vfp_neon): Likewise.
(*movhf_vfp): Likewise.
(*movsf_vfp): Likewise.
(*thumb2_movsf_vfp): Likewise.
(*movdf_vfp): Likewise.
(*thumb2_movdf_vfp): Likewise.
(*movsfcc_vfp): Likewise.
(*thumb2_movsfcc_vfp): Likewise.
(*movdfcc_vfp): Likewise.
(*thumb2_movdfcc_vfp): Likewise.
/gcc/testsuite/
2014-10-03 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r215050, r215051, r215052, r215053, r215054.
2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.target/arm/vfp-1.c: Updated expected assembly.
2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.target/arm/vfp-1.c: Updated expected assembly.
2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.target/arm/vfp-1.c: Updated expected assembly.
2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.target/arm/vfp-1.c: Updated expected assembly.
2014-09-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.target/arm/pr51835.c: Update expected assembly.
* gcc.target/arm/vfp-1.c: Likewise.
* gcc.target/arm/vfp-ldmdbd.c: Likewise.
* gcc.target/arm/vfp-ldmdbs.c: Likewise.
* gcc.target/arm/vfp-ldmiad.c: Likewise.
* gcc.target/arm/vfp-ldmias.c: Likewise.
* gcc.target/arm/vfp-stmdbd.c: Likewise.
* gcc.target/arm/vfp-stmdbs.c: Likewise.
* gcc.target/arm/vfp-stmiad.c: Likewise.
* gcc.target/arm/vfp-stmias.c: Likewise.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215858
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Fri, 3 Oct 2014 15:17:22 +0000 (15:17 +0000)]
2014-10-03 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r214959.
2014-09-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/cortex-a53.md (cortex_a53_fpalu): Add f_rints, f_rintd,
f_minmaxs, f_minmaxd types.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215857
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Fri, 3 Oct 2014 14:47:51 +0000 (14:47 +0000)]
2014-10-03 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r214947.
2014-09-05 Alan Lawrence <alan.lawrence@arm.com>
* config/aarch64/aarch64-builtins.c (enum aarch64_type_qualifiers):
Remove qualifier_const_pointer, update comment.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215854
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Fri, 3 Oct 2014 14:36:45 +0000 (14:36 +0000)]
2014-10-03 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r214940.
2014-09-05 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64.md (sibcall_value_insn): Give operand 1
DImode.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215853
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Fri, 3 Oct 2014 11:29:42 +0000 (11:29 +0000)]
2014-10-03 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r213090.
2014-07-26 Andrew Pinski <apinski@cavium.com>
* config/aarch64/aarch64.md (*extr_insv_lower_reg<mode>): Remove +
from the read only register.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215847
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Fri, 3 Oct 2014 11:18:01 +0000 (11:18 +0000)]
2014-10-03 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r213035.
2014-07-24 Richard Henderson <rth@redhat.com>
* config/aarch64/sjlj.S (_ITM_beginTransaction): Use post-inc
addressing mode in epilogue.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215845
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 11 Sep 2014 12:00:34 +0000 (12:00 +0000)]
Bump version number, post release.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215166
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Thu, 11 Sep 2014 11:53:12 +0000 (11:53 +0000)]
Make Linaro GCC 4.9-2014.09.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215164
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Tue, 9 Sep 2014 12:40:52 +0000 (12:40 +0000)]
2014-09-09 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
Backport from trunk r215004.
2014-09-07 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
PR target/63190
* config/aarch64/aarch64.md (stack_protect_test_<mode>) Add register
constraint for operand0 and remove write only modifier from operand3.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215069
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Tue, 9 Sep 2014 12:25:09 +0000 (12:25 +0000)]
2014-09-09 Michael Collison <michael.collison@linaro.org>
Backport from trunk r212178
2014-06-30 Joseph Myers <joseph@codesourcery.com>
* var-tracking.c (add_stores): Return instead of asserting if old
and new values for conditional store are the same.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215065
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Tue, 9 Sep 2014 11:55:59 +0000 (11:55 +0000)]
Merge branches/gcc-4_9-branch rev 214896
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@215060
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Wed, 3 Sep 2014 15:25:21 +0000 (15:25 +0000)]
2014-09-03 Yvan Roux <yvan.roux@linaro.org>
Revert:
2014-09-03 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r213712.
2014-08-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/aarch64/aarch64.md (absdi2): Set simd attribute.
(aarch64_reload_mov<mode>): Predicate on TARGET_FLOAT.
(aarch64_movdi_<mode>high): Likewise.
(aarch64_mov<mode>high_di): Likewise.
(aarch64_movdi_<mode>low): Likewise.
(aarch64_mov<mode>low_di): Likewise.
(aarch64_movtilow_tilow): Likewise.
Add comment explaining usage of fp,simd attributes and of
TARGET_FLOAT and TARGET_SIMD.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@214880
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Wed, 3 Sep 2014 13:06:56 +0000 (13:06 +0000)]
2014-09-03 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r213712.
2014-08-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/aarch64/aarch64.md (absdi2): Set simd attribute.
(aarch64_reload_mov<mode>): Predicate on TARGET_FLOAT.
(aarch64_movdi_<mode>high): Likewise.
(aarch64_mov<mode>high_di): Likewise.
(aarch64_movdi_<mode>low): Likewise.
(aarch64_mov<mode>low_di): Likewise.
(aarch64_movtilow_tilow): Likewise.
Add comment explaining usage of fp,simd attributes and of
TARGET_FLOAT and TARGET_SIMD.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@214875
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Wed, 3 Sep 2014 07:23:01 +0000 (07:23 +0000)]
gcc/
2014-09-03 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r214526.
2014-08-26 Joseph Myers <joseph@codesourcery.com>
PR target/60606
PR target/61330
* varasm.c (make_decl_rtl): Clear DECL_ASSEMBLER_NAME and
DECL_HARD_REGISTER and return for invalid register specifications.
* cfgexpand.c (expand_one_var): If expand_one_hard_reg_var clears
DECL_HARD_REGISTER, call expand_one_error_var.
* config/arm/arm.c (arm_hard_regno_mode_ok): Do not allow
CC_REGNUM with non-MODE_CC modes.
(arm_regno_class): Return NO_REGS for PC_REGNUM.
gcc/testsuite/
2014-09-03 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r214526.
2014-08-26 Joseph Myers <joseph@codesourcery.com>
PR target/60606
PR target/61330
* gcc.dg/torture/pr60606-1.c, gcc.target/arm/pr60606-2.c,
gcc.target/arm/pr60606-3.c, gcc.target/arm/pr60606-4.c: New tests.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@214847
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Wed, 3 Sep 2014 07:04:32 +0000 (07:04 +0000)]
2014-09-03 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r214503.
2014-08-26 Evandro Menezes <e.menezes@samsung.com>
* config/arm/aarch64/aarch64.c (generic_addrcost_table): Delete
qi cost; add di cost.
(cortexa57_addrcost_table): Likewise.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@214845
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Wed, 3 Sep 2014 06:55:46 +0000 (06:55 +0000)]
gcc/
2014-09-03 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r213659.
2014-08-06 Alan Lawrence <alan.lawrence@arm.com>
* config/aarch64/aarch64.c (aarch64_evpc_dup): Enable for bigendian.
(aarch64_expand_vec_perm_const): Check for dup before zip.
gcc/testsuite/
2014-09-03 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r213659.
2014-08-06 Alan Lawrence <alan.lawrence@arm.com>
* gcc.target/aarch64/vdup_n_2.c: New test.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@214844
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Tue, 2 Sep 2014 08:21:42 +0000 (08:21 +0000)]
2014-09-02 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r213651.
2014-08-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/aarch64/aarch64.c (aarch64_classify_address): Use REG_P and
CONST_INT_P instead of GET_CODE and compare.
(aarch64_select_cc_mode): Likewise.
(aarch64_print_operand): Likewise.
(aarch64_rtx_costs): Likewise.
(aarch64_simd_valid_immediate): Likewise.
(aarch64_simd_check_vect_par_cnst_half): Likewise.
(aarch64_simd_emit_pair_result_insn): Likewise.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@214809
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Fri, 29 Aug 2014 19:28:09 +0000 (19:28 +0000)]
2014-08-29 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r212978.
2014-07-24 Andreas Schwab <schwab@suse.de>
* lib/target-supports.exp (check_effective_target_arm_nothumb):
Also check for __arm__.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@214739
138bc75d-0d04-0410-961f-
82ee72b054a4
clyon [Fri, 29 Aug 2014 12:03:49 +0000 (12:03 +0000)]
2014-08-29 Christophe Lyon <christophe.lyon@linaro.org>
Fix backport from trunk 211440:
* config.gcc (aarch64*-*-*): Restore need_64bit_hwint=yes.
This is necessary to build aarch64* compilers on i686 host.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@214722
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Tue, 26 Aug 2014 13:11:41 +0000 (13:11 +0000)]
gcc/testsuite/
2014-08-26 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r213701.
2014-08-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* gcc.dg/pr61756.c: Remove arm-specific dg-options.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@214517
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Tue, 26 Aug 2014 13:05:05 +0000 (13:05 +0000)]
2014-08-26 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r213627.
2014-08-05 James Greenhalgh <james.greenhalgh@arm.com>
* config/aarch64/aarch64-builtins.c
(aarch64_simd_builtin_type_mode): Delete.
(v8qi_UP): Remap to V8QImode.
(v4hi_UP): Remap to V4HImode.
(v2si_UP): Remap to V2SImode.
(v2sf_UP): Remap to V2SFmode.
(v1df_UP): Remap to V1DFmode.
(di_UP): Remap to DImode.
(df_UP): Remap to DFmode.
(v16qi_UP):V16QImode.
(v8hi_UP): Remap to V8HImode.
(v4si_UP): Remap to V4SImode.
(v4sf_UP): Remap to V4SFmode.
(v2di_UP): Remap to V2DImode.
(v2df_UP): Remap to V2DFmode.
(ti_UP): Remap to TImode.
(ei_UP): Remap to EImode.
(oi_UP): Remap to OImode.
(ci_UP): Map to CImode.
(xi_UP): Remap to XImode.
(si_UP): Remap to SImode.
(sf_UP): Remap to SFmode.
(hi_UP): Remap to HImode.
(qi_UP): Remap to QImode.
(aarch64_simd_builtin_datum): Make mode a machine_mode.
(VAR1): Build builtin name.
(aarch64_init_simd_builtins): Remove dead code.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@214516
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Tue, 26 Aug 2014 12:56:05 +0000 (12:56 +0000)]
2014-08-26 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r213713.
2014-08-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm.md (*cmov<mode>): Set type attribute to fcsel.
* config/arm/types.md (f_sels, f_seld): Delete.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@214515
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Tue, 26 Aug 2014 12:53:08 +0000 (12:53 +0000)]
2014-08-26 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r213711.
2014-08-07 Ian Bolton <ian.bolton@arm.com>
Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/aarch64/aarch64.c (aarch64_expand_mov_immediate):
Use MOVN when one of the half-words is 0xffff.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@214514
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Tue, 26 Aug 2014 12:48:57 +0000 (12:48 +0000)]
2014-08-26 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r213632.
2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/cortex-a15.md (cortex_a15_alu_shift): Add crc type
to reservation.
* config/arm/cortex-a53.md (cortex_a53_alu_shift): Likewise.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@214513
138bc75d-0d04-0410-961f-
82ee72b054a4
yroux [Tue, 26 Aug 2014 12:45:00 +0000 (12:45 +0000)]
2014-08-26 Yvan Roux <yvan.roux@linaro.org>
Backport from trunk r213630.
2014-08-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm.md (clzsi2): Set predicable_short_it attr to no.
(rbitsi2): Likewise.
(*arm_rev): Set predicable and predicable_short_it attributes.
git-svn-id: svn://gcc.gnu.org/svn/gcc/branches/linaro/gcc-4_9-branch@214512
138bc75d-0d04-0410-961f-
82ee72b054a4