Carlo Wood
a596f4d7a2
* dsp16xx.h : Clean up of macro OPTIMIZATION_OPTIONS
...
From-SVN: r21002
1998-07-07 17:33:15 -06:00
Jeff Law
9ec36da574
* Merge from gcc2 June 9, 1998 snapshot. See ChangeLog.13 for
...
details.
From-SVN: r20808
1998-06-29 15:40:49 -06:00
John Carr
d2a0c2eee4
dsp16xx.h (FIRST_PSEUDO_REGISTER): Add parentheses to definition.
...
* dsp16xx.h (FIRST_PSEUDO_REGISTER): Add parentheses to definition.
* dsp16xx.c (next_cc_user_unsigned): New function.
Remove save_next_cc_user_code.
(print_operand): Use HOST_WIDE_INT_PRINT_* macros.
* dsp16xx.md: Call next_cc_user_unsigned instead of using
save_next_cc_user_code.
Use gen_rtx_* functions instead of gen_rtx.
* rs6000.c: Add trap_comparison_operator to PREDICATE_CODES.
From-SVN: r20757
1998-06-27 17:47:15 +00:00
Jeff Law
f5963e6170
* Check in merge from gcc2. See ChangeLog.12 for details.
...
From-SVN: r19553
1998-05-05 17:18:02 -06:00
Jeffrey A Law
3a598fbeb4
1750a.md, [...]: Use GEN_INT consistently.
...
* 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-31 22:20:26 -07:00
Ken Raeburn
cbd5b9a22d
Change MEMORY_MOVE_COST defs and uses to be able to take register class into 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-16 11:56:25 +00:00
Joern Rennecke
33f7f35385
rtl.h (addr_diff_vec_flags): New typedef.
...
* 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-06 14:54:07 +00:00
Anthony Green
c6aded7c2b
flags.h: New flag (optimize_size).
...
* flags.h: New flag (optimize_size).
* toplev.c (main): Parse -Os option and set optimize_space
accordingly.
* gcc.c (default_compilers), cp/lang-specs.h, f/lang-specs.h: Define
__OPTIMIZE_SIZE__ when compiling with -Os.
* config/dsp16xx/dsp16xx.h, config/i386/i386.h,
config/i386/dgux.h, config/i960/i960.h, config/pdp11/pdp11.h,
config/v850/v850.h (OPTIMIZATION_OPTIONS): New SIZE argument
to macro.
* config/i386/i386.c (optimization_options): Accept new SIZE argument.
From-SVN: r17497
1998-01-26 16:00:04 -07:00
Ian Lance Taylor
18543a2208
expr.c (do_tablejump): Let CASE_VECTOR_PC_RELATIVE be an expression.
...
* 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-12-19 09:43:29 -07:00
Ian Lance Taylor
2922fe9ecc
Define SMALL_REGISTER_CLASSES with a value
...
From-SVN: r13303
1996-12-13 01:05:20 +00:00
Joern Rennecke
b2fba9b733
(ASM_OUTPUT_BYTE): adjust definition to actual type of VALUE,
...
which is HOST_WIDE_INT.
From-SVN: r13045
1996-10-28 13:37:55 +00:00
Richard Kenner
4e0c8ad2e7
(USER_LABEL_PREFIX): Define instead of ASM_OUTPUT_LABELREF.
...
From-SVN: r12750
1996-09-21 06:53:37 -04:00
Doug Evans
c9e460d358
({ASM,LINK}_SPEC): %{V} %{v:%{!V:-V}} -> %{v:-V}.
...
From-SVN: r12432
1996-07-12 18:45:41 +00:00
Jeff Law
2c7ee1a641
calls.c (expand_call): Remove current_call_is_indirect nonsense.
...
* calls.c (expand_call): Remove current_call_is_indirect nonsense.
Add additional argument to INIT_CUMULATIVE_ARGS.
(emit_library_call): Likewise.
(emit_library_call_value): Likewise.
* expr.c (expand_builtin): Likewise.
* function.c (assign_parms): Likewise.
* cp/method.c (emit_thunk): Likewise.
* config/pa/pa.h (hppa_args): New field "indirect".
(INIT_CUMULATIVE_ARGS): Initialize "indirect" field.
(FUNCTION_ARG): Check "indirect" field, rather than
"current_call_is_indirect".
* All other backends updated with new argument to
INIT_CUMULATIVE_ARGS
From-SVN: r11641
1996-03-29 07:37:11 -07:00
Doug Evans
a02303b851
dsp16xx.h (EXTRA_SECTIONS): Delete in_bss.
...
* dsp16xx/dsp16xx.h (EXTRA_SECTIONS): Delete in_bss.
(EXTRA_SECTION_FUNCTIONS): Delete bss_section.
From-SVN: r11369
1996-02-29 03:02:01 +00:00
Richard Kenner
abc95ed36d
Fix spelling errors.
...
From-SVN: r10289
1995-08-28 06:54:22 -04:00
Richard Kenner
a8f1399a60
Change FSF address.
...
From-SVN: r9985
1995-06-15 16:50:17 -04:00
Richard Kenner
97aadbb900
Update FSF address.
...
From-SVN: r9975
1995-06-15 09:57:32 -04:00
Doug Evans
a9821774c9
Undo patch of May 11. -nostdlib implies -nostartfiles again.
...
From-SVN: r9930
1995-06-12 18:52:41 +00:00
Doug Evans
a7c508fe54
(CROSS_LINK_SPEC): ENDFILE_SPEC moved to -nostartfiles.
...
From-SVN: r9792
1995-05-24 02:17:46 +00:00
Richard Kenner
32638aad91
(print_operand_address): Fix misspellings in messages.
...
From-SVN: r9713
1995-05-16 08:42:29 -04:00
Richard Kenner
ddd5a7c180
Fix typos in comments.
...
From-SVN: r9711
1995-05-16 08:14:26 -04:00
Richard Kenner
8b109b37fc
Added arg to RETURN_POPS_ARGS.
...
From-SVN: r8999
1995-02-21 18:21:14 -05:00
Richard Kenner
a882392b9d
Update comment.
...
From-SVN: r8813
1995-01-25 14:49:08 -05:00
Richard Kenner
af02caa442
(dsp16xx_reg_class_from_letter): Change error message text.
...
(limit_reload_class, double_reg_to_memory): Likewise.
(print_operand_address, emit_1600_core_shift): Likewise.
(gen_tst_reg, gen_compare_reg): Likewise.
From-SVN: r8812
1995-01-25 14:42:01 -05:00
Jim Wilson
a85294b3d2
(HAVE_VPRINTF): Delete.
...
From-SVN: r8671
1994-12-19 17:54:56 -08:00
Richard Kenner
cf1003b3b5
(RTX_COSTS): Removed reference to obsolete LSHIFT.
...
From-SVN: r8479
1994-11-17 11:11:42 -05:00
Richard Kenner
9ee2aa48b2
(notice_update_cc): Removed reference to obsolete LSHIFT.
...
From-SVN: r8478
1994-11-17 11:11:17 -05:00
Torbjorn Granlund
bd5adf7823
(mulqi3): Fix typo in MULT mode.
...
From-SVN: r8400
1994-11-07 22:51:50 +00:00
Richard Kenner
d93578fe85
Initial revision
...
From-SVN: r8051
1994-09-09 13:58:24 -04:00
Richard Kenner
946730d09e
Initial revision
...
From-SVN: r8050
1994-09-09 13:42:23 -04:00
Richard Kenner
c83c42d9a8
Initial revision
...
From-SVN: r8049
1994-09-09 13:28:38 -04:00