summaryrefslogtreecommitdiff
path: root/gcc/config
Commit message (Collapse)AuthorAgeFilesLines
* * doc/tm.texi.in (TARGET_CLASS_LIKELY_SPILLED_P): Update documentation.steven2012-12-0516-16/+32
| | | | | | | | | | | | | | | | | | | | * doc/tm.texi: Regenerate. * regs.h (REG_LIVE_LENGTH): Update comments to not refer to no longer existing files global.c and local-alloc.c. * regmove.c (copy_src_to_dest): Likewise. * function.h (struct rtl_data): Likewise. * ira-color.c (allocno_priority_compare_func): Likewise. * regstat.c (regstat_compute_ri): Likewise. * config/epiphany/epiphany.h, config/vax/vax.h, config/cris/cris.h, config/h8300/h8300.h, config/alpha/alpha.h, config/sparc/sparc.h, config/rs6000/rs6000.h, config/pdp11/pdp11.h, config/pa/pa.h, config/v850/v850.h, config/mn10300/mn10300.h, config/m32r/m32r.h, config/i386/i386.h, config/mcore/mcore.h, config/sh/sh.h, config/arm/arm.h (REGNO_OK_FOR_BASE_P): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194229 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/54160aldyh2012-12-052-2/+3
| | | | | | | | | * config/t-darwin (darwin-c.o): Depend on $(CPP_INTERNAL_H). * config/darwin-c.c (darwin_cpp_builtins): Only set __OBJC2__ when in obj mode. Include libcpp/internal.h. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194227 138bc75d-0d04-0410-961f-82ee72b054a4
* PR rtl-optimization/54739eager2012-12-051-81/+0
| | | | | | | * config/microblaze/microblaze.md: (anddi3, iordi3, xordi3): Delete patterns. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194226 138bc75d-0d04-0410-961f-82ee72b054a4
* [AARCH64] Add zip{1, 2}, uzp{1, 2}, trn{1, 2} support jgreenhalgh2012-12-054-2/+303
| | | | | | | | | | | | | | | | | | | | | | | for vector permute. gcc/ * config/aarch64/aarch64-simd-builtins.def: Add new builtins. * config/aarch64/aarch64-simd.md (simd_type): Add uzp. (aarch64_<PERMUTE:perm_insn><PERMUTE:perm_hilo><mode>): New. * config/aarch64/aarch64.c (aarch64_evpc_trn): New. (aarch64_evpc_uzp): Likewise. (aarch64_evpc_zip): Likewise. (aarch64_expand_vec_perm_const_1): Check for trn, zip, uzp patterns. * config/aarch64/iterators.md (unspec): Add neccessary unspecs. (PERMUTE): New. (perm_insn): Likewise. (perm_hilo): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194219 138bc75d-0d04-0410-961f-82ee72b054a4
* [AARCH64] Implement Vector Permute Support.jgreenhalgh2012-12-054-1/+372
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc/ * config/aarch64/aarch64-protos.h (aarch64_split_combinev16qi): New. (aarch64_expand_vec_perm): Likewise. (aarch64_expand_vec_perm_const): Likewise. * config/aarch64/aarch64-simd.md (vec_perm_const<mode>): New. (vec_perm<mode>): Likewise. (aarch64_tbl1<mode>): Likewise. (aarch64_tbl2v16qi): Likewise. (aarch64_combinev16qi): New. * config/aarch64/aarch64.c (aarch64_vectorize_vec_perm_const_ok): New. (aarch64_split_combinev16qi): Likewise. (MAX_VECT_LEN): Define. (expand_vec_perm_d): New. (aarch64_expand_vec_perm_1): Likewise. (aarch64_expand_vec_perm): Likewise. (aarch64_evpc_tbl): Likewise. (aarch64_expand_vec_perm_const_1): Likewise. (aarch64_expand_vec_perm_const): Likewise. (aarch64_vectorize_vec_perm_const_ok): Likewise. (TARGET_VECTORIZE_VEC_PERM_CONST_OK): Likewise. * config/aarch64/iterators.md (unspec): Add UNSPEC_TBL, UNSPEC_CONCAT. (V_cmp_result): Add mapping for V2DF. gcc/testsuite/ * lib/target-supports.exp (check_effective_target_vect_perm): Allow aarch64*-*-*. (check_effective_target_vect_perm_byte): Likewise. (check_effective_target_vect_perm_short): Likewise. (check_effective_target_vect_char_mult): Likewise. (check_effective_target_vect_extract_even_odd): Likewise. (check_effective_target_vect_interleave): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194218 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/yufeng2012-12-051-0/+64
| | | | | | | | | | | | | | | | | | | 2012-12-05 Yufeng Zhang <yufeng.zhang@arm.com> * config/aarch64/aarch64.c (aarch64_simd_mangle_map_entry): New typedef. (aarch64_simd_mangle_map): New table. (aarch64_mangle_type): Locate and return the mangled name for a given AdvSIMD vector type. gcc/testsuite/ 2012-12-05 Yufeng Zhang <yufeng.zhang@arm.com> * g++.dg/abi/mangle-neon-aarch64.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194208 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/yufeng2012-12-051-0/+17
| | | | | | | | | | | | | | | | 2012-12-05 Yufeng Zhang <yufeng.zhang@arm.com> * config/aarch64/aarch64.c (aarch64_mangle_type): New function. (TARGET_MANGLE_TYPE): Define. gcc/testsuite/ 2012-12-05 Yufeng Zhang <yufeng.zhang@arm.com> * g++.dg/abi/arm_va_list.C: Also test on aarch64*-*-*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194200 138bc75d-0d04-0410-961f-82ee72b054a4
* [AARCH64] Add support for vectorizable standard math patterns.jgreenhalgh2012-12-057-102/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gcc/ * config/aarch64/aarch64-builtins.c (aarch64_builtin_vectorized_function): New. * config/aarch64/aarch64-protos.h (aarch64_builtin_vectorized_function): Declare. * config/aarch64/aarch64-simd-builtins.def (frintz, frintp): Add. (frintm, frinti, frintx, frinta, fcvtzs, fcvtzu): Likewise. (fcvtas, fcvtau, fcvtps, fcvtpu, fcvtms, fcvtmu): Likewise. * config/aarch64/aarch64-simd.md (aarch64_frint_<frint_suffix><mode>): New. (<frint_pattern><mode>2): Likewise. (aarch64_fcvt<frint_suffix><su><mode>): Likewise. (l<fcvt_pattern><su_optab><fcvt_target><VDQF:mode>2): Likewise. * config/aarch64/aarch64.c (TARGET_VECTORIZE_BUILTINS): Define. (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): Likewise. * config/aarch64/aarch64.md (btrunc<mode>2, ceil<mode>2, floor<mode>2) (round<mode>2, rint<mode>2, nearbyint<mode>2): Consolidate as... (<frint_pattern><mode>2): ...this. (lceil<su_optab><mode><mode>2, lfloor<su_optab><mode><mode>2) (lround<su_optab><mode><mode>2) (lrint<su_optab><mode><mode>2): Consolidate as... (l<fcvt_pattern><su_optab><GPF:mode><GPI:mode>2): ... this. * config/aarch64/iterators.md (fcvt_target): New. (FCVT_TARGET): Likewise. (FRINT): Likewise. (FCVT): Likewise. (frint_pattern): Likewise. (frint_suffix): Likewise. (fcvt_pattern): Likewise. gcc/testsuite/ * gcc.dg/vect/vect-rounding-btrunc.c: New test. * gcc.dg/vect/vect-rounding-btruncf.c: Likewise. * gcc.dg/vect/vect-rounding-ceil.c: Likewise. * gcc.dg/vect/vect-rounding-ceilf.c: Likewise. * gcc.dg/vect/vect-rounding-floor.c: Likewise. * gcc.dg/vect/vect-rounding-floorf.c: Likewise. * gcc.dg/vect/vect-rounding-lceil.c: Likewise. * gcc.dg/vect/vect-rounding-lfloor.c: Likewise. * gcc.dg/vect/vect-rounding-nearbyint.c: Likewise. * gcc.dg/vect/vect-rounding-nearbyintf.c: Likewise. * gcc.dg/vect/vect-rounding-round.c: Likewise. * gcc.dg/vect/vect-rounding-roundf.c: Likewise. * target-supports.exp (check_effective_target_vect_call_btrunc): New. (check_effective_target_vect_call_btruncf): Likewise. (check_effective_target_vect_call_ceil): Likewise. (check_effective_target_vect_call_ceilf): Likewise. (check_effective_target_vect_call_floor): Likewise. (check_effective_target_vect_call_floorf): Likewise. (check_effective_target_vect_call_lceil): Likewise. (check_effective_target_vect_call_lfloor): Likewise. (check_effective_target_vect_call_nearbyint): Likewise. (check_effective_target_vect_call_nearbyintf): Likewise. (check_effective_target_vect_call_round): Likewise. (check_effective_target_vect_call_roundf): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194197 138bc75d-0d04-0410-961f-82ee72b054a4
* AArch64: Fix ICE due to missing TYPE_STUB_DECL on builtin va_list.mshawcroft2012-12-041-0/+1
| | | | | | | | | | | 2012-12-04 Marcus Shawcroft <marcus.shawcroft@arm.com> * config/aarch64/aarch64.c (aarch64_build_builtin_va_list): Set TYPE_STUB_DECL. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194147 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-12-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>krebbel2012-12-041-1/+4
| | | | | | | | | * config/s390/s390.c (s390_select_ccmode): Enable using CC of x + imm for higher immediates on z9-109 upwards. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194141 138bc75d-0d04-0410-961f-82ee72b054a4
* * arm.opt (cirrus-fix-invalid-insns): Delete option.rearnsha2012-12-041-4/+0
| | | | | | | * invoke.texi (cirrus-fix-invalid-insns): Remove documentation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194137 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-12-04 Tejas Belagod <tejas.belagod@arm.com>belagod2012-12-041-0/+32
| | | | | | | | | | | * config/aarch64/aarch64.c (aarch64_simd_vector_alignment, aarch64_simd_vector_alignment_reachable): New. (TARGET_VECTOR_ALIGNMENT, TARGET_VECTORIZE_VECTOR_ALIGNMENT_REACHABLE): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194126 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/ia64/ia64.c (ia64_compute_frame_size): Allocate the scratchebotcazou2012-12-041-11/+10
| | | | | | | | area if the function allocates dynamic stack space. (ia64_initial_elimination_offset): Adjust offsets to above change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194121 138bc75d-0d04-0410-961f-82ee72b054a4
* [AARCH64] Refactor constant generation.sofiane2012-12-031-23/+31
| | | | | | | | | | | | | | | 2012-12-03 Sofiane Naci <sofiane.naci@arm.com> * config/aarch64/aarch64.c (aarch64_build_constant): Update prototype. Call emit_move_insn instead of printing movi/movn/movz instructions. Call gen_insv_immdi instead of printing movk instruction. (aarch64_add_constant): Update prototype. Generate RTL instead of printing add/sub instructions. (aarch64_output_mi_thunk): Update calls to aarch64_build_constant and aarch64_add_constant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194080 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/mmix/mmix.c (mmix_function_value): Set the mode of thehp2012-12-021-1/+1
| | | | | | | returned PARALLEL to that of the return-value, not VOIDmode. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194050 138bc75d-0d04-0410-961f-82ee72b054a4
* * reorg.c: Remove an obsolete comment.steven2012-12-021-4/+47
| | | | | | | | * config/pa/pa.md: Add back the HP-PA comment here, with details. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194039 138bc75d-0d04-0410-961f-82ee72b054a4
* Enable cltd for modern CPUsdavidxl2012-12-011-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194038 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/rs6000/xcoff.h (ASM_OUTPUT_TLS_COMMON): Define.dje2012-11-301-0/+9
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194004 138bc75d-0d04-0410-961f-82ee72b054a4
* * xcoffout.c (xcoff_tls_data_section_name): Define.dje2012-11-302-5/+199
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * xcoffout.h (xcoff_tls_data_section_name): Declare. * config/rs6000/rs6000.c (tls_data_section): Define. (TARGET_USE_BLOCKS_FOR_DECL_P): Define. (rs6000_legitimize_tls_address_aix): New function. (rs6000_legitimize_tls_address): Use new function for AIX. (rs6000_cannot_force_const_mem): No sum in TLS TOC symbols. Allow TLS symbol in constant pool other than ELF. (rs6000_legitimate_address_p): Allow TLS symbol other than ELF. (rs6000_assemble_visibility): Do not emit anything on AIX. (output_toc): Handle alias of TLS general-dynamic symbols. Emit TLS decorations on symbols. (rs6000_use_blocks_for_decl_p): New function. (rs6000_xcoff_output_tls_section_asm_op): New function. (rs6000_xcoff_asm_init_sections): Initialize tls_data_section. (rs6000_xcoff_select_section): Choose tls_data_section for thread-local storage. (rs6000_xcoff_file_start): Generate xcoff_tls_data_section_name. (rs6000_legitimate_constant_p): Allow TLS symbol other than ELF. * config/rs6000/rs6000.md (tls_tls_): Restrict to ELF. (tls_get_tpointer): New. (tle_get_tpointer_internal): New. (tls_get_addr<mode>): New. (tls_get_addr_internal<mode>): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194003 138bc75d-0d04-0410-961f-82ee72b054a4
* For attribute named "type", subdivide "alu" into "alu_reg" and "simple_alu_imm".gretay2012-11-3019-145/+277
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set type attribute as appropriate in RTL patterns with immediate operands. Update pipeline descriptions to use the new values of type attribute. gcc/ 2012-11-30 Ramana Radhakrishnan <Ramana.Radhakrishnan@arm.com> Greta Yorsh <Greta.Yorsh@arm.com> * config/arm/arm.md (type): Subdivide "alu" into "alu_reg" and "simple_alu_imm". (core_cycles): Use new names. (arm_addsi3): Set type of patterns to use to alu_reg and simple_alu_imm. (addsi3_compare0, addsi3_compare0_scratch): Likewise. (addsi3_compare_op1, addsi3_compare_op2, compare_addsi2_op0): Likewise. (compare_addsi2_op1, arm_subsi3_insn, subsi3_compare0): Likewise. (subsi3_compare, arm_decscc,arm_andsi3_insn): Likewise. (thumb1_andsi3_insn, andsi3_compare0_scratch): Likewise. (zeroextractsi_compare0_scratch,iorsi3_insn,iorsi3_compare0): Likewise. (iorsi3_compare0_scratch, arm_xorsi3, thumb1_xorsi3_insn): Likewise. (xorsi3_compare0, xorsi3_compare0_scratch): Likewise. (thumb1_zero_extendhisi2,arm_zero_extendhisi2_v6): Likewise. (thumb1_zero_extendqisi2_v, arm_zero_extendqisi2_v6): Likewise. (thumb1_extendhisi2, arm_extendqisi_v6): Likewise. (thumb1_extendqisi2, arm_movsi_insn): Likewise. (movsi_compare0, movhi_insn_arch4, movhi_bytes): Likewise. (arm_movqi_insn, thumb1_movqi_insn, arm_cmpsi_insn): Likewise. (movsicc_insn, if_plus_move, if_move_plus): Likewise. * config/arm/neon.md (neon_mov<mode>/VDX): Likewise. (neon_mov<mode>/VQXMOV): Likewise. * config/arm/arm1020e.md (1020alu_op): Likewise. * config/arm/fmp626.md (mp626_alu_op): Likewise. * config/arm/fa726te.md (726te_alu_op): Likewise. * config/arm/fa626te.md (626te_alu_op): Likewise. * config/arm/fa606te.md (606te_alu_op): Likewise. * config/arm/fa526.md (526_alu_op): Likewise. * config/arm/cortex-r4.md (cortex_r4_alu, cortex_r4_mov): Likewise. * config/arm/cortex-m4.md (cortex_m4_alu): Likewise. * config/arm/cortex-a9.md (cprtex_a9_dp): Likewise. * config/arm/cortex-a8.md (cortex_a8_alu, cortex_a8_mov): Likewise. * config/arm/cortex-a5.md (cortex_a5_alu): Likewise. * config/arm/cortex-a15.md (cortex_a15_alu): Likewise. * config/arm/arm926ejs.md (9_alu_op): Likewise. * config/arm/arm1136jfs.md (11_alu_op): Likewise. * config/arm/arm1026ejs.md (alu_op): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193996 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/host-mingw32.c (va_granularity): Make none-const.ktietz2012-11-301-6/+25
| | | | | | | | | | (mingw32_gt_pch_alloc_granularity): Return OS' allocation granularity. (mingw32_gt_pch_use_address): Retry mapping of used address as multiple instances might interfer. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193987 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/mingw32.h (SHARED_LIBGCC_SPEC): Synchronize withktietz2012-11-301-3/+12
| | | | | | | cygwin-host. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193986 138bc75d-0d04-0410-961f-82ee72b054a4
* Update Copyright years in gcc/config/epiphany .amylaar2012-11-298-11/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193944 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/55073rearnsha2012-11-291-15/+54
| | | | | | | | | | | | | * arm/neon.md (neon_vtrn<mode>_internal): Split into expand and insn patterns. Re-order insn arguments to tie inputs to outputs. (neon_vzip<mode>_internal): Likewise. (neon_vuzp<mode>_internal): Likewise. * gcc.target/arm/pr55073.C: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193943 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/54974mgretton2012-11-294-24/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/arm/arm.md (thumb2_pool_range, pool_range): Add comment on Thumb pool ranges. (thumb1_extendhisi2): Reduce Thumb pool range. (arm_movdi): Likewise. (thumb1_movdi_insn): Likewise. (thumb1_movsi_insn): Likewise. (pic_load_addr_unified): Likewise. (pic_load_addr_32bit): Likewise. (pic_load_addr_thumb1): Likewise. (thumb1_movhf): Likewise. (arm_movsf_soft_insn): Likewise. (thumb1_movsf_soft_insn): Likewise. (movdf_soft_insn): Likewise. (thumb1_movdf_soft_insn): Likewise. * config/arm/neon.md (*neon_mov<mode>): Likewise. (*neon_mov<mode>): Likwise. * config/arm/thumb2.md: (*thumb2_movsi_insn): Likewise. (*thumb2_movhi_insn): Likewise. (*thumb2_extendqisi_v6): Likewise. (*thumb2_zero_extendqisi_v6): Likewise. (*thumb2_zero_extendqisi2_v6): Likewise. * config/arm/vfp.md: (*thumb2_movsi_vfp): Likewise. (*movdi_vfp): Likewise. (*movdi_vfp_cortexa8): Likewise. (*thumb2_movsf_vfp): Likewise. (*thumb2_movdf_vfp): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193930 138bc75d-0d04-0410-961f-82ee72b054a4
* PR target/55171ktietz2012-11-291-5/+30
| | | | | | | | | | | * i386.c (get_scratch_register_on_entry): Handle thiscall-convention. (split_stack_prologue_scratch_regno): Likewise. (ix86_static_chain): Likewise. (x86_output_mi_thunk): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193926 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/epiphany/epiphany.h (FIXED_REGISTERS, CALL_USED_REGISTERS):amylaar2012-11-291-4/+3
| | | | | | | | Make r40..r43 call-used. (REG_ALLOC_ORDER): Sort r40..r43 into the call-used registers. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193921 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/epiphany/epiphany.c (epiphany_adjust_cost): Useamylaar2012-11-291-3/+3
| | | | | | | reg_overlap_mentioned_p. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193920 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/epiphany/epiphany.md (isub_i+1): Work around generator bug.amylaar2012-11-291-7/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193919 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/epiphany/epiphany.h (EPIPHANY_LIBRARY_EXTRA_SPEC): Define.amylaar2012-11-292-0/+18
| | | | | | | | | (EXTRA_SPECS, DRIVER_SELF_SPECS): Likewise. * config/epiphany/t-epiphany (SPECS): Set. (specs): New rule. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193917 138bc75d-0d04-0410-961f-82ee72b054a4
* Shift get_attr_sched_use_fpu declaration from last change fromamylaar2012-11-292-4/+7
| | | | | | | config/epiphany/epiphany.h to config/epiphany/epiphany-protos.h . git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193916 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/epiphany/predicates.md (addsub_operator): New predicate.amylaar2012-11-294-0/+40
| | | | | | | | | * config/epiphany/epiphany-sched.md (sched_use_fpu): New attribute. * config/epiphany/epiphany.md (isub_i+1): New peephole2. * config/epiphany/epiphany.h (get_attr_sched_use_fpu): Declare. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193915 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/epiphany/epiphgany.md (maddsi_combine): Fix output pattern.amylaar2012-11-281-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193897 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/epiphany/epiphany.opt (mfp-iarith): New option.amylaar2012-11-283-19/+58
| | | | | | | | | | | | | | | | | | * config/epiphany/epiphgany.md (addsi3): Check for TARGET_FP_IARITH. (subsi3, iadd, isub): Rename to .. (subsi3_i, iadd_i, isub_i): .. This. (subsi3, iadd, isub): New define_expands. * config/epiphany/epiphgany.md (attribute type): Add v2fp. (attribute fp_mode): Test for v2fp. (<float_operation:insn_opname>v2sf3_i): Change type to v2fp. * config/epiphany/epiphgany-sched.md (fp_arith_nearest, fp_arith_trunc): Combine to .. (fp_arith): .. this. (v2fp_arith): New insn reservation. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193896 138bc75d-0d04-0410-961f-82ee72b054a4
* Adjust last change to plus_constant change.amylaar2012-11-281-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193895 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/epiphany/predicates.md (move_double_src_operand):amylaar2012-11-282-0/+14
| | | | | | | | | | Check that misaligned addresses are offsettable. (move_dest_operand): Likewise. * config/epiphany/epiphany.c (REG_OK_FOR_BASE_P): Don't force a misaligned stack address to reg+index. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193894 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-11-28 Oleg Raikhman <oleg@adapteva.com>amylaar2012-11-281-1/+8
| | | | | | | * config/epiphany/epiphany.h (ASM_OUTPUT_ALIGN_WITH_NOP): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193892 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/epiphany/epiphany.opt (-may-round-for-trunc): New option.amylaar2012-11-282-1/+8
| | | | | | | * config/epiphany/epiphany.md (*fix_truncsfsi2_i): Take it into account. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193891 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/epiphany/epiphany.md (mov<mode>, *mov<mode>_insn): Checkamylaar2012-11-282-1/+9
| | | | | | | | for misaligned memory operands. * config/epiphany/predicates.md (misaligned_operand): New predicate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193890 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/epiphany/epiphany.h (HARD_REGNO_RENAME_OK): Define.amylaar2012-11-283-0/+16
| | | | | | | | * config/epiphany/epiphany-protos.h (epiphany_regno_rename_ok): Declare. * config/epiphany/epiphany.c (epiphany_regno_rename_ok): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193889 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/i386.mduros2012-11-271-2/+2
| | | | | | | | | (*jcc<X87MODEF:mode>_<SWI24:mode>_i387 splitters): Remove unneeded temporary. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193856 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/arm/arm.c (thumb1_reorg): New function.amker2012-11-272-38/+65
| | | | | | | | | | | (arm_reorg): Call thumb1_reorg. (thumb1_final_prescan_insn): Record src operand in thumb1_cc_op0. * config/arm/arm.md : Remove peephole2 patterns which rewrite move into subtract of ZERO. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193841 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/jgreenhalgh2012-11-263-2/+19
| | | | | | | | | | | | | * config/aarch64/aarch64-builtins.c (aarch64_builtin_decls): New. (aarch64_init_simd_builtins): Store declaration after builtin initialisation. (aarch64_builtin_decl): New. * config/aarch64/aarch64-protos.h (aarch64_builtin_decl): New. * config/aarch64/aarch64.c (TARGET_BUILTIN_DECL): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193823 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/gretay2012-11-264-6/+63
| | | | | | | | | | | | | | | | | | | | | | | 2012-11-26 Kyrylo Tkachov <kyrylo.tkachov@arm.com> * config/arm/arm.h (TARGET_FPU_ARMV8): New macro. * config/arm/arm.md (UNSPEC_VRINTZ, UNSPEC_VRINTP, UNSPEC_VRINTM) (UNSPEC_VRINTR, UNSPEC_VRINTX, UNSPEC_VRINTA): New unspecs. (f_rints, f_rintd): New types. * config/arm/iterators.md (VRINT): New int iterator. (F_fma_type): Remove. (vfp_type): New mode attribute. (vfp_double_cond): Likewise. (vrint_pattern, vrint_variant, vrint_predicable): New int attribute. * config/arm/vfp.md (fma<SDF:mode>4): Use vfp_type iterator instead of F_fma_type. (*fmsub<SDF:mode>4, *fnmsub<SDF:mode>4, *fnmadd<SDF:mode>4): Likewise. (<vrint_pattern><SDF:mode>2): New pattern. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193813 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-11-26 Greta Yorsh <Greta.Yorsh@arm.com>gretay2012-11-261-1/+3
| | | | | | | | * config/arm/arm.h (TARGET_LDRD): Reject Thumb1 targets. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193810 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-11-26 Matthias Klose <doko@ubuntu.com>doko2012-11-261-1/+1
| | | | | | | | * config/rs6000/t-linux (MULTIARCH_DIRNAME): Fix unbalanced parentheses. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193807 138bc75d-0d04-0410-961f-82ee72b054a4
* * config/i386/sse.md (<sse>_loadu<ssemodesuffix><avxsizesuffix>):uros2012-11-251-12/+2
| | | | | | | | | | | | Do not depend on TARGET_SSE_TYPELESS_STORES. (<sse2>_loaddqu<avxsizesuffix>): Ditto. (<sse>_storeu<ssemodesuffix><avxsizesuffix>): Fix handling of TARGET_SSE_TYPELESS_STORES. (<sse2>_storedqu<avxsizesuffix>): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193797 138bc75d-0d04-0410-961f-82ee72b054a4
* [libsanitizer] add mach_override and enable libsanitizer on darwinkcc2012-11-241-0/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193781 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-11-24 Matthias Klose <doko@ubuntu.com>doko2012-11-241-1/+1
| | | | | | | | * gcc/config/i386/t-linux64 (MULTILIB_OSDIRNAMES): Use x86_64-linux-gnux32 as multiarch name for x32. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193779 138bc75d-0d04-0410-961f-82ee72b054a4
* 2012-11-24 Matthias Klose <doko@ubuntu.com>doko2012-11-241-1/+1
| | | | | | | | | * configure.ac (multiarch): Use $enableval instead of $withval. * configure: Regenerate. * config/i386/t-kfreebsd (MULTILIB_OSDIRNAMES): Filter out x32. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193776 138bc75d-0d04-0410-961f-82ee72b054a4