Commit Graph

13799 Commits

Author SHA1 Message Date
Richard Kenner 5e4ef18a2b (expand_decl): If stack checking, use alloca for large vars.
From-SVN: r14472
1997-07-17 11:26:30 -04:00
Richard Kenner 76e0d2113d (reload): If checking stack, verify frame small enough.
From-SVN: r14471
1997-07-17 11:26:10 -04:00
Richard Kenner 11044f6690 (expand_function_end): If function is non-leaf and stack checking is
requested, emit needed probes.

From-SVN: r14470
1997-07-17 11:25:54 -04:00
Richard Kenner edff249168 (allocate_dynamic_stack_space): Call probe_stack_range.
(emit_stack_probe, probe_stack_range): New functions.

From-SVN: r14469
1997-07-17 11:25:37 -04:00
Richard Kenner bf1c53323f (flag_stack_check): New declaration.
From-SVN: r14468
1997-07-17 11:25:20 -04:00
Richard Kenner f7761c9ad9 (STACK_CHECK_*): Provide default values.
(probe_stack_range): New declaration.

From-SVN: r14467
1997-07-17 11:24:57 -04:00
Richard Kenner 16d856c1bb (mark_target_live_regs): Pass FIRST_PSEUDO_REGISTER to call to
EXECUTE_IF_SET_IN_REG_SET.

From-SVN: r14466
1997-07-17 07:00:41 -04:00
Jason Merrill 0ce200e50c x
From-SVN: r14465
1997-07-17 06:40:52 +00:00
Jason Merrill 101d9529d4 x
From-SVN: r14464
1997-07-16 19:05:27 +00:00
Richard Kenner d3c4e2ab20 (emit_library_call_value): Initialize all argvec elements.
From-SVN: r14463
1997-07-16 14:34:06 -04:00
Richard Kenner 1313ec9d8c (global_conflicts): Pass FIRST_PSEUDO_REGISTER to call to
EXECUTE_IF_SET_IN_REG_SET.

From-SVN: r14462
1997-07-16 14:31:36 -04:00
Richard Kenner b5835272a0 Minor reformatting.
From-SVN: r14461
1997-07-16 14:31:00 -04:00
Richard Earnshaw 71791e16e3 (CPP_CPU_ARCH_SPEC): Handle -march=...
(TARGET_OPTIONS): Add arch= and fp=.  Delete fpe=.
(enum processor_type): Add PROCESSOR_NONE, for use in all_procs table.
(FP_DEFAULT): Default floating point architecture for generic
back-end.
(PREDICATE_CODES): Add f_register_operand.

From-SVN: r14460
1997-07-16 14:54:40 +00:00
Richard Earnshaw e9335bb692 (*push_fp_multi): New pattern.
From-SVN: r14459
1997-07-16 14:54:40 +00:00
Richard Earnshaw 4677cb4b20 Initial revision
From-SVN: r14458
1997-07-16 14:54:40 +00:00
Richard Earnshaw b111229af9 (tune_flags): New variable.
(target_{cpu,fpe}_name): Delete.
(arm_fpu_arch): New variable.
(arm_select): Also allow -march=... to configure just the
architecture.
(all_procs): Allow armv{2,2a,3,3m,4,4t} for use with -march=.
(arm_override_options): Handle -march=, but don't let -mcpu=
and -mtune= match the architecture names, since we can only
tune for an implementation.  Rework selection of tuning options
for floating point.
(use_return_insn): Support interworking with Thumb code.
(arm_rtx_costs): Rework multiply costs so that cost is based on
the tune, not the architecture.
(f_register_operand): New function.
(output_return_instruction): Support interworking with Thumb code.
(output_func_epilogue): Support interworking with Thumb code.
Remove redundant calculation of code_size. Use floating-point
load-multiples if permitted.
(emit_sfm): New function.
(arm_expand_prologue): Use floating-point store-multiples if
permitted.

From-SVN: r14457
1997-07-16 14:54:40 +00:00
Richard Earnshaw d23f41585d (arm-*-netbsd*): New configuration.
From-SVN: r14456
1997-07-16 14:53:35 +00:00
Richard Earnshaw e4188dbe66 Convert arm32:NetBSD to normal arm canonicalization.
From-SVN: r14451
1997-07-16 14:45:30 +00:00
Jim Wilson df224fddda (exeext): Set to build_exeext not exeext.
From-SVN: r14450
1997-07-15 19:05:02 -07:00
Jim Wilson a204adc6a7 (exeext): Delete redundant set and AC_SUBST call.
Change remaining AC_SUBST to use build_exeext instead of exeext.

From-SVN: r14449
1997-07-15 19:04:04 -07:00
Doug Evans 434332b570 Change: if [[ x$thread_file = x ]]; then
to: if [[ x$enable_threads = xyes ]]; then

From-SVN: r14448
1997-07-15 19:48:10 +00:00
Michael Meissner dea13a31f0 Declare replace_regs
From-SVN: r14447
1997-07-15 19:22:58 +00:00
Jason Merrill 3e8d8d4bc7 x
From-SVN: r14446
1997-07-15 02:12:38 +00:00
Jason Merrill 6373aa3ac1 x
From-SVN: r14445
1997-07-14 20:26:16 +00:00
Jeff Law 5e26979cd5 calls.c (emit_library_call): Use right index into argvec array when iterating over arguments which need to...
* calls.c (emit_library_call): Use right index into argvec array
        when iterating over arguments which need to be pushed on the stack.
        (emit_library_call_value): Likewise.

