Commit Graph

10430 Commits

Author SHA1 Message Date
Richard Kenner e081ed261f (find_barrier): When create new label, set LABEL_NUSES to 1.
From-SVN: r10497
1995-10-21 18:25:06 -04:00
Richard Kenner 5dbcc9c0dc (find_barrier): Always use get_attr_length to compute length of instructions.
(find_barrier): Always use get_attr_length to compute length of
instructions.  If count_hi or count_si out of range at end, need two
PREV_INSN calls not one.

From-SVN: r10496
1995-10-21 18:22:27 -04:00
Richard Kenner 00e94d6531 (find_barrier): When hi_const returns true, increment count_si by two
if found_si is true.

From-SVN: r10495
1995-10-21 18:20:06 -04:00
Richard Kenner 2ad79487e4 (expand_float): Emit missing barrier after unconditional jump.
From-SVN: r10494
1995-10-21 18:17:23 -04:00
Richard Kenner 0331e642aa (cmpdf): Make conditional on TARGET_FP.
From-SVN: r10493
1995-10-21 14:16:31 -04:00
Richard Kenner 3bb5826ab8 (safe_from_p, case RTL_EXPR): Return 0 if RTL_EXPR_SEQUENCE exists.
Delete code to return 0 if exp_rtl is zero.

From-SVN: r10492
1995-10-20 19:30:53 -04:00
Richard Kenner d02089a5f2 (distribute_notes): Delete instructions without side effect that set a
subreg of an unused register.

From-SVN: r10491
1995-10-20 19:14:10 -04:00
Richard Kenner 089a0f3971 (PREFERRED_RELOAD_CLASS): Check for !G constants for DATA_OR_FP_REGS
also.

From-SVN: r10490
1995-10-20 19:11:04 -04:00
Richard Kenner fb68538818 Output negations of unused alternatives, even if one of the
alternatives is selected.

From-SVN: r10489
1995-10-20 18:57:04 -04:00
Richard Kenner 09578c273e (output_inline_function): Turn on flag_no_inline to avoid function integration...
(output_inline_function): Turn on flag_no_inline to avoid function
integration once we begin writing deferred output functions.

From-SVN: r10488
1995-10-20 18:48:39 -04:00
Richard Kenner d904e9ed26 (move_to_float insns): Change move_to_float so that it doesn't have a clobber of the memory address...
(move_to_float insns): Change move_to_float so that it doesn't have a
clobber of the memory address, and instead passes the stack temp's
memory address as one of the unspec args.
(fix_truncdfsi2): Use rs6000_stack_temp to allocate the temp.
(multiply, shift insns): Fix all cases of multiply and shift insns so
that the right mnemonics are used for -mcpu=common with both
-m{old,new}-mnemonics.

From-SVN: r10487
1995-10-20 18:46:03 -04:00
Richard Kenner b7676b4631 (offsettable_addr_operand): Declare instead of offsettable_mem_operand.
(PREDICATE_CODES): Use offsettable_addr_operand.
(float_conv_temp): Delete variable.

From-SVN: r10486
1995-10-20 18:45:24 -04:00
Richard Kenner 5b5040b9e6 (float_conv_temp): Delete global variable.
(stack_temps): New static array to hold stack temps.
(offsettable_mem_operand): Delete function.
(offsettable_addr_operand, rs6000_stack_temp): New functions.
(output_epilog): Zero stack_temps.

From-SVN: r10485
1995-10-20 18:44:58 -04:00
Richard Kenner 9fe320d793 (rest_of_compilation): Call init_insn_lengths here.
From-SVN: r10484
1995-10-20 17:58:04 -04:00
Richard Kenner 41fd457e3e (init_function_start): Don't call init_insn_lengths here.
From-SVN: r10483
1995-10-20 17:57:07 -04:00
Richard Kenner 679499cdba ({low_32_bit,offsettable_mem}_operand): The function low_32_bit_operand is now unused, delete it.
({low_32_bit,offsettable_mem}_operand): The function
low_32_bit_operand is now unused, delete it.  New function
offsettable_mem_operand to determine if a memory address is
offsettable.
(PREDICATE_CODES): Ditto.
(float_conv_temp): New global.

