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
Jeff Law
e45539c0d5
pa.md (parallel_addb, [...]): New patterns.
...
* pa.md (parallel_addb, parallel_movb): New patterns.
(fmpyadd, fmpysub): New patterns.
From-SVN: r12384
1996-07-03 11:13:54 -06:00
Jeff Law
d85ab9665c
pa.c (fmpyaddoperands): Tighten checks.
...
* pa.c (fmpyaddoperands): Tighten checks. Allow SFmode.
(fmpysuboperands): Similarly.
From-SVN: r12383
1996-07-03 10:55:40 -06:00
Jeff Law
b109290138
pa.c (ireg_or_int5_operand): New function.
...
* pa.c (ireg_or_int5_operand): New function.
(output_parallel_movb, output_parallel_addb): Likewise.
(combinable_copy, combinable_add, following_call): Likewise.
(pa_adjust_insn_length): Handle parallel unconditional branches.
(output_movb): Handle case were destination is %sar.
* pa.h: Declare new functions.
* pa.md (parallel_branch): New "type" attribute.
(delay slot descriptions): Don't allow "parallel_branches" in
delay slots. Fill "parallel_branches" like "branch" insns.
(movb patterns): Handle %sar as destination register.
From-SVN: r12382
1996-07-02 23:34:40 -06:00
Jeff Law
5718612fc1
expr.c (compare): If function pointers need canonicalization before comparisons, canonicalize them.
...
* expr.c (compare): If function pointers need canonicalization
before comparisons, canonicalize them.
(do_store_flag): Do not use an sCC insn for a function pointer
comparison if function pointers need canonicalization before
comparing.
From-SVN: r12381
1996-07-02 16:59:02 -06:00
Michael Meissner
f95709dbc8
Make Linux target work
...
From-SVN: r12380
1996-07-02 21:58:04 +00:00
Michael Meissner
a7df97e69d
Fix int<->floating point conversion routines
...
From-SVN: r12379
1996-06-29 11:28:52 +00:00
Richard Kenner
60725c7844
(convert_memory_address, case PLUS): Fix error in last change.
...
From-SVN: r12378
1996-06-29 05:44:27 -04:00
Jeff Law
100338dfc4
reload1.c (choose_reload_regs): Properly mark spill registers as in use for inherited reloads.
...
* reload1.c (choose_reload_regs): Properly mark spill registers
as in use for inherited reloads.
From-SVN: r12377
1996-06-28 21:34:25 -06:00
Richard Kenner
49c8f4a40c
(rotl): Remove extraneous `$'.
...
From-SVN: r12376
1996-06-28 19:12:29 -04:00
Richard Kenner
d5d5fa1824
(objc_thread_id): Use pthread_getunique_np to obtain a thread ID value.
...
(objc_mutex_allocate): Cast mutex->owner to _objc_thread_t.
(objc_mutex_deallocate): Likewise.
(objc_mutex_unlock): Likewise.
(objc_mutex_trylock): Declare thread_id as _objc_thread_t.
(objc_mutex_lock): Likewise.
(objc_mutex_unlock): Likewise.
From-SVN: r12375
1996-06-28 18:50:43 -04:00
Richard Kenner
b05a8d8a6b
(ifdef __alpha__): Don't declare `free'.
...
From-SVN: r12374
1996-06-28 18:50:18 -04:00
Richard Kenner
25a0074233
(asctoeg): `0.0eX' is zero, regardless of the exponent X.
...
From-SVN: r12373
1996-06-28 18:37:08 -04:00
Richard Kenner
241cea859c
(previous_num_undos): Deleted variable.
...
(MAX_UNDO): Deleted macro.
(struct undo): New field, next.
(struct undobuf): Deleted num_undos and undo.
New fields undos, frees, and previous_undos.
(SUBST, SUBST_INT): Rework to allocate memory and chain undo entries.
(combine_instructions): Initialize undobuf.{undos,previous_undos},
not undobuf.num_undo and previous_num_undos.
(try_combine): Likewise.
(undo_all, gen_rtx_combine): Rework to use new data structures.
From-SVN: r12372
1996-06-28 18:32:45 -04:00
Richard Kenner
ad24823466
(__objc_block_forward): New function.
...
(get_imp, objc_msg_lookup): Use different forwarding function
when the returning a floating point value.
From-SVN: r12371
1996-06-28 16:48:18 -04:00
Richard Kenner
7f5648a54c
Remove variables now in t-linux.
...
From-SVN: r12370
1996-06-28 16:25:18 -04:00
Richard Kenner
af014bc31e
(BOOT_CFLAGS): Removed.
...
From-SVN: r12369
1996-06-28 16:24:34 -04:00
Richard Kenner
d1d7df4c04
(BOOT_CFLAGS): Removed, no longer necessary.
...
(CRTSTUFF_T_CFLAGS): Don't define.
(CRTSTUFF_T_CFLAGS_S): Define this instead.
From-SVN: r12368
1996-06-28 16:24:19 -04:00
Richard Kenner
2a64bb2f0d
(Makefile): xmake_file and tmake_file now already contain the
...
$(srcdir)/config prefix.
From-SVN: r12367
1996-06-28 16:23:55 -04:00
Richard Kenner
8aeba62141
(LINK_SPEC): Bring emulation name into sync with Cygnus snapshot.
...
From-SVN: r12366
1996-06-28 15:39:44 -04:00
Richard Kenner
e80142a050
(FUNCTION_PROFILER): _mcount has non-standard linkage.
...
From-SVN: r12365
1996-06-28 15:39:03 -04:00
Richard Kenner
89b7c471e2
(alpha_emit_conditional_move): Emit correct code when incoming
...
comparison code is NE.
From-SVN: r12364
1996-06-28 15:05:55 -04:00
Richard Kenner
d7f21d631f
(expand_builtin, case BUILTIN_MEMSET): Open code memset where val == 0.
...
From-SVN: r12363
1996-06-28 14:35:10 -04:00
Richard Kenner
b71e9de07c
(init_decl_processing): Register __builtin_memset and memset as
...
builtin functions.
From-SVN: r12362
1996-06-28 14:32:39 -04:00
Richard Kenner
2d226eb101
(expand_mult_highpart): Use op1 not wide_op1 in expansion of
...
mul_highpart.
From-SVN: r12361
1996-06-28 14:24:24 -04:00
Richard Kenner
9e6c9f598a
(movdi): Call alpha_emit_set_long_const.
...
From-SVN: r12360
1996-06-28 14:23:55 -04:00
Richard Kenner
803fee6995
({MASK,TARGET}_BUILD_CONSTANTS): New macros.
...
(TARGET_SWITCHES): New target option build-constants.
From-SVN: r12359
1996-06-28 14:23:12 -04:00
Richard Kenner
97aea203f2
(alpha_emit_set_long_const): New function.
...
From-SVN: r12358
1996-06-28 14:22:43 -04:00
Richard Kenner
d0f8fcea26
(init_dummy): Only i386-linux (at most) needs ___brk_addr hack.
...
From-SVN: r12357
1996-06-28 14:08:53 -04:00
Richard Kenner
960a3ef20b
(dbxout_function): Respect NO_DBX_FUNCTION_END.
...
From-SVN: r12356
1996-06-28 14:07:33 -04:00
Richard Kenner
cd2b3e6bf4
(INITIALIZE_TRAMPOLINE): New definition.
...
From-SVN: r12355
1996-06-28 14:06:52 -04:00
Richard Kenner
800e920a33
Initial revision
...
From-SVN: r12354
1996-06-28 14:06:12 -04:00
Richard Kenner
7aadc7c208
(NO_DBX_FUNCTION_END): New macro.
...
From-SVN: r12353
1996-06-28 14:05:35 -04:00
Richard Kenner
33d01c335d
(output_{pro,epi}log): Flag_inhibit_size_directive should supress .ent, .end, and accompanying directives.
...
(output_{pro,epi}log): Flag_inhibit_size_directive
should supress .ent, .end, and accompanying directives.
(alpha_output_lineno): Fix polarity on GAS test.
From-SVN: r12352
1996-06-28 14:04:46 -04:00
Richard Kenner
7fa12593d2
(mips:*:*:UMIPS): Fix typo in last change.
...
From-SVN: r12342
1996-06-28 13:28:58 -04:00
Richard Kenner
e5b7b845d5
(adddi3, subdi3, negdi3): New patterns.
...
From-SVN: r12341
1996-06-27 20:23:23 -04:00