Commit Graph

12142 Commits

Author SHA1 Message Date
Jim Wilson
9a6c4e72e1 (LINK_SPEC): Add -woff 84.
From-SVN: r12446
1996-07-15 11:23:52 -07:00
Jeff Law
06db411a68 config.guess (HP 9000/811): Recognize this as a PA1.1 machine.
* config.guess (HP 9000/811): Recognize this as a PA1.1
        machine.

From-SVN: r12445
1996-07-15 11:20:52 -06:00
Torbjorn Granlund
f3297853da Generalize C90 alternative to all x90 machines.
From-SVN: r12443
1996-07-14 18:09:15 +00:00
Ian Lance Taylor
1075dedade Skip inappropriate LOG_LINK entries when looking for reg-setting call
insn

From-SVN: r12442
1996-07-13 04:55:16 +00:00
Michael Meissner
4f517a9cc8 Remove Haifa support.
From-SVN: r12441
1996-07-13 02:30:31 +00:00
Michael Meissner
a3950905fb Add -mxl-call
From-SVN: r12440
1996-07-13 02:28:13 +00:00
Michael Meissner
5b9d9a0c0e Solaris, shared lib, aix broken compatibiliy
From-SVN: r12439
1996-07-13 02:00:42 +00:00
Doug Evans
821581e415 (ASM_OUTPUT_MI_THUNK): Handle fns returning structures.
From-SVN: r12438
1996-07-12 21:15:05 +00:00
Doug Evans
6b67c5a30b (ASM_SPEC): %{V} %{v:%{!V:-V}} -> %{v:-V}.
From-SVN: r12437
1996-07-12 18:58:22 +00:00
Doug Evans
96a097c915 ({ASM,LINK}_SPEC): %{V} %{v:%{!V:-V}} -> %{v:-V}.
From-SVN: r12436
1996-07-12 18:57:38 +00:00
Doug Evans
ad06137b35 ({ASM,LINK}_SPEC): %{V} %{v:%{!V:-V}} -> %{v:-V}.
From-SVN: r12435
1996-07-12 18:56:36 +00:00
Doug Evans
2e383aa615 ({LINK,ASM_CPU}_SPEC): %{V} %{v:%{!V:-V}} -> %{v:-V}.
From-SVN: r12434
1996-07-12 18:55:56 +00:00
Doug Evans
c8ce67e289 (LINK_SPEC): %{V} %{v:%{!V:-V}} -> %{v:-V}.
From-SVN: r12433
1996-07-12 18:50:43 +00:00
Doug Evans
c9e460d358 ({ASM,LINK}_SPEC): %{V} %{v:%{!V:-V}} -> %{v:-V}.
From-SVN: r12432
1996-07-12 18:45:41 +00:00
Doug Evans
660d9d9664 ({ASM,LINK}_:SPEC): %{V} %{v:%{!V:-V}} -> %{v:-V}.
From-SVN: r12431
1996-07-12 18:44:59 +00:00
Doug Evans
a7bed85579 %{V} %{v:%{!V:-V}} -> %{v:-V}.
From-SVN: r12430
1996-07-12 18:44:20 +00:00
Michael Meissner
30ea98f1cc Check for whether GOT_TOC register was eliminated
From-SVN: r12429
1996-07-11 23:54:24 +00:00
Michael Meissner
1ff7789b51 Deal with -fpic and inlined functions
From-SVN: r12428
1996-07-11 22:36:45 +00:00
Jeff Law
c05330a923 h8300.h (OK_FOR_U): If generating H8/S code, accept SYMBOL_REF and SYMBOL_REF + CONST_INT.
* h8300/h8300.h (OK_FOR_U): If generating H8/S code, accept
        SYMBOL_REF and SYMBOL_REF + CONST_INT.

