Commit Graph

6939 Commits

Author SHA1 Message Date
Mumit Khan
d6c6680797 uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and -iwithprefix.
H
        * i386/uwin.h (CPP_SPEC): Use -idirafter instead -iprefix and
        -iwithprefix.

From-SVN: r27632
1999-06-20 22:33:58 -06:00
Jeffrey A Law
78eca9f2f8 sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced in last change.
Mon Jun 21 04:44:31 1999  Jeffrey A Law  (law@cygnus.com)
        * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Fix paren error introduced
        in last change.

From-SVN: r27626
1999-06-20 21:45:19 -06:00
David Edelsohn
2f76d42cf7 rs6000.md (movdf_hardfloat32): Use worst case insn length attributes for cases 1 and 2.
* rs6000.md (movdf_hardfloat32): Use worst case insn length
        attributes for cases 1 and 2.

From-SVN: r27620
1999-06-20 09:59:59 -04:00
Richard Earnshaw
61571dfc4a arm.c (arm_override_options): Remove warning about PIC code not being supported.
* arm.c (arm_override_options): Remove warning about PIC code
not being supported.

From-SVN: r27610
1999-06-19 06:32:05 +00:00
Richard Earnshaw
73680b078e arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
* arm.md (*adddf_esfdf_df): Renamed from *adddf_df_esfdf.
(*strsi_predec): Renamed from *strqi_predec.
(*loadsi_shiftpreinc): Renamed from *loadqi_shiftpreinc.
(*loadsi_shiftpredec): Renamed from *loadqi_shiftpredec.

From-SVN: r27609
1999-06-19 06:18:28 +00:00
Philip Blundell
b3b15f1451 From Phil Blundell:
* arm.c (arm_reload_in_hi): Invert sense of test on BYTES_BIG_ENDIAN.

From-SVN: r27607
1999-06-19 05:54:46 +00:00
Richard Earnshaw
6ed30148e2 arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use PIC_OFFSET_TABLE_REGNUM for general alloaction.
* arm.h (CONDITIONAL_REGISTER_USAGE): If flag_pic, never use
PIC_OFFSET_TABLE_REGNUM for general alloaction.
(INITIAL_ELIMINATION_OFFSET): Count the fact that the PIC register
must be stacked if it is used for PIC accesses.
* arm.c (use_return_insn): Handle PIC register specially.
(output_return_instruction): Likewise.
(output_func_{prologue,epilogue}): Likewise.
(output_expand_prologue): Likewise.

From-SVN: r27605
1999-06-19 05:34:51 +00:00
David Edelsohn
000034eb46 rs6000.c (find_addr_reg): New function.
* rs6000.c (find_addr_reg): New function.
        * rs6000.h (find_addr_reg): Declare.
        (offsettable_addr_operand): Delete.
        * rs6000.md (movdf_hardfloat32): Handle non-offsettable loads
        from and stores to GPRs.

From-SVN: r27602
1999-06-18 20:04:59 -04:00
Richard Henderson
34cea4e94f alpha.c (alpha_expand_block_move): Use get_insns rather than gen_sequence as argument to emit_no_conflict_block.
* alpha.c (alpha_expand_block_move): Use get_insns rather than
        gen_sequence as argument to emit_no_conflict_block.

From-SVN: r27598
1999-06-18 08:46:26 -07:00
Nick Clifton
9ddab891df Use .thumb_set pseudo op to mark aliases of thumb functions.
From-SVN: r27586
1999-06-18 01:14:34 +00:00
Don Lindsay
2c8ec431e3 Added -mpcrel flag, and underlying support for PC-relative addressing on m68k.
h
Added -mpcrel flag, and underlying support for PC-relative addressing
on m68k. Patch is tested, and approved by Jim Wilson.

From-SVN: r27576
1999-06-17 15:09:47 +00:00
Jeffrey A Law
51f0646f8a loop.c (move_movables): Note issues with replacing REGs with SUBREGs.
�
        * loop.c (move_movables): Note issues with replacing REGs with
        SUBREGs.
        * mips.h (GO_IF_LEGITIMATE_ADDRESS): Handle SUBREGs properly.

