aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/m32r
AgeCommit message (Collapse)AuthorFilesLines
1998-05-08Hunk of m32r changesMichael Meissner3-472/+674
From-SVN: r19636
1998-05-05* Check in merge from gcc2. See ChangeLog.12 for details.Jeff Law1-1/+1
From-SVN: r19553
1998-04-28update m32r portMichael Meissner4-142/+882
From-SVN: r19465
1998-04-09Removed unused functions.Nick Clifton1-123/+57
Changed call_address_operand() to only accept symbolic addresses. From-SVN: r19070
1998-03-311750a.md, [...]: Use GEN_INT consistently.Jeffrey A Law1-3/+3
* 1750a.md, arm.c, clipper.c, clipper.md: Use GEN_INT consistently. * convex.h, dsp16xx.c, fx80.md, gmicro.c, gmicro.md: Likewise. * i370.h, i370.md, i860.c, i860.h, i860.md, i960.c: Likewise. * i960.h, i960.md, m32r.md, m68k.md, m68kv4.h, m88k.c: Likewise. * m88k.md, ns32k.c, ns32k.md, pdp11.c, pdp11.h, pdp11.md: Likewise. * pyr.c, pyr.h, pyr.md, romp.c, romp.h, romp.md: Likewise. * rs6000.md, sparc.c, sparc.h, sparc.md, spur.c, spur.md: Likewise. * tahoe.md, vax.h, vax.md, we32k.c, we32k.h, we32k.md: Likewise. * md.texi: Likewise. From-SVN: r18927
1998-03-16Change MEMORY_MOVE_COST defs and uses to be able to take register class into ↵Ken Raeburn1-1/+1
account. Change MEMORY_MOVE_COST defs and uses to be able to take register class into account. Change mips def to actually do so, others to just ignore extra args. Doc changes too. From-SVN: r18621
1998-03-06rtl.h (addr_diff_vec_flags): New typedef.Joern Rennecke1-1/+1
* rtl.h (addr_diff_vec_flags): New typedef. (union rtunion_def): New member rt_addr_diff_vec_flags. (ADDR_DIFF_VEC_FLAGS): New macro. * sh.c (output_branch): Fix offset overflow problems. * final.c (shorten_branches): Implement CASE_VECTOR_SHORTEN_MODE. (final_scan_insn): New argument BODY for ASM_OUTPUT_ADDR_DIFF_ELT. * rtl.def (ADDR_DIFF_VEC): Three new fields (min, max and flags). * stmt.c (expand_end_case): Supply new arguments to gen_rtx_ADDR_DIFF_VEC. * 1750a.h (ASM_OUTPUT_ADDR_DIFF_ELT): New argument BODY. * alpha.h, arc.h, clipper.h, convex.h : Likewise. * dsp16xx.h, elxsi.h, fx80.h, gmicro.h, h8300.h : Likewise. * i370.h, i386.h, i860.h, i960.h, m32r.h, m68k.h, m88k.h : Likewise. * mips.h, mn10200.h, mn10300.h, ns32k.h, pa.h, pyr.h : Likewise. * rs6000.h, sh.h, sparc.h, spur.h, tahoe.h, v850.h : Likewise. * vax.h, we32k.h, alpha/vms.h, arm/aof.h, arm/aout.h : Likewise. * i386/386bsd.h, i386/freebsd-elf.h : Likewise. * i386/freebsd.h, i386/linux.h : Likewise. * i386/netbsd.h, i386/osfrose.h, i386/ptx4-i.h, i386/sco5.h : Likewise. * i386/sysv4.h, m68k/3b1.h, m68k/dpx2.h, m68k/hp320.h : Likewise. * m68k/mot3300.h, m68k/sgs.h : Likewise. * m68k/tower-as.h, ns32k/encore.h, sparc/pbd.h : Likewise. * sh.h (INSN_ALIGN, INSN_LENGTH_ALIGNMENT): Define. (CASE_VECTOR_SHORTEN_MODE): Define. (short_cbranch_p, align_length, addr_diff_vec_adjust): Don't declare. (med_branch_p, braf_branch_p): Don't declare. (mdep_reorg_phase, barrier_align): Declare. (ADJUST_INSN_LENGTH): Remove alignment handling. * sh.c (uid_align, uid_align_max): Deleted. (max_uid_before_fixup_addr_diff_vecs, branch_offset): Deleted. (short_cbranch_p, med_branch_p, braf_branch_p, align_length): Deleted. (cache_align_p, fixup_aligns, addr_diff_vec_adjust): Deleted. (output_far_jump): Don't use braf_branch_p. (output_branchy_insn): Don't use branch_offset. (find_barrier): Remove checks for max_uid_before_fixup_addr_diff_vecs. Remove paired barrier stuff. Don't use cache_align_p. Take alignment insns into account. (fixup_addr_diff_vecs): Reduce to only fixing up the base label of the addr_diff_vec. (barrier_align, branch_dest): New function. (machine_dependent_reorg, split_branches): Remove infrastructure for branch shortening that is now provided in the backend. * sh.md (short_cbranch_p, med_branch_p, med_cbranch_p): New attributes. (braf_branch_p, braf_cbranch_p): Likewise. (attribute length): Use new attributes. (casesi_worker): Get mode and unsignednedd from ADDR_DIFF_VEC. (addr_diff_vec_adjust): Delete. (align_2): Now a define_expand. (align_log): Now length 0. From-SVN: r18433
1998-03-06Fix calculation of right function unitMichael Meissner1-1/+1
From-SVN: r18432
1998-03-02final.c (insn_last_address, [...]): New variables.J"orn Rennecke1-4/+3
* final.c (insn_last_address, insn_current_align, uid_align): New variables. (in_align_chain, align_fuzz, align_shrink_fuzz): New functions. (insn_current_reference_address): Likewise. (shorten_branches, final_scan_insn): Implement LABEL_ALIGN, LABEL_ALIGN_AFTER_BARRIER and LOOP_ALIGN target macros. (label_to_alignment): New function. * genattrtab.c (write_test_expr): If one of LABEL_ALIGN, LABEL_ALIGN_AFTER_BARRIER or LOOP_ALIGN is defined, call insn_current_reference_address instead of insn_current_address. (or_attr_value, write_length_unit_log): New functions. (main): Call write_length_unit_log. (write_const_num_delay_slots): Output extra '\n'. * alpha.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): replace with: (LOOP_ALIGN, ALIGN_LABEL_AFTER_BARRIER). * i386.h, i386/osfrose.h, i386/svr3dbx.h, m68k.h, sparc.h: Likewise. * arc.h, m32r.h (ASM_OUTPUT_LOOP_ALIGN): replace with: (LOOP_ALIGN). * i960.h, m88k.h: (ASM_OUTPUT_ALIGN_CODE): Replace with: (LABEL_ALIGN_AFTER_BARRIER). * ns32k/encore.h, ns32k/merlin.h, ns32k.h, ns32k/sequent.h: Likewise. * ns32k/tek6000.h: Likewise. * i386/gas.h (ASM_OUTPUT_LOOP_ALIGN, ASM_OUTPUT_ALIGN_CODE): Delete. * i386.md (casesi+1): Use ASM_OUTPUT_ALIGN instead of ASM_OUTPUT_ALIGN_CODE. From-SVN: r18357
1998-01-28rtlanal.c (dead_or_set_regno_p): Ignore REG_DEAD notes after reload completes.Mike Stump1-10/+0
* rtlanal.c (dead_or_set_regno_p): Ignore REG_DEAD notes after reload completes. * genattrtab.c (reload_completed): Define. * m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Remove obsolete comments. From-SVN: r17542
1998-01-27More comment tweaks.Jeff Law1-0/+8
From-SVN: r17525
1998-01-27m32r.md, [...]: Add some comments regarding use of dead_or_set_p.Mike Stump1-6/+8
* m32r.md, mips.md, mn10200.md, mn10300.md, pyr.md: Add some comments regarding use of dead_or_set_p. From-SVN: r17514
1997-12-19expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an expression.Ian Lance Taylor1-10/+11
* expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an expression. * stmt.c (expand_end_case): Likewise. * alpha.h (CASE_VECTOR_PC_RELATIVE): Update. * fx80.h, gmicro.h, m68k.h, m88k.h, ns32k.h: Likewise. * rs6000.h, sh.h, tahoe.h, v850.h vax.h z8k.h: Likewise. From-SVN: r17155
1997-05-02m32r.c (addr24_operand): Handle literals.Doug Evans1-22/+32
* m32r/m32r.c (addr24_operand): Handle literals. (m32r_output_function_prologue): Use IMMEDIATE_PREFIX. (m32r_output_function_epilogue): Likewise. Use shorter add insn if able. From-SVN: r14013
1997-05-02m32r.h (LIT_NAME_P): New macro.Doug Evans1-3/+6
* m32r/m32r.h (LIT_NAME_P): New macro. (SMALL_NAME_P): Use it. (ASM_OUTPUT_ALIGNED_COMMON): Don't output to scommon if -msdata=none. From-SVN: r14012
1997-04-11Delete some FIXMEs.Doug Evans1-3/+0
From-SVN: r13861
1997-04-11Delete some FIXMEs.Doug Evans1-23/+5
From-SVN: r13860
1997-04-11Delete "FIXME".Doug Evans1-1/+1
From-SVN: r13859
1997-04-11(REG_ALLOC_ORDER): Restore to original setting.Doug Evans1-6/+2
From-SVN: r13858
1997-04-11m32r.h (UPPER16_P): Fix calculation.Doug Evans3-11/+87
* m32r/m32r.h (UPPER16_P): Fix calculation. * m32r/m32r.c (two_insn_const_operand): New function. (m32r_print_operand): Handle 'X'. * m32r/m32r.md (movsi): Tweak. (*movsi_insn): Output hex value of constants too. (movsi define_split): Add. (andsi3,orsi3,xorsi3): Output hex value of constants too. From-SVN: r13857
1997-03-24Initial revisionDoug Evans6-0/+5380
From-SVN: r13761