Commit Graph

5254 Commits

Author SHA1 Message Date
Richard Kenner
f8163c9219 (modified_between_p): Handle vectors.
(modified_in_p): New function.
(refers_to_regno_p): If setting AP, FP, or SP, we clobber the virtual
registers.

From-SVN: r5267
1993-09-06 13:27:22 -04:00
Richard Stallman
966963e68b Don't declare abort.
From-SVN: r5266
1993-09-06 12:36:01 +00:00
Jim Wilson
fca13b64f6 (abort): Correct volatile function declaration.
From-SVN: r5265
1993-09-05 22:03:16 -07:00
Doug Evans
a2bbfba6c4 (USER_H): Add va-h8300.h.
From-SVN: r5264
1993-09-06 02:05:33 +00:00
Richard Stallman
eaf2e788fd (grokdeclarator): For PARM_DECLs, only call
c_build_type_variant is constp or volatilep is true.

From-SVN: r5263
1993-09-05 22:35:15 +00:00
Doug Evans
7223feb046 collect2.c (our_file_name, [...]): deleted.
* collect2.c (our_file_name, last_file_name): deleted.
        (our_file_names): New variable.
        (is_in_prefix_list): New function.
        (find_a_file): Call is_in_prefix_list.
        (main): Make COLLECT_NAMES a list of our invocations.
        If we've invoked ourselves, try again with ld_file_name.

From-SVN: r5262
1993-09-05 22:20:29 +00:00
Richard Stallman
cb61f66f5b (assign_parms): When parm needs conversion on entry,
don't store it back in the slot where it was passed.

From-SVN: r5261
1993-09-05 20:01:32 +00:00
Richard Kenner
76229ac8db (print_operand): Convert fprintf of single letters to putc and convert fprintf of constant strings to fputs.
(print_operand): Convert fprintf of single letters to putc and convert
fprintf of constant strings to fputs.
Output '%u' operand as hexadecimal.

From-SVN: r5260
1993-09-05 06:44:00 -04:00
Richard Kenner
b839fb3fe9 (truthvalue_conversion): A complex value is nonzero if either part is
nonzero, not if both parts are nonzero.

From-SVN: r5259
1993-09-04 11:16:10 -04:00
Richard Kenner
25a1019f18 (build_enumerator): Apply default conversion to constant-expression.
From-SVN: r5258
1993-09-03 19:02:27 -04:00
Richard Kenner
78af79ab5a (skip_if_group): Check for traditional mode when skipping ahead to
next #, ignore unless at beginning of line.

From-SVN: r5257
1993-09-03 18:03:32 -04:00
Michael Meissner
3c58aa350d pass -v/-dn to elf linker.
From-SVN: r5256
1993-09-03 21:54:58 +00:00
Jeff Law
41ded2895e pa.h (READONLY_DATA_ASM_OP): Define.
* pa.h (READONLY_DATA_ASM_OP): Define.
	(READONLY_DATA_SECTION): Define.
	(EXTRA_SECTIONS): Add in_readonly_data.
	(EXTRA_SECTION_FUNCTIONS): Add readonly_data.

From-SVN: r5255
1993-09-02 23:53:48 -06:00
Richard Kenner
e600165c51 Improve generated code for C400 Clipper.
(TARGET_SWITCHES): New options `c300' `c400'.
(TARGET_C300, TARGET_C400): New defines.
(TARGET_DEFAULT): Define as TARGET_C300.
(CONDITIONAL_REGISTER_USAGE): New define.

From-SVN: r5254
1993-09-02 19:18:55 -04:00
Michael Meissner
729105f4a5 Fix typo.
From-SVN: r5253
1993-09-02 22:17:51 +00:00
Doug Evans
96f56dcd37 (__INT_MAX__, __LONG_MAX__, __LONG_LONG_MAX__): New macros.
(INT_MAX, LONG_MAX, LONG_LONG_MAX): Use them.