From-SVN: r10482
1995-10-19 19:31:10 -04:00
Richard Kenner 8f75773e1f ({low_32_bit,offsettable_mem}_operand): The function low_32_bit_operand is now unused, delete it.
({low_32_bit,offsettable_mem}_operand): The function
low_32_bit_operand is now unused, delete it.  New function
offsettable_mem_operand to determine if a memory address is
offsettable.
(float_conv_temp): New global.
(output_epilog): Zero out float_conv_temp.

From-SVN: r10481
1995-10-19 19:30:28 -04:00
Richard Kenner dbe3df2943 (float{,uns}sidf2): Rewrite to break the conversion process into several general insns.
(float{,uns}sidf2): Rewrite to break the conversion process into several
general insns.
(move_to_float): New insns to move 2 integer regs into a float
register through memory, taking endianess into account.  Make sure
that the floating temporary is a valid address.  Use one temporary for
all floats converted.
(fix_truncdfsi2): Take endianess into account.

From-SVN: r10480
1995-10-19 19:27:43 -04:00
Richard Kenner 39b751ce5a (check_format_info): Make test for null pointer more general.
From-SVN: r10479
1995-10-19 19:18:59 -04:00
Richard Kenner 7bd7a75601 (ASM_SPEC): If GNU as is the default, then pass -g to the assembler if -malpha-as.
(ASM_SPEC): If GNU as is the default, then pass -g to the assembler if
-malpha-as.  If GNU as is not the default, then pass -g to the
assembler is not -mgas.

From-SVN: r10478
1995-10-19 19:01:42 -04:00
Richard Kenner c3647fe082 (stdlib.h): Be more general in edit to change declaration of
{c,m,re}alloc.

From-SVN: r10477
1995-10-19 18:56:08 -04:00
Richard Kenner ce13d15fbc (__udiv_w_sdiv): If we don't have sdiv_qrnnd, define dummy variant of
__udiv_w_sdiv.

From-SVN: r10476
1995-10-19 18:48:45 -04:00
Richard Kenner 932d1119f5 (distribute_notes): When search for new place to put REG_DEAD note,
call distribute_links if this new place is between i2 and i3, and i2
uses the register.

From-SVN: r10475
1995-10-19 18:44:41 -04:00
Richard Kenner 5918c8534a (libgcc{1,2}.a): Allow LIB{1,2}FUNCS_EXTRA files to end in .S as well
as .c and .asm.

From-SVN: r10474
1995-10-19 18:41:23 -04:00
Richard Kenner 7e9d002adb (parser_build_binary_op): Warn about x^y==z, etc.
From-SVN: r10473
1995-10-18 17:56:23 -04:00
Jeff Law c043666f5c config.guess: Recognize HP model 819 machines has having a PA 1.1 processor.
* config.guess: Recognize HP model 819 machines has having
        a PA 1.1 processor.

From-SVN: r10439
1995-10-16 09:40:29 -06:00
Mike Stump f30432d726 75th Cygnus<->FSF merge
From-SVN: r10438
1995-10-12 02:33:51 +00:00
Richard Kenner c35836203c (reverse_def_dec_list): Silence compiler warnings.
From-SVN: r10437
1995-10-09 12:37:55 -04:00
Richard Kenner 4859bca5c1 (va_arg): Deal with long longs that would be passed in the 7th
register, and are passed in the stack instead.

