- 22 Apr, 2010 1 commit
-
-
PR target/43744 * config/sh/sh.c (find_barrier): Don't emit a constant pool in the middle of insns for casesi_worker_2. From-SVN: r158655
Kaz Kojima committed
-
- 16 Apr, 2010 1 commit
-
-
From-SVN: r158399
Christian Bruel committed
-
- 15 Apr, 2010 2 commits
-
-
PR target/43471 * config/sh/sh.c (sh_legitimize_reload_address): Use MAYBE_BASE_REGISTER_RTX_P instead of BASE_REGISTER_RTX_P. Remove a unneeded check for offset_base. From-SVN: r158393
Kaz Kojima committed -
PR target/43742 * config/sh/sh.md (doloop_end_split, dect): Undo previous patch. Use matching constraints to ensure inputs match the output. From-SVN: r158367
Bernd Schmidt committed
-
- 14 Apr, 2010 1 commit
-
-
PR target/43742 * config/sh/sh.md (doloop_end_split): Remove "+r" constraint in an input-only operand. From-SVN: r158361
Kaz Kojima committed
-
- 11 Apr, 2010 2 commits
-
-
* config/sh/sh-protos.h (sh_legitimize_reload_address): Declare. * config/sh/sh.c: Include reload.h. (sh_legitimize_reload_address): New. * config/sh/sh.h (LEGITIMIZE_RELOAD_ADDRESS): Use sh_legitimize_reload_address. From-SVN: r158208
Kaz Kojima committed -
* config/sh/sh.md (*movqi_pop): New insn pattern. * config/sh/predicates.md (sh_no_delay_pop_operand): New predicate. * gcc.target/sh/rte-delay-slot.c: New test. From-SVN: r158207
Kaushik Phatak committed
-
- 28 Feb, 2010 1 commit
-
-
* config/sh/sh.c (unspec_bbr_uid): New. (gen_block_redirect): Use it instead of INSN_UID. (gen_far_branch): Likewise. From-SVN: r157128
Kaz Kojima committed
-
- 10 Feb, 2010 3 commits
-
-
* config/sh/sh.c (find_barrier): Skip call insn with a REG_EH_REGION note when flag_exceptions is set. From-SVN: r156656
Kaz Kojima committed -
* config/sh/sh.c (find_barrier): Increase length for non delayed conditional branches. From-SVN: r156649
Christian Bruel committed -
* config/sh/sh.c (find_barrier): Don't emit a CP inside the GP setting. From-SVN: r156648
Christian Bruel committed
-
- 27 Jan, 2010 1 commit
-
-
From-SVN: r156282
Christian Bruel committed
-
- 26 Jan, 2010 1 commit
-
-
From-SVN: r156229
Christian Bruel committed
-
- 08 Jan, 2010 1 commit
-
-
* config/sh/sh.c (sh_expand_epilogue): Fix interrupt handler register popping order. From-SVN: r155742
DJ Delorie committed
-
- 30 Nov, 2009 1 commit
-
-
* config/sh/sh.c (sh_promote_prototypes): Make static. (sh_function_value, sh_libcall_value, sh_function_value_regno_p): New functions. (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Declare. * config/sh/sh.h: (FUNCTION_VALUE_REGNO_P): Redefine, use sh_function_value_regno_p. (FUNCTION_VALUE, LIBCALL_VALUE): Remove. * config/sh/sh-protos.h (sh_function_value_regno_p): Declare. (sh_promote_prototypes) : Remove. From-SVN: r154842
Anatoly Sokolov committed
-
- 21 Nov, 2009 1 commit
-
-
* config/sh/sh.md (cmpeqsi_t-1): Use logical_operand predicate for operand 1. From-SVN: r154412
Kaushik Phatak committed
-
- 28 Oct, 2009 2 commits
-
-
2009-10-28 Paolo Bonzini <bonzini@gnu.org> * config/sh/sh.md (cbranchfp4_media): Remove hack extending cstore result to DImode. From-SVN: r153646
Paolo Bonzini committed -
* config/sh/sh.md (stuff_delay_slot): Move const_int pattern inside the unspec vector. From-SVN: r153643
Kaz Kojima committed
-
- 25 Oct, 2009 1 commit
-
-
PR target/41813 * config/sh/sh.md (stuff_delay_slot): Don't set T_REG in pattern. From-SVN: r153543
Kaz Kojima committed
-
- 21 Oct, 2009 1 commit
-
-
* config/sh/sh.c (nonpic_symbol_mentioned_p): Allow UNSPEC_TPOFF. testsuite: * gcc.dg/tls/pie-1.c: New test. From-SVN: r153060
Joseph Myers committed
-
- 14 Oct, 2009 1 commit
-
-
* config/sh/sh.c (TARGET_BUILTIN_DECL): Define. (struct builtin_description): Add fndecl field. (bdesc): Remove const qualifier. Update initializer. (sh_media_init_builtins): Remove const qualifier for d. Record the result of add_builtin_function to the fndecl field. (sh_builtin_decl): New. (sh_media_builtin_decl): New. From-SVN: r152745
Kaz Kojima committed
-
- 30 Sep, 2009 1 commit
-
-
config.gcc (sh-symbianelf): Replace definition of extra_objs with separate definitions of c_target_objs and... * config.gcc (sh-symbianelf): Replace definition of extra_objs with separate definitions of c_target_objs and cxx_target_objs. * config/sh/t-sh: Add rules to build symbian-cxx.o, symbian-c.o and symbian-base.o. * config/sh/sh.c (TARGET_CXX_INPUT_EXPORT_CLASS): Use sh_symbian_import_export_class. * config/sh/sh-protos.h: Fix names of exported symbian functions. * config/sh/symbian.c: Delete, moving code into... * config/sh/symbian-base.c: ... here * config/sh/symbian-c.c: ... and here * config/sh/symbian-cxx.c: ... and here. From-SVN: r152323
Nick Clifton committed
-
- 22 Sep, 2009 1 commit
-
-
* config/sh/sh-protos.h (sh_initialize_trampoline): Remove. * config/sh/sh.c (TARGET_TRAMPOLINE_INIT): New. (TARGET_TRAMPOLINE_ADJUST_ADDRESS): New. (sh_trampoline_init): Rename from sh_initialize_trampoline; make static; adjust for target hook parameters. (sh_trampoline_adjust_address): New. * config/sh/sh.h (INITIALIZE_TRAMPOLINE): New. (TRAMPOLINE_ADJUST_ADDRESS): Move code to sh_trampoline_adjust_address. From-SVN: r152011
Richard Henderson committed
-
- 16 Sep, 2009 1 commit
-
-
* config/sh/sh.c (output_stack_adjust): Add new argument frame_p. (sh_expand_prologue): Update calls to output_stack_adjust. (sh_expand_epilogue): Likewise. * gcc.target/sh/struct-arg-dw2.c: New test. Co-Authored-By: Kaz Kojima <kkojima@gcc.gnu.org> From-SVN: r151735
DJ Delorie committed
-
- 27 Aug, 2009 1 commit
-
-
* config/sh/sh.c (split_branches): Check the result of next_active_insn. From-SVN: r151152
Kaz Kojima committed
-
- 22 Aug, 2009 1 commit
-
-
* config/sh/t-sh (TARGET_LIBGCC2_CFLAGS): Define. * config/sh/t-netbsd (TARGET_LIBGCC2_CFLAGS): Add -mieee. * config/sh/t-linux (HOST_LIBGCC2_CFLAGS): Add -mieee. From-SVN: r151017
Kaz Kojima committed
-
- 19 Aug, 2009 1 commit
-
-
* method.c (use_thunk): Call free_after_compilation after assemble_end_function. * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Don't call free_after_compilation. * config/score/score7.c (score7_output_mi_thunk): Likewise. * config/score/score3.c (score3_output_mi_thunk): Likewise. * config/ia64/ia64.c (ia64_output_mi_thunk): Likewise. * config/mips/mips.c (mips_output_mi_thunk): Likewise. * config/sh/sh.c (sh_output_mi_thunk): Likewise. * config/m68k/m68k.c (m68k_output_mi_thunk): Likewise. * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise. From-SVN: r150938
Jakub Jelinek committed
-
- 13 Aug, 2009 1 commit
-
-
* config/sh/sh.c (sh_override_options): When flag_exceptions or flag_unwind_tables is on, turn flag_reorder_blocks_and_partition off. From-SVN: r150727
Kaz Kojima committed
-
- 12 Aug, 2009 2 commits
-
-
re PR target/41029 (ICE RTL check: expected code 'reg', have 'post_inc' in rhs_regno, at rtl.h:1008) PR target/41029 * config/sh/sh.md (reload_outdf__RnFRm+4): Fix thinko. From-SVN: r150709
Kaz Kojima committed -
* config/sh/sh.c (sh_promote_function_mode): Add ATTRIBUTE_UNUSED. From-SVN: r150708
Kaz Kojima committed
-
- 04 Aug, 2009 1 commit
-
-
* config/sh/linux-atomic.asm (ATOMIC_BOOL_COMPARE_AND_SWAP, ATOMIC_OP_AND_FETCH, ATOMIC_COMBOP_AND_FETCH): Define. From-SVN: r150469
Kaz Kojima committed
-
- 03 Aug, 2009 2 commits
-
-
linux-atomic.asm (ATOMIC_COMPARE_AND_SWAP): Rename __sync_compare_and_swap_* to __sync_val_compare_and_swap_*. * config/sh/linux-atomic.asm (ATOMIC_COMPARE_AND_SWAP): Rename __sync_compare_and_swap_* to __sync_val_compare_and_swap_*. From-SVN: r150371
SUGIOKA Toshinobu committed -
* config/sh/sh-protos.h (sh_promote_function_mode): Remove. * config/sh/sh.c (sh_promote_function_mode): Wrap long lines. (TARGET_PROMOTE_FUNCTION_MODE): Define. (TARGET_PROMOTE_FUNCTION_ARGS): Remove. (sh_promote_function_mode): Fix typo. From-SVN: r150368
Kaz Kojima committed
-
- 02 Aug, 2009 1 commit
-
-
* explow.c (promote_function_mode): Remove assert. * config/sh/sh.c (sh_promote_function_mode): Declare. From-SVN: r150344
Paolo Bonzini committed
-
- 01 Aug, 2009 1 commit
-
-
2009-04-17 Paolo Bonzini <bonzini@gnu.org> * expr.c (store_constructor): Use promote_decl_mode. Remove now write-only variable unsignedp. (expand_expr_real_1): Use promote_decl_mode. * expr.h (promote_function_mode, promote_decl_mode): New. (promote_mode): Remove last argument. * function.c (assign_temp): Drop last argument of promote_mode. (assign_parm_find_data_types): Use promote_function_mode. (assign_parm_setup_reg): Likewise. (expand_function_end): Use promote_function_mode. * calls.c (initialize_argument_information): Use promote_function_mode. (precompute_arguments): Use promote_mode instead of checking if only PROMOTE_FUNCTION_MODE is defined. (expand_call): When making sibcall decisions, use promote_function_mode. Below, remove an if for targetm.calls.promote_function_return and and use promote_function_mode. (emit_library_call_value_1): Use promote_function_mode, fix bug where promote_mode was passed FOR_CALL == 0 for a return value in an assertion. * cfgexpand.c (expand_one_register_var): Use promote_decl_mode. * explow.c (promote_function_mode, promote_decl_mode): New. (promote_mode): Keep only the FOR_CALL == 0 case. * combine.c (setup_incoming_promotion): Remove test of promote_function_args. Use promote_function_mode. * stmt.c (expand_value_return): Use promote_decl_mode. (expand_decl): Use promote_decl_mode. * expr.c (store_constructor): Use promote_decl_mode. Remove now write-only variable unsignedp. (expand_expr_real_1): Use promote_decl_mode. * expr.h (promote_function_mode, promote_decl_mode): New. (promote_mode): Remove last argument. * function.c (assign_temp): Drop last argument of promote_mode. (assign_parm_find_data_types): Use promote_function_mode. (assign_parm_setup_reg): Likewise. (expand_function_end): Use promote_function_mode. * calls.c (initialize_argument_information): Use promote_function_mode. (precompute_arguments): Use promote_mode instead of checking if only PROMOTE_FUNCTION_MODE is defined. (expand_call): When making sibcall decisions, use promote_function_mode. Below, remove an if for targetm.calls.promote_function_return and and use promote_function_mode. (emit_library_call_value_1): Use promote_function_mode, fix bug where promote_mode was passed FOR_CALL == 0 for a return value in an assertion. * cfgexpand.c (expand_one_register_var): Use promote_decl_mode. * explow.c (promote_function_mode, promote_decl_mode): New. (promote_mode): Keep only the FOR_CALL == 0 case. * combine.c (setup_incoming_promotion): Remove test of promote_function_args. Use promote_function_mode. * stmt.c (expand_value_return): Use promote_decl_mode. (expand_decl): Use promote_decl_mode. * explow.c (promote_function_mode): Just call the target hook. * targhooks.c (default_promote_function_mode, default_promote_function_mode_always_promote): New. * targhooks.h (default_promote_function_mode, default_promote_function_mode_always_promote): Declare. * target.h (promote_function_args, promote_function_return): Remove. (promote_function_mode): New. * target-def.h (TARGET_PROMOTE_FUNCTION_ARGS, TARGET_PROMOTE_FUNCTION_RETURN): Remove. (TARGET_PROMOTE_FUNCTION_MODE): New. (TARGET_CALLS): Adjust. * system.h (TARGET_PROMOTE_FUNCTION_ARGS, TARGET_PROMOTE_FUNCTION_RETURN, PROMOTE_FUNCTION_MODE): Poison. * config/s390/s390.h (PROMOTE_FUNCTION_MODE): Move... * config/s390/s390.c (s390_promote_function_mode): ... here, with pointer handling. (TARGET_PROMOTE_FUNCTION_MODE): Define. (TARGET_PROMOTE_FUNCTION_ARGS, TARGET_PROMOTE_FUNCTION_RETURN): Remove. * config/sparc/sparc.h (PROMOTE_FUNCTION_MODE): Move... * config/sparc/sparc.c (sparc_promote_function_mode): ... here, with pointer handling. (TARGET_PROMOTE_FUNCTION_MODE): Define. (TARGET_PROMOTE_FUNCTION_ARGS, TARGET_PROMOTE_FUNCTION_RETURN): Remove. * config/sh/sh-protos.h (sh_promote_function_mode): New. * config/sh/sh.c (sh_promote_function_mode): New. (TARGET_PROMOTE_FUNCTION_MODE): Define. (TARGET_PROMOTE_FUNCTION_ARGS, TARGET_PROMOTE_FUNCTION_RETURN): Remove. * config/cris/cris.h (PROMOTE_FUNCTION_MODE): Move... * config/cris/cris.c (cris_promote_function_mode): ... here. (TARGET_PROMOTE_FUNCTION_MODE): Define. (TARGET_PROMOTE_FUNCTION_ARGS): Remove. * config/mmix/mmix.h (PROMOTE_FUNCTION_MODE): Move... * config/mmix/mmix.c (mmix_promote_function_mode): ... here. (TARGET_PROMOTE_FUNCTION_MODE): Define. (TARGET_PROMOTE_FUNCTION_ARGS): Remove. * config/arm/arm.h (PROMOTE_FUNCTION_MODE): Move... * config/arm/arm.c (arm_promote_function_mode): ... here, without complex type handling. (TARGET_PROMOTE_FUNCTION_MODE): Define. (TARGET_PROMOTE_FUNCTION_ARGS, TARGET_PROMOTE_FUNCTION_RETURN): Remove. * config/pa/pa.c (pa_promote_function_mode): New. (TARGET_PROMOTE_FUNCTION_MODE): Define. (TARGET_PROMOTE_FUNCTION_RETURN): Remove. * config/alpha/alpha.c (TARGET_PROMOTE_FUNCTION_ARGS, TARGET_PROMOTE_FUNCTION_RETURN): Remove. (TARGET_PROMOTE_FUNCTION_MODE): Define equivalently. * config/xtensa/xtensa.c: Likewise. * config/stormy16/stormy16.c: Likewise. * config/iq2000/iq2000.c: Likewise. * config/rs6000/rs6000.c: Likewise. * config/picochip/picochip.c: Likewise. * config/arc/arc.c: Likewise. * config/mcore/mcore.c: Likewise. * config/score/score.c: Likewise. * config/mips/mips.c: Likewise. * config/bfin/bfin.c: Likewise. * config/ia64/ia64.c: Likewise (disabled though). * config/frv/frv.h: Remove pointless remark. * doc/tm.texi (PROMOTE_FUNCTION_MODE, TARGET_PROMOTE_FUNCTION_ARGS, TARGET_PROMOTE_FUNCTION_RETURN): Consolidate into... (TARGET_PROMOTE_FUNCTION_MODE): ... this. From-SVN: r150336
Paolo Bonzini committed
-
- 31 Jul, 2009 1 commit
-
-
* config/sh/sh.md (UNSPECV_SP_SWITCH_B): New. (UNSPECV_SP_SWITCH_E): New. (sp_switch_1): Change to an unspec. (sp_switch_2): Change to an unspec. Don't use post-inc when we replace $r15. * config/sh/sh.c (sh_expand_prologue): Use the constant pool to reference the new stack's address From-SVN: r150306
DJ Delorie committed
-
- 21 Jul, 2009 1 commit
-
-
* config/sh/sh.c (sh_gimplify_va_arg_expr): Wrap the result with a NOP_EXPR if needed. From-SVN: r149854
Kaz Kojima committed
-
- 20 Jul, 2009 1 commit
-
-
From-SVN: r149803
Christian Bruel committed
-
- 09 Jul, 2009 1 commit
-
-
gcc * unwind-dw2-fde-darwin.c: Include dwarf2.h. * config/mmix/mmix.c: Include dwarf2.h. * config/rs6000/darwin-fallback.c: Include dwarf2.h. * config/xtensa/unwind-dw2-xtensa.c: Include dwarf2.h. * config/sh/sh.c: Include dwarf2.h. * config/i386/i386.c: Include dwarf2.h. * Makefile.in (DWARF2_H): Remove 'elf'. * except.c: Include dwarf2.h. * unwind-dw2.c: Include dwarf2.h. * dwarf2out.c: Include dwarf2.h. * unwind-dw2-fde-glibc.c: Include dwarf2.h. * unwind-dw2-fde.c: Include dwarf2.h. * dwarf2asm.c: Include dwarf2.h. gcc/ada * raise-gcc.c: Include dwarf2h (unconditionally). include * elf/dwarf2.h: Remove, renaming to... * dwarf2.h: ... this. From-SVN: r149433
Tom Tromey committed
-
- 06 Jul, 2009 1 commit
-
-
* config.sh/lib1funcs.h (FMOVD_WORKS): Only define if __FMOVD_ENABLED__ is defined. * config/sh/sh.h (TARGET_FMOVD): Provide a default definition. (MASK_FMOVD): Likewise. (TARGET_CPU_CPP_BUILTINS): Define __FMOVD_ENABLED__ if TARGET_FMOVD is true. * config/sh/sh.md (movdf_i4): For alternative 0 use either one or two fmov instructions depending upon whether TARGET_FMOVD is enabled. (split for DF load from memory into register): Also handle MEMs which consist of REG+DISP addressing. (split for DF store from register to memory): Likewise. (movsf_ie): Always use single fp_mode. * config/sh/sh.c (sh_override_options): Do not automatically enable TARGET_MOVD for the SH2A when supporting doubles - leave that to the -mfmovd command line switch. (broken_move): Do not restrict fldi test to only the SH4 and SH4A. (fldi_ok): Always allow. * config/sh/sh.opt (mfmovd): Remove this switch. * doc/invoke.texi (-mfmovd): Remove documentation of this switch. Co-Authored-By: DJ Delorie <dj@redhat.com> From-SVN: r149283
Nick Clifton committed
-