From-SVN: r12427
1996-07-11 10:38:31 -06:00
Jeff Law
51c0c1d7d2 h8300.c (shift_one): Emit tabs between opcode and operands to be consistent with the rest of the...
Thu Jul 11 10:12:50 1996  Jeffrey A Law  (law@cygnus.com)

        * h8300/h8300.c (shift_one): Emit tabs between opcode and
        operands to be consistent with the rest of the compiler.
        (rotate_one): Likewise.
        (shift_two, rotate_two): Define.
        (get_shift_alg): Accept new argument "assembler2_p" for
        rotate/shift by two insns.  All callers changed.  Rework
        to generate more efficient code on the H8/300, H8/300H, and
        H8/S.  Try to simplify somewhat.
        (emit_a_shift): Use shift-by-two insns when they're available.
        Emit tabs between opcode and operands to be consistent with
        the rest of the compiler.

From-SVN: r12426
1996-07-11 10:11:48 -06:00
Mike Stump
54705743fd 87 Cygnus<->FSF merge
From-SVN: r12425
1996-07-11 01:22:59 +00:00
Mike Stump
e92cc02916 87 Cygnus<->FSF merge
From-SVN: r12424
1996-07-11 01:13:25 +00:00
Jim Wilson
0d78176b02 (ASM_SPEC): Correct typos in Jun 18 change.
From-SVN: r12423
1996-07-10 16:26:05 -07:00
Michael Meissner
6fc489508d Fix last change
From-SVN: r12422
1996-07-10 22:04:32 +00:00
Michael Meissner
c4c4037309 Use integer ops to load SF constants for software floating point; fix up software floating constants in general
From-SVN: r12421
1996-07-10 19:12:59 +00:00
Michael Meissner
a72734717c Make fp constants hard if -fpic
From-SVN: r12420
1996-07-09 21:42:13 +00:00
Jim Wilson
8e98b1dc81 (FIXPROTO_DEFINES): Add -D_SGI_SOURCE.
From-SVN: r12419
1996-07-09 12:08:38 -07:00
Jim Wilson
5c5eb4ef3c (enum reg_class): Add new class GENERAL_FP_REGS.
(REG_CLASS_NAMES, REG_CLASS_CONTENTS): Likewise.

From-SVN: r12418
1996-07-08 16:41:43 -07:00
Jim Wilson
5dbc849954 (note_mem_written): Varying structure memory access with
AND address can alias scalars.

From-SVN: r12417
1996-07-08 16:33:15 -07:00
Jim Wilson
c4a18992ac (true_dependence, anti_dependence, output_dependence):
Likewise.

From-SVN: r12416
1996-07-08 16:19:51 -07:00
Jim Wilson
20fef67b3a (calc_live_regs): For pragma_interrupt case...
(calc_live_regs): For pragma_interrupt case, exclude call
clobbered regs that are fixed, explicitly add MACH_REG and MACL_REG.

From-SVN: r12415
1996-07-08 15:33:09 -07:00
Jim Wilson
2b4092f276 (expand_call): For assign_stack_temp call in PARALLEL case,
get mode from type instead of using BLKmode.

From-SVN: r12414
1996-07-08 15:16:35 -07:00
Jim Wilson
e71f7aa5b5 (aggregate_value_p): If hard_function_value returns
a non-REG, then return 0.

From-SVN: r12413
1996-07-08 15:11:03 -07:00
Jim Wilson
320aba9c08 (function_arg): Add explicit checks for FIELD_DECLs.
(mips_function_value): Add explicit checks for FIELD_DECLs, and save
them in the array FIELDS.  When returning structure with 1 float field,
enclose it in a PARALLEL and set the PARALLEL mode correctly.

From-SVN: r12412
1996-07-08 14:59:51 -07:00
Jim Wilson
f7a61b839f (function_arg): Add explicit checks for FIELD_DECLs.
(mips_function_value): Add explicit checks for FIELD_DECLs, and save
them in the array FIELDS.  When returning structure with 1 float field,
enclose it in a PARALLEL and set the PARALLEL mode correctly.
* mips/mips.md (call_value): Call gen_call_value_multiple_internal0
only if there are multiple return values.  Strip the PARALLEL off
if there there is only one return value.