From-SVN: r5252
1993-09-02 21:39:58 +00:00
Michael Meissner
ae1ac70285 ELF now omits leading underscores.
From-SVN: r5251
1993-09-02 18:35:26 +00:00
Michael Meissner
3cca99e839 Add spaces in basic block output.
From-SVN: r5250
1993-09-02 10:55:40 +00:00
Michael Meissner
92832bb59a Update basic block profiling.
From-SVN: r5249
1993-09-02 10:50:41 +00:00
Richard Kenner
9d436547f7 Clean up case and remove leading zeros from hex constants.
From-SVN: r5248
1993-09-01 21:57:02 -04:00
Jim Wilson
dcac138d8e (truncdfsf2): Round to single instead of doing nothing.
From-SVN: r5247
1993-09-01 16:57:46 -07:00
Jim Wilson
e26a82e41e (jump_optimize): When optimize conditional jump around
unconditional jump, handle case where prev_label can be zero.

From-SVN: r5246
1993-09-01 16:20:32 -07:00
Jim Wilson
549a367ad6 (finish_decl): For static const variables, preserve
initializers instead of discarding them.

From-SVN: r5245
1993-09-01 15:59:32 -07:00
Richard Kenner
915bb7632b (find_reloads): Bump REJECT for a hard register; just not for a
pseudo.

From-SVN: r5244
1993-09-01 18:46:03 -04:00
Richard Kenner
e7113111af (movdf): Simplify by taking advantage of having SECONDARY_MEMORY_NEEDED.
Fix bugs relating to order in which moves are done.

From-SVN: r5243
1993-09-01 18:42:37 -04:00
Richard Kenner
7ea555a4fc (SECONDARY_MEMORY_NEEDED): New macro.
From-SVN: r5242
1993-09-01 18:41:53 -04:00
Richard Kenner
eb4e800377 (input_operand): Allow "easy" FP constants.
From-SVN: r5241
1993-09-01 18:41:28 -04:00
Jim Wilson
87935f601e (find_reloads_address_1): Handle SUBREGs same as REGs.
From-SVN: r5240
1993-09-01 15:07:57 -07:00
Mike Stump
5555d6d103 collect2.c (is_ctor_dtor): Make sizeof argument match the string.
* collect2.c (is_ctor_dtor): Make sizeof argument match the
        string.

From-SVN: r5239
1993-09-01 22:06:56 +00:00
Brendan Kehoe
2bf5788be6 * Makefile.in (start.encap): Build g++ here also.
From-SVN: r5238
1993-09-01 15:02:25 -04:00
Jim Wilson
c2f9f64eb2 (make_compound_operation): Handle the case (and (xor/ior (lshift...) (lshift...)) ...).
(make_compound_operation): Handle the case
(and (xor/ior (lshift...) (lshift...)) ...).
(make_field_assignment): In get_pos_from_mask call, only invert
bits in mode mask.

From-SVN: r5237
1993-08-31 15:08:25 -07:00
Jim Wilson
f40fac9b07 (push_reload): Abort is secondary_reload wants same
class as an input reload.

From-SVN: r5236
1993-08-31 14:22:41 -07:00
Jim Wilson
67d4766b4a New file.
From-SVN: r5235
1993-08-31 14:17:04 -07:00
Jim Wilson
432fde528e (libgcc1.a, libgcc2.a): Don't use set -e.
From-SVN: r5234
1993-08-31 14:06:04 -07:00
Jim Wilson
d7a58f93b1 (xsys-protos.h): Use fixtmp.c not tmp.c, and delete
it afterwards.

From-SVN: r5233
1993-08-31 13:38:04 -07:00
Jim Wilson
a45035b6ed (assign_stack_temp): When allocate a slot too large,
split extra off into a slot of its own.
(combine_temp_slots): New function.
(free_temp_slots, pop_temp_slots): Call combine_temp_slots.

