Commit Graph

12389 Commits

Author SHA1 Message Date
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
Richard Kenner
8bca29225c (split_di): New; from i386.c.
From-SVN: r12340
1996-06-27 20:23:08 -04:00
Richard Kenner
3aceff0d36 (force_to_mode, case NE): Fix typo and logical error.
(simplify_comparison): Don't swap args if op1 is CONST_INT.

From-SVN: r12339
1996-06-27 19:42:23 -04:00
Jim Wilson
f8fe20b224 (extract_bit_field): Check TRULY_NOOP_TRUNCATION before
making a SUBREG of a REG.

From-SVN: r12338
1996-06-27 15:48:57 -07:00
Ian Lance Taylor
7e99e4948d Put spaces between -mips* cases in CC1_SPEC
From-SVN: r12337
1996-06-27 21:52:25 +00:00
Ian Lance Taylor
9c0e838fa0 Don't call ADJUST_INSN_LENGTH on an insn inside a sequence
From-SVN: r12336
1996-06-27 15:05:07 +00:00
Jeff Law
458c16f71e Fix thinko in last change.
From-SVN: r12335
1996-06-26 17:25:22 -06:00
Jeff Law
ea06b0ed75 pa.h (CMP_PSI): Delete.
* pa/pa.h (CMP_PSI): Delete.
        (FUNCTION_POINTER_COMPARISON_MODE): Likewise.
        * pa/pa.md (cmppsi); Delete expander.
        (canonicalize_funcptr_for_compare): Renamed from plabel_dereference,
        turned into an expander + anonymous pattern.

From-SVN: r12334
1996-06-26 17:14:21 -06:00
Doug Evans
cd8a6bdfe9 pexecute.c (PEXECUTE_VERBOSE): Define.
* pexecute.c (PEXECUTE_VERBOSE): Define.
(MPW pexecute): Check flags & PEXECUTE_VERBOSE instead of verbose_flag.

From-SVN: r12333
1996-06-26 02:43:38 +00:00
Doug Evans
1c87477348 gcc.c (PEXECUTE_VERBOSE): Define.
* gcc.c (PEXECUTE_VERBOSE): Define.
(execute): Pass PEXECUTE_VERBOSE to pexecute if -v.

From-SVN: r12332
1996-06-26 02:35:26 +00:00
Michael Meissner
d266da75ae V.4 PIC changes
From-SVN: r12331
1996-06-25 18:51:50 +00:00
Michael Meissner
24f3076729 Do not abort on labels for -fpic
From-SVN: r12330
1996-06-25 16:25:01 +00:00
Jeff Law
1b48da0d2d pa.h (PARSE_LDD_OUTPUT): Handle dynamic libraries that are loaded "statically".
* pa/pa.h (PARSE_LDD_OUTPUT): Handle dynamic libraries that are
        loaded "statically".

From-SVN: r12329
1996-06-24 23:20:55 -06:00
Jeff Law
ea3a7ffa91 h8300.c (function_prologue): Update "monitor" prologues.
* h8300/h8300.c (function_prologue): Update "monitor" prologues.
        (function_epilogue): Similarly.

From-SVN: r12328
1996-06-24 23:20:34 -06:00
Paul Eggert
19848e7498 (create_definition): Diagnose `#define #' only once.
From-SVN: r12327
1996-06-24 23:07:11 +00:00
Jim Wilson
e8fbc7beff (CPP_PREDEFINES): For consistency,
change to define WIN32, WINNT, and CYGWIN32.

From-SVN: r12326
1996-06-24 12:23:46 -07:00
Jim Wilson
7768450a27 (CPP_PREDEFINES): For consistency,
change to define WIN32, WINNT, and CYGWIN32.

From-SVN: r12325
1996-06-24 12:12:14 -07:00
Michael Meissner
208c89cebd Move xor of input into insn doing int->double conversion.
From-SVN: r12324
1996-06-24 16:17:27 +00:00
Jim Wilson
5aae909107 (call_internal1, call_value_internal1): Delete obsolete code.
(call_internal2, call_value_internal2, call_value_multiple_internal2):
Delete obsolete code.  Explicitly load SYMBOL_REF into register.
(call_value): Change Pmode to SImode in gen_call_value_internal0 call.

From-SVN: r12323
1996-06-21 17:39:43 -07:00