From-SVN: r27573
1999-06-17 07:29:11 -06:00
David O'Brien
8a8f4bc10e * i386/freebsd-elf.h (LINK_SPEC): Fix typo.
From-SVN: r27570
1999-06-17 06:32:57 -06:00
David O'Brien
f4b7680b0f freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and the reference to `mcount' was not correct for the ELF...
�
        * i386/freebsd-elf.h (FUNCTION_PROFILER): labels are not needed and
        the reference to `mcount' was not correct for the ELF on FreeBSD.

From-SVN: r27567
1999-06-17 06:29:14 -06:00
J"orn Rennecke
78d114ef2d * sh.md (mulsi3): Don't add a no-op move at the end.
From-SVN: r27554
1999-06-16 18:46:20 +01:00
Alexandre Oliva
c4e992aee9 mips.c (mips_output_conditional_branch): Add break' between default' label and `close braces'.
* config/mips/mips.c (mips_output_conditional_branch): Add `break'
between `default' label and `close braces'.

From-SVN: r27533
1999-06-15 09:03:35 +00:00
David O'Brien
666260c304 freebsd-elf.h (LINK_SPEC): clean up the linking library specifications and make it realistic.
�
        * i386/freebsd-elf.h (LINK_SPEC): clean up the linking library
        specifications and make it realistic.
        (LIB_SPEC): Likewise.

From-SVN: r27529
1999-06-14 18:55:52 -06:00
Jim Wilson
bf4f78eef9 Fix switch table and reload problems for mips16.
* config/mips/mips.c (mips_secondary_reload_class): Check for
	(PLUS (SP) (REG)) and return appropriate register class.
	* config/mips/mips.md (reload_insi): Delete predicate for operand 1.
	Handle (PLUS (SP) (REG)).
	(tablejump): In mips16 code, use emit_insn instead of emit_jump_insn.
	(tablejump_mips161, tablejump_mips162): Use emit_jump_insn instead
	of emit_insn for tablejump.

From-SVN: r27519
1999-06-14 08:47:30 -07:00
David Edelsohn
13f1623bc0 rs6000.c (output_prolog): RS6000_CALL_GLUE must be asm_fprintf format string by itself.
* rs6000.c (output_prolog): RS6000_CALL_GLUE must be
        asm_fprintf format string by itself.
        (output_function_profiler): Likewise.