From-SVN: r10436
1995-10-09 12:35:48 -04:00
Richard Kenner fc5fbc11aa (ASM_SPEC): Add -g.
From-SVN: r10435
1995-10-06 13:47:02 -04:00
Richard Kenner 9a0b18f247 (alpha_{arg,auto}_offset): Make extern.
From-SVN: r10434
1995-10-06 13:42:42 -04:00
Richard Kenner 5731aa1257 (RETURN_ADDRESS_OFFSET): Correct previous change.
From-SVN: r10433
1995-10-06 13:24:35 -04:00
Richard Kenner ce9c8df26c (reg_set_last): Fix call to reg_set_between_p.
From-SVN: r10432
1995-10-06 13:14:37 -04:00
Mike Stump 0ebba7fc0d fix small typo
From-SVN: r10431
1995-10-04 17:59:40 +00:00
Richard Kenner e24ff97333 (layout_type...
(layout_type, case ARRAY_TYPE): Strip MAX_EXPR from upper bound when
computing length if it just protects against negative length.

From-SVN: r10430
1995-10-03 19:15:52 -04:00
Richard Kenner 675f0e7cb2 Fix comments and formatting related to RETURN_ADDR_RTX.
From-SVN: r10429
1995-10-03 18:31:18 -04:00
Richard Kenner 15448afcc8 (simplify_rtx): In code that attempts to simplify conditional expressions...
(simplify_rtx): In code that attempts to simplify conditional
expressions, if the result is an NE around another comparison, return
the original expression.

From-SVN: r10428
1995-10-03 13:58:18 -04:00
Richard Kenner 15a7a8ec1c (emit_move_insn_1): When doing multi-word move, show output is
clobbered.

From-SVN: r10427
1995-10-03 12:31:19 -04:00
Richard Kenner 890465354d (set_nonvarying_address_components, case AND): Add *pend to end.
(set_nonvarying_address_components, case AND): Add *pend to end.  Add
constant to start instead of subtracting it.

From-SVN: r10426
1995-10-03 12:25:50 -04:00
Richard Kenner df138bc22c (mips umul_ppmm): Use `l' and `h' constraints; remove mflo and mfhi
instructions.

From-SVN: r10425
1995-10-03 12:23:21 -04:00
Richard Kenner 3e8f1dc0af (va_start...
(va_start, stdarg case): Call __builtin_next_arg, and ignore the
result, so that the compiler can report the proper error, if the
second argument is not the last argument.

From-SVN: r10424
1995-10-03 12:21:26 -04:00
Richard Kenner c8465d7089 Update comments.
From-SVN: r10423
1995-10-03 12:17:19 -04:00
Richard Kenner 291dde90f0 (assign_stack_temp): Adjust full_size field of temp_slot when
splitting an unused slot.

From-SVN: r10422
1995-10-03 12:02:38 -04:00
Richard Kenner 6ea0cab3c4 (RETURN_ADDR_RTX): New definition.
From-SVN: r10421
1995-10-03 11:51:51 -04:00
Richard Kenner 5b6faa7080 (RETURN_ADDR_RTX): Remove call to copy_to_reg.
From-SVN: r10420
1995-10-03 11:50:33 -04:00
Richard Kenner f09d4c3309 (RETURN_ADDR_RTX): Remove call to copy_to_reg.
(RETURN_ADDR_RTX): Remove call to copy_to_reg.  Offset to return
address is 4 when !TARGET_64BIT and v4_call_p, 8 otherwise.

From-SVN: r10419
1995-10-03 11:49:16 -04:00
Richard Kenner 2bbf216f5e (expand_builtin_return_addr): Break out functionality from expand_builtin.
(expand_builtin): Call expand_builtin_return_addr.

From-SVN: r10418
1995-10-03 11:48:39 -04:00
Stan Cox cbbb4649a5 config/m88k/dgux.h (ASM_SPEC, *_LEGEND)
From-SVN: r10417
1995-10-02 20:42:45 +00:00
Richard Kenner 2cd2a93e72 (staticp, case INDIRECT_EXPR): Disable case.
From-SVN: r10416
1995-10-01 21:27:28 -04:00
Richard Kenner b74f5ff2bd (expand_expr, case COMPONENT_REF): If getting component of union of
variable size, propagate TARGET.

From-SVN: r10415
1995-10-01 21:23:04 -04:00