From-SVN: r5232
1993-08-31 13:30:12 -07:00
Richard Kenner
9d7877e3c8 (zero_extendqisi2...
(zero_extendqisi2, zero_extendqihi2): Change anonymous patterns to use 16-bit
and 32-bit hexadecimal values and masks instead of bit ranges if constant.
(rotlsi3, lshrsi3, move condition codes, scc insns): Likewise.

From-SVN: r5231
1993-08-31 06:35:25 -04:00
Richard Kenner
18192b41d2 (struct c_function): Remove unneeded enum_next_value.
(push_c_function_context, pop_c_function_context): Don't save it.

From-SVN: r5230
1993-08-31 06:25:38 -04:00
Richard Kenner
7fb90b9885 (convert_arguments): If PROMOTE_PROTOTYPE, promote all integral types
shorter than int, including short enums.

From-SVN: r5229
1993-08-30 16:14:26 -04:00
Richard Kenner
fd48df3e75 (get_parm_info...
(get_parm_info, store_parm_decls): If PROMOTE_PROTOTYPE, promote all
integral types shorter than int, including short enums.

From-SVN: r5228
1993-08-30 16:13:42 -04:00
Richard Kenner
37c37a579c (output_toc): Use TARGET_NO_FP_IN_TOC.
From-SVN: r5227
1993-08-29 18:34:12 -04:00
Richard Kenner
72847b95da (TARGET_NO_FP_IN_TOC): New; deleted TARGET_FP_IN_TOC.
(TARGET_SWITCHES): Rearrange to have three TOC choices.
(ASM_OUTPUT_SPECIAL_POOL_ENTRY): Use TARGET_NO_FP_IN_TOC.

From-SVN: r5226
1993-08-29 18:33:46 -04:00
Jim Wilson
4418d41b54 (SELECT_SECTION): Simplify sdata_section test.
From-SVN: r5225
1993-08-28 12:22:32 -07:00
Jim Wilson
02881b1b79 (CPP_SPEC): Use include_v not include-v.
(LINK_SPEC): Add missing `-' before `k' option.
(PREFERRED_DEBUGGING_TYPE): Define to DBX_DEBUG.
(SDB_DEBUGGING_INFO): Define.
(MD_EXEC_PREFIX): Define to /usr/local/lib/gcc-.
(LINK_LIBGCC_SPECIAL_1): Define.
(NAME__MAIN, SYMBOL__MAIN): Define.

From-SVN: r5224
1993-08-28 12:19:20 -07:00
Jim Wilson
bf97b9672d (call+1...
(call+1, call+2, call_value+1, untyped_call+1): Split
into two patterns, one using address_operand and 'p', the other
immediate_operand and 'i'.

From-SVN: r5223
1993-08-28 12:04:13 -07:00
Jim Wilson
e228410eeb (EXTRA_CONSTRAINT): Delete 'S'.
From-SVN: r5222
1993-08-28 12:03:39 -07:00
Richard Kenner
c6965c0fa2 (nonzero_bits): Fix reversed test for when we need to insert extra bits when sizes differ.
(nonzero_bits): Fix reversed test for when we need to insert extra bits when
sizes differ.
(nonzero_bits, case EQ): Always return STORE_FLAG_VALUE when returning integer
mode; remove now-redundant test.

From-SVN: r5221
1993-08-27 18:47:38 -04:00
Richard Kenner
561260fe80 (LINK_SPEC): Add -bexport:/usr/lib/libg.exp when -g.
From-SVN: r5220
1993-08-27 15:43:01 -04:00
Jim Wilson
642a35f1b4 (TARGET_MINIMAL_TOC): New macro.
(TARGET_SWITCHES): Add -mminimal-toc and -mno-minimal-toc.
(ELIMINABLE_REGS): Add elimination for r30.
(CAN_ELIMINATE): Add case for r30.
(INITIAL_ELIMINATION_OFFSET): Add case for r30.
(toc_section): When TARET_MINIMAL_TOC, initialize toc_table.

From-SVN: r5219
1993-08-27 10:16:17 -07:00
Jim Wilson
1875cc8859 (print_operand_address): When TARGET_MINIMAL_TOC, use r30 instead of r2 for TOC references.
(print_operand_address): When TARGET_MINIMAL_TOC, use
r30 instead of r2 for TOC references.
(output_prologue): If TARGET_MINIMAL_TOC, and the constant pool
is needed, then setup r30.
(output_toc): When TARGET_MINIMAL_TOC, use .long instead of .tc.

From-SVN: r5218
1993-08-27 10:15:28 -07:00