From-SVN: r27518
1999-06-14 10:33:46 -04:00
Robert Lipe
ecad242567 * svr4.h (DWARF2_DEBUGGING_INFO): Check for redefinition.
From-SVN: r27509
1999-06-13 20:42:40 -06:00
Jeff Law
1256ed0280 sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands that require PIC code sequences.
`
        * sparc.h (LEGITIMIZE_RELOAD_ADDRESS): Do nothing with operands
        that require PIC code sequences.

From-SVN: r27495
1999-06-11 20:44:18 -06:00
Nick Clifton
c83fe03621 Add support for thumb-elf target.
From-SVN: r27490
1999-06-11 06:24:55 +00:00
Mumit Khan
8c84eeeda1 Mumit Khan <khan@xraylith.wisc.edu>
Mumit Khan  <khan@xraylith.wisc.edu>
        * i386/cygwin.h (SET_ASM_OP): Define.

From-SVN: r27478
1999-06-10 13:45:01 -07:00
J"orn Rennecke
0aa54da2ef sh.h (TARGET_HARWARD, [...]): Changed the former to the latter.
* sh.h (TARGET_HARWARD, TARGET_HARVARD): Changed the former to the
	latter.
	* sh.md (ic_invalidate_line_i): Remove second alternative.

From-SVN: r27469
1999-06-10 12:25:47 +01:00
Nick Clifton
6cf32035ac Add ARM920 and ARM920t.
From-SVN: r27466
1999-06-10 07:09:19 +00:00
Franz Sirl
8d30c4ee01 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
        * rs6000.md (movsi_got_internal_mem): Delete.
        * rs6000.h (CONDITIONAL_REGISTER_USAGE): Mark PIC_OFFSET_TABLE_REGNUM.
        (GOT_TOC_REGNUM): Delete.
        (PIC_OFFSET_TABLE_REGNUM): Define.
        (FINALIZE_PIC): Disable.
        * rs6000.c (rs6000_got_register): New code for fixed pic register.
        (rs6000_replace_regno): Delete.
        (rs6000_finalize_pic): Likewise.
        (output_prolog): Handle PIC_OFFSET_TABLE_REGNUM.

From-SVN: r27457
1999-06-09 09:01:51 -07:00
Michael Hayes
314451260e c4x.h (TARGET_EXPOSE_LDP, [...]): Define new macros.
* config/c4x/c4x.h (TARGET_EXPOSE_LDP, LEGITIMIZE_RELOAD_ADDRESS):
	Define new macros.
	* config/c4x/c4x.c (c4x_emit_move_sequence, src_operand): Use
	TARGET_EXPOSE_LDP.
	(c4x_legitimize_reload_address): New function.
	* config/c4x/c4x.md: Update docs.

From-SVN: r27443
1999-06-09 03:47:24 +00:00
Jeff Law
a3f17a9fca x-hp3bsd44: Delete obsolete and incorrect file.
�
        * m68k/x-hp3bsd44: Delete obsolete and incorrect file.
        * configure.in (m68k-hp-bsd4.4): No longer use x-hp3bsd44.
        * configure: Rebuilt.

From-SVN: r27412
1999-06-07 15:38:31 -06:00
Mark Kettenis
a0852bc081 gnu.h: Include <gnu.h> right after <i386/linux.h>...
�
        * config/i386/gnu.h: Include <gnu.h> right after <i386/linux.h>,
        such that we can override its definitions if necessary.
        (CPP_SPEC): New define.  Support processor specific predefines via
        %(cpp_cpu).
        (CC1_SPEC): New define.  Support processor specific compiler
        options via %(cc1_cpu).
        (STARTFILE_SPEC): New define.  Use crt0.o instead of crt1.o for
        -static.

From-SVN: r27406
1999-06-07 15:10:33 -06:00
Jerry Quinn
729f8bf223 pa.md (fmpyfadd, [...]): New patterns.
(
        * pa.md (fmpyfadd, fmpynfadd, fnegabs): New patterns.

From-SVN: r27398
1999-06-07 13:36:20 -06:00
Jakub Jelinek
6570c0bd04 Jakub Jelinek <jj@ultra.linux.cz>
Jakub Jelinek  <jj@ultra.linux.cz>
        * sparc.md (abstf2): This should be an expand.
        (split after abstf2_notv9): Fix mode.
        (abstf2_hq_v9): New pattern.
        (abstf2_v9): Only use when no hard quad.
        (absdf2_v9): Fix if target is not the same as source.
        (ashrsi3_extend, ashrsi3_extend2, lshrsi3_extend, lshrsi3_extend2):
        Add correct output constraints.

From-SVN: r27384
1999-06-06 04:59:13 -07:00
Mark Mitchell
0ff8379990 mips.h (mips_output_conditional_branch): New function.
* mips.h (mips_output_conditional_branch): New function.
	(mips_adjust_insn_length): Likewise.
	(ASSEMBLER_SCRATCH_REGNUM): New macro.
	(ADJUST_INSN_LENGTH): Likewise.
	* mips.c (print_operand): Add `F' and `W' for floating-point
	comparison opcodes.
	(machine_dependent_reorg): Adjust MIPS16 code; instruction-lengths
	are now in bytes.
	(mips_adjust_insn_length): New function.
	(mips_output_conditional_branch): New function.
	* mips.md (length): Adjust attribute definition to handle
	conditional branches.  	Change lengths to bytes, rather than
	instructions throughout.  Remove length attribute from
	instructions whose length is four bytes, and rely on the default
	instead.
	(dslot): Fix typo in comment.
	Reword conditional branch patterns to use
	mips_output_conditional_branch.