From-SVN: r12411
1996-07-08 14:55:32 -07:00
Jeff Law
a1616dd9e8 * First cut at support for the H8/S.
* h8300/h8300.c (h8300_init_once): Handle the H8/S (treat it
        like the H8/300H).
        (dosize, adds_subs_operand, one_insn_adds_subs_operand): Likewise.
        (output_adds_subs, const_costs, print_operand): Likewise.
        (output_simode_bld, h8300_adjust_insn_length): Likewise.
        (push_order, pop_order): Reverse.
        (function_prologue): Try to use ldm.l and stm.l insns
        on the H8/S.  Minor cleanups.
        (function_epilogue): Likewise.
        (asm_file_start): Emit ".h8300s" when compiling for the H8/S.
        * h8300/h8300.h (CPP_SPEC): Handle the H8/S.
        (TARGET_H8300S): New target.
        (TARGET_SWITCHES): Add "-ms" and "-mno-s".
        (BITS_PER_WORD): Handle the H8/S (treat it like the H8/300H).
        (UNITS_PER_WORD, POINTER_SIZE, PARM_BOUNDARY): Likewise.
        (BIGGEST_ALIGNMENT, BIGGEST_FIELD_ALIGNMENT): Likewise.
        (INITIALIZE_TRAMPOLINE, MOVE_MAX, Pmode): Likewise.
        * h8300/h8300.md: Handle H8/S just like H8/300H
        throughout the entire file.
        * h8300/t-h8300 (MULTILIB_OPTIONS): Build "-ms" libraries
        too.
        (MULTILIB_DIRNAMES): Put H8/S libraries in "h8300s" directory.
        * h8300/lib1funcs.asm: Emit ".h8300s" pseudo-op when generating
        h8300s object files.  Otherwise treat the H8/S just like the H8/300H.
        * ginclude/stdarg.h: Handle the H8/S.
        * ginclude/varargs.h: Likewise.

From-SVN: r12410
1996-07-08 15:02:16 -06:00
Jeff Law
8343b898b9 stdarg.h: Handle the H8/S.
* ginclude/stdarg.h: Handle the H8/S.
        * ginclude/varargs.h: Likewise.

From-SVN: r12409
1996-07-08 14:29:33 -06:00
Doug Evans
5a41511952 sol2.h (LINK_SPEC): Don't pass `-z text' if -shared -mimpure-text.
* sparc/sol2.h (LINK_SPEC): Don't pass `-z text' if
	-shared -mimpure-text.

From-SVN: r12408
1996-07-08 18:50:35 +00:00
Torbjorn Granlund
f3f69b6800 (__udivsi3): Use faster tstw instead of btst.
From-SVN: r12407
1996-07-07 22:03:19 +00:00
Doug Evans
122a73f6ff Recognize rtems as an o/s.
From-SVN: r12399
1996-07-07 17:26:50 +00:00
Richard Kenner
8d8c9ba91b (get_inner_reference): Delete using alternate mode for bitfield; we
don't make bitfields anymore if not needed.

From-SVN: r12398
1996-07-04 11:44:14 -04:00
Mike Stump
4ae9b5f55b formatting tweaks
From-SVN: r12393
1996-07-03 23:05:19 +00:00
Richard Kenner
9c51dc9c34 (at SUNOS4_SHARED_LIBRARIES): Fix reference to unistd.h.
From-SVN: r12392
1996-07-03 18:23:08 -04:00
Richard Kenner
31837ce2fc (record_function_format): Define as static.
From-SVN: r12391
1996-07-03 18:21:37 -04:00
Mike Stump
0f41302f47 formatting tweaks
From-SVN: r12390
1996-07-03 22:07:53 +00:00
Richard Kenner
9753f11368 (default_conversion): Add bitfield promotions.
From-SVN: r12389
1996-07-03 17:34:57 -04:00
Richard Kenner
4689ad58a1 (default_compilers): Add null entries for languages we heard of.
(main): If found one of those entries, say compiler not installed.

From-SVN: r12388
1996-07-03 17:09:09 -04:00
Mike Stump
d6b0bb68f0 formatting tweaks
From-SVN: r12387
1996-07-03 18:43:21 +00:00
Mike Stump
ba0d6745bd iformat tweaks
From-SVN: r12386
1996-07-03 18:41:12 +00:00
Jeff Law
5af2c1f8d4 pa.c (fmpy_operands): Define.
* pa.c (fmpy_operands): Define.
        (combinable_fmpy): New function.
        (combinable_fadd, combinable_fsub): Likewise.

From-SVN: r12385
1996-07-03 11:19:19 -06:00