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
Richard Kenner
c9325fd6c6
(addsi3, subsi3): Add define_expand to make adddi3/subdi3; old pattern
...
is now anonymous.
From-SVN: r7226
1994-05-06 12:52:00 -04:00
Richard Kenner
8b7b2e3639
(CONST_COSTS): Revise all costs.
...
From-SVN: r7225
1994-05-06 12:51:22 -04:00
Richard Kenner
71923da7f3
(simplify_rtx, case MULT): Don't convert MULT to shift here.
...
(simplify_logical, case IOR): Convert back to PLUS if valid and it will
combine with another PLUS.
(extract_left_shift): New function.
(make_compound_operation, case ASHIFTRT): Simplify by calling it.
(force_to_mode): Don't ignore if X is a SUBREG.
(force_to_mode, case AND): Try to turn unchecked bits on instead of just off
and see which is cheaper.
From-SVN: r7224
1994-05-06 12:42:40 -04:00
Ian Lance Taylor
490415571b
Don't ignore errors in for loop over $(LIB[12]FUNCS_EXTRA)
...
From-SVN: r7223
1994-05-06 15:31:51 +00:00
Mike Stump
d3158f1a23
tell expand_expr that we are going to ignore the cleanup.
...
TREE_SIDE_EFFECTS should be set on these things.
From-SVN: r7222
1994-05-06 10:13:17 +00:00
Mike Stump
8d2733caec
36th Cygnus<->FSF merge
...
From-SVN: r7221
1994-05-06 09:27:46 +00:00
Mike Stump
19d3f3c523
minor tweak.
...
From-SVN: r7220
1994-05-06 09:02:42 +00:00
Mike Stump
1642c2dec6
loose some C++ options.
...
From-SVN: r7219
1994-05-06 08:56:35 +00:00
Stan Shebs
3061ec2bdb
*** empty log message ***
...
From-SVN: r7218
1994-05-06 01:00:48 +00:00
Mike Stump
700f8a8792
35th Cygnus<->FSF merge
...
From-SVN: r7217
1994-05-05 22:19:26 +00:00
Richard Kenner
87e3e0c1b5
(simplify_rtx, case SUBREG): Don't call force_to_mode.
...
(simplify_set): Call force_to_mode here.
From-SVN: r7216
1994-05-05 14:37:00 -04:00
Richard Kenner
83a24b1d0d
(movhi): Simplify code involving jump-table reference.
...
(load_address): Handle case of jump-table reference; output required label.
From-SVN: r7215
1994-05-05 13:39:17 -04:00