From-SVN: r27369
1999-06-05 11:12:58 +00:00
Rainer Orth
5c5d086f85 osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
* alpha/osf.h (CPP_SUBTARGET_SPEC): Handle -threads.
        (LIB_SPEC): Likewise.
        Link with -lprof1_r for -g/-pg.

From-SVN: r27353
1999-06-04 06:41:19 -07:00
Marc Espie
b132bf372a freebsd-elf.h (SWITCH_TAKES_ARG): Redefine, not define.
* freebsd-elf.h (SWITCH_TAKES_ARG):  Redefine, not define.
        (STARTFILE_SPEC):  Define, override the svr4.h version.
        (ENDFILE_SPEC):  Likewise.

From-SVN: r27340
1999-06-03 17:19:02 -06:00
J"orn Rennecke
4d070fd3cd Fix pcrel too far problems due to upping CACHE_LOG on SH2:
* sh.c (barrier_align): Don't return early for normal branch/barrier
        when optimizing for SH2.

From-SVN: r27333
1999-06-03 22:48:04 +01:00
Robert Lipe
4365b90634 udk.h (LINK_SPEC): Correct linker search path for system libraries.
P
        * i386/udk.h (LINK_SPEC): Correct linker search path for
        system libraries.

From-SVN: r27331
1999-06-03 15:27:41 -06:00
J"orn Rennecke
eb3881bf7d sh.c (fixup_addr_diff_vecs): Emit braf reference label.
* sh.c (fixup_addr_diff_vecs): Emit braf reference label.
	(braf_label_ref_operand): Delete.
	* sh.h (PREDICATE_CODES): Remove braf_label_ref_operand.
	* sh.md (casesi_jump_2): Operand1 is now the inside of a
	label_ref, and has no predicate.
	The patten has a predicate to guard against invalid substitutions.
	(dummy_jump): Delete.
	(casesi): Update use of casesi_jump_2.

From-SVN: r27329
1999-06-03 21:00:16 +01:00
J"orn Rennecke
679dcddbfc * sh.h (CONST_OK_FOR_I, CONST_OK_FOR_L): Cast VALUE to HOST_WIDE_INT.
From-SVN: r27317
1999-06-02 14:56:21 +01:00
Richard Henderson
c04635cceb alpha.c (override_options): Thinko in last patch.
* alpha.c (override_options): Thinko in last patch.
        * alpha/osf.h (CPP_SUBTARGET_SPEC): Define.
        (LIB_SPEC): Recognize -pthread.

From-SVN: r27316
1999-06-02 05:31:27 -07:00
Nick Clifton
c237e58627 Synchronise definitions of USER_LABEL_PREFIX
From-SVN: r27313
1999-06-02 08:46:55 +00:00
David O'Brien
d0550c9b30 configure.in (i[34567]86-*-freebsdelf): Don't include linux.h, i386/freebsd-elf.h no longer requires it.
* configure.in (i[34567]86-*-freebsdelf): Don't include linux.h,
        i386/freebsd-elf.h no longer requires it.  Instead include svr4.h.
        * configure: Rebuilt.
        * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Define.
        (ASM_COMMENT_START, ASM_APP_ON, ASM_APP_OFF, SET_ASM_OP): Likewise.
        (PREFERRED_DEBUGGING_TYPE, WCHAR_UNSIGNED): Likewise.
        (SWITCH_TAKES_ARG): Likewise.
        * i386/freebsd.h: Remove FREEBSD_NATIVE support.
        * config/t-freebsd: Moved from config/i386/ so it can used for all
        FreeBSD targets.

From-SVN: r27305
1999-06-01 18:08:20 -06:00
Philippe De Muyter
187fd69573 x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.
8
        * m68k/x-mot3300 (XCFLAGS): Fixed to match stb.o, not f/stb.o.

