Commit Graph

7263 Commits

Author SHA1 Message Date
Richard Kenner
f5fa450784 (a29k_clobbers_to): New function.
From-SVN: r7276
1994-05-11 16:50:16 -04:00
Richard Kenner
13275056a7 (layout_type): Use POINTER_SIZE, instead of width of Pmode, when
appropriate.

From-SVN: r7275
1994-05-11 16:26:29 -04:00
Richard Kenner
6d100794d0 (expand_builtin_apply): Put new function usage data at end of any data
already there.

From-SVN: r7274
1994-05-11 16:23:11 -04:00
Richard Kenner
e59e60a78f (emit_call_1): Put new function usage data at end of any data already
there.

From-SVN: r7273
1994-05-11 16:22:02 -04:00
Richard Kenner
1af0b2da29 (sched_analyze_insn): Fix typo in last change.
From-SVN: r7272
1994-05-11 16:18:08 -04:00
Ian Lance Taylor
d62288093b Don't recursively search symlinks to `.'.
From-SVN: r7271
1994-05-11 16:12:15 +00:00
Doug Evans
d7715b7064 (process_command): Kludge in stageN/../include instead of include.
From-SVN: r7270
1994-05-10 21:49:41 +00:00
Jim Wilson
b3f741ed3a (*TF*_LIBCALL): Delete `*' from libcall name.
From-SVN: r7269
1994-05-09 18:05:41 -07:00
Richard Kenner
51a52b63e5 (output_move_dconst): For some integer constants, use movxwd/movd
instead of movxbd/movxwd.

From-SVN: r7268
1994-05-09 18:42:04 -04:00
Richard Kenner
d5ea2ac4c7 (delete_if_ordinary): New function.
(delete_temp_files, delete_failure_queue): Call it.

From-SVN: r7267
1994-05-09 18:32:57 -04:00
Richard Kenner
5a76b34913 (mark_{referenced,set}_resources): Fix typos in last change.
From-SVN: r7266
1994-05-07 17:52:53 -04:00
Richard Kenner
b87b7ecd73 (emit_reload_insns): Don't try to delete output reload if there isn't
one.

From-SVN: r7265
1994-05-07 17:48:59 -04:00
Richard Kenner
184ff798d9 (REG_ALLOC_ORDER): New macro.
From-SVN: r7264
1994-05-07 12:21:28 -04:00
Richard Kenner
b288f2b339 (sched_analyze_insn, attach_deaths_insn): Look at
CALL_INSN_FUNCTION_USAGE.

From-SVN: r7263
1994-05-07 12:16:15 -04:00
Richard Kenner
ac8ec8c0c9 (LIB_SPEC): Support -fshared-data.
(CPP_SPEC): Set _SEQUENT_ to 1.
(SHARED_SECTION_ASM_OP, ASM_OUTPUT_SHARED_COMMON): Supply new macros.
(SHARED_BSS_SECTION_ASM_OP, BSS_SECTION_FUNCTION): Likewise.

From-SVN: r7262
1994-05-07 12:12:53 -04:00
Richard Kenner
19a9014fab (choose_reload_regs): Remove previous change.
From-SVN: r7261
1994-05-07 10:09:32 -04:00
Richard Kenner
5a783256bf Fix typo in comment.
From-SVN: r7260
1994-05-07 10:05:01 -04:00
Doug Evans
5c56efde0f (TARGET_FRW): Add note saying this option is deprecated.
(TARGET_FLAT): Renamed from TARGET_FRW_COMPAT.
(TARGET_SWITCHES): Delete references to -mfrw, -mfrw-compat.  Add -mflat.
(CONDITIONAL_REGISTER_USAGE): If -mflat, fix %i7, rename "%fp"
to "%i7", and make %g7 a global_reg.
(FRAME_POINTER_REQUIRED): Handle -mflat.
(INITIAL_FRAME_POINTER_OFFSET): Likewise.
(ARG_POINTER_REGNUM): Explicitly say it's the frame pointer.
(LEAF_REGISTERS): Make %g7 not a leaf register.
(leaf_reg_backmap): Delete.
(LEAF_REG_BACKMAP): Likewise.
(FUNCTION_PROLOGUE): Handle -mflat.
(FUNCTION_EPILOGUE): Likewise.
(DELAY_SLOTS_FOR_EPILOGUE): Likewise.
(ELIGIBLE_FOR_EPILOGUE_DELAY): Likewise.

From-SVN: r7259
1994-05-07 00:31:51 +00:00
Doug Evans
c6aa9ce122 (leaf_reg_backmap): Delete.
(sparc_flat_compute_frame_size): Renamed from
sparc_frw_compute_frame_size.  All callers changed.
(sparc_flat_save_restore): Likewise.
(sparc_flat_output_function_prologue): Likewise.
Delete decl of call_used_regs.
Delete reference to frame_base_name, use frame pointer explicitly.
Print prologue end marker.
(sparc_flat_output_function_epilogue): Likewise (renaming).
Delete decls of asm_out_data_file, asm_out_file, call_used_regs.
Print epilogue start marker.
(sparc_flat_epilogue_delay_slots): Likewise (renaming).
(sparc_flat_eligible_for_epilogue_delay): Likewise.

From-SVN: r7258
1994-05-07 00:30:10 +00:00
Richard Kenner
5e6aa5131b (find_reloads): Ignore alternatives that will not be reloadable due to
PREFERRED_RELOAD_CLASS.

From-SVN: r7257
1994-05-06 18:55:32 -04:00
Richard Kenner
a2cd7b4554 (decl_attributes): Move the attribute recognition and rejection here from c-parse.in.
(decl_attributes): Move the attribute recognition and rejection here from
c-parse.in.
(decl_attributes): Use VALID_MACHINE_ATTRIBUTE macro.

From-SVN: r7256
1994-05-06 18:32:17 -04:00
Richard Kenner
0c7f6f66c4 (print_node): Print attributes.
From-SVN: r7255
1994-05-06 18:31:50 -04:00
Richard Kenner
4b027d160e (common_type): Add attribute merging.
(comp_types): Use COMP_TYPE_ATTRIBUTES macro.

From-SVN: r7254
1994-05-06 18:29:58 -04:00
Richard Kenner
91e97eb8cb (TYPE_HASH): Move definition to top of file.
(make_node): Add support for SET_DEFAULT_TYPE_ATTRIBUTES.
(build_type_attribute_variant): New function.
(type_hash_lookup): Check if the attributes match.
(attribute_list_{equal,contained}): New functions.

From-SVN: r7253
1994-05-06 18:29:26 -04:00
Richard Kenner
660b43c865 Rewrite attribute parsing; update the expected conflicts and state
numbers.

From-SVN: r7252
1994-05-06 18:28:47 -04:00
Richard Kenner
bad1b4ba20 (TYPE_ATTRIBUTES): New macro.
(struct tree_type): attributes, new field.
(precision): Move this field up for better alignment.
(attribute_list_{equal,contained}): Prototype for new functions.
(build_type_attribute_variant): Prototype for new function.

From-SVN: r7251
1994-05-06 18:28:08 -04:00
Richard Kenner
447502c7b2 (init_reg_sets_1): Eliminate several permanent call_fixed_regs.
From-SVN: r7250
1994-05-06 18:02:55 -04:00
Richard Kenner
e21fa13af1 (stupid_life_analysis): Check the usage information on CALL_INSNs.
From-SVN: r7249
1994-05-06 17:54:08 -04:00
Richard Kenner
d7e09326f2 (save_for_inline_copying, expand_inline_function): Copy
CALL_INSN_FUNCTION_USAGE field.

From-SVN: r7248
1994-05-06 17:53:31 -04:00
Richard Kenner
f88b0a82c3 (mark_referenced_resources, mark_set_resources): Change from USE and
CLOBBER insns to using CALL_INSN_FUNCTION_USAGE.

From-SVN: r7247
1994-05-06 17:52:34 -04:00
Richard Kenner
e3c69b8a5d (emit_reload_insns): Change from USE and CLOBBER insns to using
CALL_INSN_FUNCTION_USAGE.

From-SVN: r7246
1994-05-06 17:51:42 -04:00
Richard Kenner
47b0bb9450 (find_cross_jump, get_label_{before,after}): Change from USE and
CLOBBER insns to using CALL_INSN_FUNCTION_USAGE.

From-SVN: r7245
1994-05-06 17:50:55 -04:00
Richard Kenner
5fa7422be7 (fixup_var_refs_insns): Change from USE and CLOBBER insns to using
CALL_INSN_FUNCTION_USAGE.

From-SVN: r7244
1994-05-06 17:50:04 -04:00
Richard Kenner
0e6362d984 (insert_save_restore): Change from USE and CLOBBER insns to using
CALL_INSN_FUNCTION_USAGE.

From-SVN: r7243
1994-05-06 17:49:35 -04:00
Richard Kenner
6b67ec08ce (flow_analysis, find_basic_blocks): Change from USE and CLOBBER insns
to using CALL_INSN_FUNCTION_USAGE.

From-SVN: r7242
1994-05-06 17:48:55 -04:00
Richard Kenner
8c99eaf6eb (use_regs): Change from USE and CLOBBER insns to using
CALL_INSN_FUNCTION_USAGE.

From-SVN: r7241
1994-05-06 17:48:22 -04:00
Richard Kenner
b3f8cf4ab9 (use_regs, expand_builtin_apply): Change from USE and CLOBBER insns to
using CALL_INSN_FUNCTION_USAGE.

From-SVN: r7240
1994-05-06 17:47:35 -04:00
Richard Kenner
77cac2f260 (prepare_call_address, emit_call_1, expand_call): Change from USE and CLOBBER insns to using CALL_INSN_FUNCTION_USAGE.
(prepare_call_address, emit_call_1, expand_call): Change from USE and CLOBBER
insns to using CALL_INSN_FUNCTION_USAGE.
(emit_library_call{,_value}): Likewise.

From-SVN: r7239
1994-05-06 17:46:44 -04:00
Richard Kenner
aff507f439 (make_call_insn_raw): New function.
(emit_call_insn{,_before}): Use make_call_insn_raw.

From-SVN: r7238
1994-05-06 17:45:57 -04:00
Richard Kenner
f1e7c95f89 (cse_insn): Invalidate CLOBBERed registers.
(count_reg_usage): Count registers in USE rtls on CALL_INSNs.

From-SVN: r7237
1994-05-06 17:45:07 -04:00
Richard Kenner
6e2d1486ac (try_combine): Restrict combining on CALL_INSNs.
(distribute_{notes,links}): Look at CALL_INSN_FUNCTION_USAGE.

From-SVN: r7236
1994-05-06 17:44:06 -04:00
Richard Kenner
8f3e7a26bd (reg_used_between_p): Check usage exprs on CALL_INSNs.
(reg_referenced_between_p, reg_set_p, dead_or_set_regno_p): Likewise.
(find_reg{,no}_fusage): New functions.

From-SVN: r7235
1994-05-06 17:43:38 -04:00
Richard Kenner
e51c6661ff (CALL_INSN_FUNCTION_USAGE): New macro.
(find_reg{,no}_fusage): Prototype for new function.

From-SVN: r7234
1994-05-06 17:40:25 -04:00
Richard Kenner
cc86770438 (CALL_INSN): Define new CALL_INSN_FUNCTION_USAGE field.
From-SVN: r7233
1994-05-06 17:40:04 -04:00
Richard Kenner
a03caf76d7 (assign_parms): Spread out the REG_EQUIV notes on
CONCATs.

From-SVN: r7232
1994-05-06 14:04:37 -04:00
Richard Kenner
cac1105ce5 (expand_decl): Don't set current_function_calls_alloca here nor record
new stack level for nonlocal gotos.

From-SVN: r7231
1994-05-06 13:46:14 -04:00
Richard Kenner
1ee86d1598 (expand_builtin...
(expand_builtin, case BUILT_IN_ALLOCA): Don't set
current_function_calls_alloca here nor record new stack level for
nonlocal gotos.

From-SVN: r7230
1994-05-06 13:44:56 -04:00
Richard Kenner
15fc002672 (allocate_dynamic_stack_space): Just return virtual_stack_dynamic_rtx if asking for zero bytes.
(allocate_dynamic_stack_space): Just return virtual_stack_dynamic_rtx if
asking for zero bytes.
Set current_function_calls_alloca here and also record new stack level for
nonlocal gotos.

From-SVN: r7229
1994-05-06 13:44:29 -04:00
Richard Kenner
1fd3ef7f65 (assign_parms): Use expr_size when appropriate.
From-SVN: r7228
1994-05-06 13:32:34 -04:00
Richard Kenner
b8c21346e9 (comptypes): An enum type if compatible with type of same signedness
as well as precision.

From-SVN: r7227
1994-05-06 12:59:23 -04:00