From-SVN: r14444
1997-07-14 14:19:23 -06:00
Richard Stallman 467bea2773 (pc:*:*:*): New entry, for DJGPP.
From-SVN: r14442
1997-07-14 19:53:44 +00:00
Karl Berry 3cba71de15 (\indexdummies): Add \value.
From-SVN: r14441
1997-07-14 17:43:41 +00:00
Richard Kenner bdc5ed93ce (convert_filename): Fix typo.
From-SVN: r14440
1997-07-14 08:17:39 -04:00
Richard Kenner ffdd22a9d4 Clear headers and lib2funcs before re-reading config-lang.in.
From-SVN: r14439
1997-07-14 08:12:43 -04:00
Richard Kenner e91bc805f4 (LINK_SPEC): Fix last change.
From-SVN: r14438
1997-07-14 08:10:11 -04:00
Richard Kenner 1c988fb7c5 (alpha-*-linux-gnu*): Set tmake_file.
From-SVN: r14437
1997-07-14 08:03:37 -04:00
Richard Kenner 7c388900ab Initial revision
From-SVN: r14436
1997-07-14 08:03:23 -04:00
Richard Kenner f5cbda7cb1 (LINK_SPEC): Fix typo.
From-SVN: r14435
1997-07-14 08:03:17 -04:00
Richard Kenner 604d63b028 (sparc-*-linux-gnu{*,libc1*}): Add sparc/t-linux.
From-SVN: r14434
1997-07-14 08:00:57 -04:00
Richard Kenner 56f21a2634 Remove unapproved change.
From-SVN: r14433
1997-07-14 07:56:23 -04:00
Richard Kenner 8ed3da9696 (output_{and,ior,xor}si3): New extern declarations.
From-SVN: r14432
1997-07-14 07:41:34 -04:00
Richard Kenner 29ae8a3cb3 (output_{and,ior,xor}si3): New functions from patterns bodies.
From-SVN: r14431
1997-07-14 07:41:24 -04:00
Richard Kenner 5f24901c29 (adddi3, subdi3): Allow constant operand.
(anddi3, iordi3, xordi3): New patterns.
({and,ior,xor}si3_internal): Use corresponding output_???si3 function.

From-SVN: r14430
1997-07-14 07:41:09 -04:00
Richard Kenner 6b40374366 (*-*-gnu*): Add crt{begin,end}S.o to extra_parts.
From-SVN: r14429
1997-07-14 07:33:10 -04:00
Richard Kenner 506711af80 (assemble_variable): If low part of size doesn't fit in an int,
variable is too large.

From-SVN: r14428
1997-07-14 07:26:35 -04:00
Richard Kenner 9ddca353b9 (rest_of_compilation): Call regset_release_memory.
From-SVN: r14427
1997-07-14 06:51:35 -04:00
Richard Kenner 6ed545b124 (schedule_block): Free space associated with reg_pending_sets and old_live_regs.
(schedule_block): Free space associated with reg_pending_sets and
old_live_regs.
(schedule_insns): Free bb_{dead,live}_regs on first pass.
(sched_analyze_insn): Use EXECUTE_IF_SET_IN_REG_SET and then clear.

From-SVN: r14426
1997-07-14 06:51:23 -04:00
Richard Kenner 4fac99c856 (mark_target_live_regs): Delete unused variables.
From-SVN: r14425
1997-07-14 06:50:59 -04:00
Richard Kenner 73b764487b (init_reg_sets): Invoke INIT_ONCE_REG_SET.
(allocate_reg_info): Invoke MAX_REGNO_REG_SET.
(regset_release_memory): Free basic_block_live_at_start storage.

From-SVN: r14424
1997-07-14 06:50:48 -04:00
Richard Kenner a1493f9fb4 (allocate_for_life_analysis): Add declaration.
(regno_uninitialized, regno_clobbered_at_setjmp): Likewise.
(dump_flow_info, flow_analysis): Likewise.

From-SVN: r14423
1997-07-14 06:50:20 -04:00
Richard Kenner 67f0e21376 (init_regset_vector): Make global; don't take basic block times # of pseduos as argument.
(init_regset_vector): Make global; don't take basic block times # of pseduos
as argument.
(life_analysis): Change all init_regset_vector calls.
Use free_regset_vector to release arrays only flow uses at end.
(allocate_for_life_analysis): Change init_regset_vector call.
Don't set regset_{size,bytes}.
(free_regset_vector): Call FREE_REG_SET to release any memory allocated
by each vector.
(propagate_block): Call FREE_REG_SET on dead/live.
(mark_used_regs): Don't use REGSET_ELT_TYPE anymore.

From-SVN: r14422
1997-07-14 06:49:58 -04:00
Richard Kenner 19d181423f (*REG_SET): Delete old implementation; use bitmap.h.
(regset_{size,bytes}): Delete.
(regs_live_at_setjmp): Declare.
(EXECUTE_IF_SET_AND_RESET_IN_REG_SET): Delete.

From-SVN: r14421
1997-07-14 06:49:30 -04:00
Richard Kenner 096ab9eaaf Initial revision
From-SVN: r14420
1997-07-14 06:49:07 -04:00
Richard Kenner 8b8b2c1c00 (OBJS): Add bitmap.o.
(BASIC_BLOCK_H): New make variable for basic-block.h, bitmap.h.
({flow,combine,regclass,local-alloc,reload1,reorg,sched}.o): Use
BASIC_BLOCK_H variable instead of basic-block.h.

From-SVN: r14419
1997-07-14 06:48:54 -04:00
Jason Merrill fe0986b439 x
From-SVN: r14418
1997-07-14 07:12:36 +00:00