From-SVN: r27299
1999-06-01 17:43:50 -06:00
David Edelsohn
949ea3566a aix41.h (RS6000_CALL_GLUE): Define.
* rs6000/aix41.h (RS6000_CALL_GLUE): Define.
	* rs6000/aix43.h (RS6000_CALL_GLUE): Likewise.
	* rs6000/rs6000.c (rs6000_file_start): Use putc.
	(rs6000_output_load_toc_table): Same.
	(output_prolog, output_mi_thunk): Same.
	* rs6000/rs6000.h (SELECT_SECTION): Formatting.
	(ASM_GLOBALIZE_LABEL): Use putc.

From-SVN: r27287
1999-06-01 12:12:21 -04:00
Richard Henderson
e221c18347 alpha.md (reload_*_help): New patterns and splitters.
* alpha.md (reload_*_help): New patterns and splitters.
        (reload_*): Use them.
        (mov[qh]i): Likewise.

From-SVN: r27283
1999-05-31 08:29:17 -07:00
Cort Dougan
305423e8d8 * rs6000/linux.h (LINK_SPEC): Use emulation elf32ppclinux.
From-SVN: r27278
1999-05-31 02:39:09 -07:00
Jeff Law
79f565f6bd [multiple changes]
Sun May 30 14:29:17 1999  Eric Raskin (ehr@listworks.com)
        * dgux.h (STARTFILE_SPEC): Fix incorrectly matched curly-braces.
Sun May 30 14:19:13 1999  Jeffrey A Law  (law@cygnus.com)
        * function.h (cleanup_label, frame_offset): Declare.
        (tail_recursion_label, tail_recursion_reentry): Likewise.
        (arg_pointer_save_area, rtl_expr_chain): Likewise.
        * stmt.c (cleanup_label, frame_offset): Delete extern declarations.
        (tail_recursion_label, tail_recursion_reentry): Likewise.
        (arg_pointer_save_area, rtl_expr_chain): Likewise.

From-SVN: r27249
1999-05-30 07:33:11 -06:00
Philip Blundell
00275db1e7 aout.h (ASM_OUTPUT_ALIGN): Only define if not already defined.
Sat May 29 19:08:10 1999  Philip Blundell  <philb@gnu.org>
	* config/arm/aout.h (ASM_OUTPUT_ALIGN): Only define if not already
	defined.
	* config/arm/elf.h (ASM_OUTPUT_ALIGN): Define.
	(MAX_OFILE_ALIGNMENT): Likewise.

From-SVN: r27246
1999-05-30 12:04:01 +00:00
Eric Raskin
77b7d85187 t-dgux (EXTRA_PARTS): Add crti.o
* i386/t-dgux (EXTRA_PARTS): Add crti.o
        (crti.o): Add build rule and dependencies.

From-SVN: r27218
1999-05-27 20:54:05 -06:00
Franz Sirl
d540a32c56 sysv4.h (CC1_SPEC): Add support for -profile
* rs6000/sysv4.h (CC1_SPEC): Add support for -profile
        (LIB_LINUX_SPEC): Likewise.
        (LIB_LINUX_SPEC): Add support for -pthread
        (CPP_OS_LINUX_SPEC): Likewise.
        (CPP_SYSV_SPEC): Avoid redefinitions if both -fpic and -fPIC are
        specified

From-SVN: r27217
1999-05-27 20:49:16 -06:00
H.J. Lu
870a0c2c34 i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for conditional move.
@
        * i386.c (output_fp_cc0_set): Don't check the JUMP_INSN code for
        conditional move.
        (notice_update_cc, output_float_compare): Enable TARGET_CMOVE support.
        (output_float_compare, output_fp_cc0_set): Fix the FLOAT comparison
        for IEEE math and CC_FCOMI.
        (put_jump_code): No IEEE if CC_FCOMI is set.

From-SVN: r27204
1999-05-27 06:11:03 -06:00