platform/upstream/gcc.git
31 years agoDon't put #ifndefs in limits.h if they are already there
Ian Lance Taylor [Fri, 9 Apr 1993 19:12:20 +0000 (19:12 +0000)]
Don't put #ifndefs in limits.h if they are already there

From-SVN: r4053

31 years ago(combine.o): Includes hard-reg-set.h.
Richard Kenner [Fri, 9 Apr 1993 01:45:43 +0000 (21:45 -0400)]
(combine.o): Includes hard-reg-set.h.

From-SVN: r4052

31 years agoInclude hard-reg-set.h.
Richard Kenner [Fri, 9 Apr 1993 01:44:57 +0000 (21:44 -0400)]
Include hard-reg-set.h.

(reg_nonzero_bits): Should be unsigned.
(reg_last_set_{mode,nonzero_bits,sign_bit_copies}): New variables.
(combine_instructions): Allocate and initialized them.
(nonzero_bits, num_sign_bit_copies, case REG): Use new variables to get
information on regs we've seen before.
(record_value_for_reg): Set new variables for register being modified.
(record_dead_and_set_regs): Invalidate regs clobbered by CALL_INSN.

From-SVN: r4051

31 years ago(force_to_mode...
Richard Kenner [Fri, 9 Apr 1993 01:39:46 +0000 (21:39 -0400)]
(force_to_mode...

(force_to_mode, case xSHIFT): Don't narrow the mode unless we can be
sure that the shift count is smaller than the size of the mode.

From-SVN: r4050

31 years ago(do_store_flag, case GT_EXPR, LE_EXPR): Don't confuse highest unsigned
Richard Kenner [Fri, 9 Apr 1993 01:38:46 +0000 (21:38 -0400)]
(do_store_flag, case GT_EXPR, LE_EXPR): Don't confuse highest unsigned
value with -1.

From-SVN: r4049

31 years ago(enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add new
Richard Kenner [Fri, 9 Apr 1993 01:35:57 +0000 (21:35 -0400)]
(enum reg_class, REG_CLASS_NAMES, REG_CLASS_CONTENTS): Add new
register class GEN_AND_FLOAT_REGS.

From-SVN: r4048

31 years agoTypo in last change.
Richard Stallman [Fri, 9 Apr 1993 01:35:55 +0000 (01:35 +0000)]
Typo in last change.

From-SVN: r4047

31 years ago(c-parse.y, objc-parse.y): Use sed, not awk.
Richard Stallman [Fri, 9 Apr 1993 00:20:09 +0000 (00:20 +0000)]
(c-parse.y, objc-parse.y): Use sed, not awk.

From-SVN: r4046

31 years ago(finish_enum): Store layout results into variant types.
Richard Stallman [Fri, 9 Apr 1993 00:00:06 +0000 (00:00 +0000)]
(finish_enum): Store layout results into variant types.

From-SVN: r4045

31 years ago(mark_set_1): Clear reg_next_use at the proper place.
Richard Stallman [Thu, 8 Apr 1993 22:42:43 +0000 (22:42 +0000)]
(mark_set_1): Clear reg_next_use at the proper place.

From-SVN: r4044

31 years agoAllow libgcc2.a to be built using fixed header files
Ian Lance Taylor [Thu, 8 Apr 1993 14:53:33 +0000 (14:53 +0000)]
Allow libgcc2.a to be built using fixed header files

From-SVN: r4043

31 years agoMove tree.h prototypes of c-* functions to c-tree.h
Michael Meissner [Thu, 8 Apr 1993 10:57:49 +0000 (10:57 +0000)]
Move tree.h prototypes of c-* functions to c-tree.h

From-SVN: r4042

31 years ago(mark_set_1): Clear reg_next_use for all kinds of regs.
Richard Stallman [Wed, 7 Apr 1993 22:13:16 +0000 (22:13 +0000)]
(mark_set_1): Clear reg_next_use for all kinds of regs.

From-SVN: r4041

31 years agoAdd -fpic support back in.
Michael Meissner [Wed, 7 Apr 1993 13:17:34 +0000 (13:17 +0000)]
Add -fpic support back in.

From-SVN: r4040

31 years ago(va_arg): Cast argument pointer to (char *).
Jim Wilson [Wed, 7 Apr 1993 01:33:35 +0000 (18:33 -0700)]
(va_arg): Cast argument pointer to (char *).

From-SVN: r4039

31 years ago(start_function): Inhibit missing prototype warning for `main'.
Richard Stallman [Tue, 6 Apr 1993 22:07:51 +0000 (22:07 +0000)]
(start_function): Inhibit missing prototype warning for `main'.

From-SVN: r4038

31 years agotree.h (require_complete_type, [...]): Add prototypes.
Brendan Kehoe [Tue, 6 Apr 1993 21:25:12 +0000 (17:25 -0400)]
tree.h (require_complete_type, [...]): Add prototypes.

        * tree.h (require_complete_type, lookup_name_current_level): Add
        prototypes.

From-SVN: r4037

31 years ago(loop_iterations): When computing comparison_value, use
Jim Wilson [Tue, 6 Apr 1993 19:38:34 +0000 (12:38 -0700)]
(loop_iterations): When computing comparison_value, use
reg_set_p to identify instructions that modify it.

From-SVN: r4036

31 years ago(lshldi3, lshrdi3): Define.
Jim Wilson [Tue, 6 Apr 1993 19:36:49 +0000 (12:36 -0700)]
(lshldi3, lshrdi3): Define.

From-SVN: r4035

31 years ago(STAGESTUFF): Add insn-opinit.c, stamp-opinit, and genopinit.
Jim Wilson [Tue, 6 Apr 1993 19:34:36 +0000 (12:34 -0700)]
(STAGESTUFF): Add insn-opinit.c, stamp-opinit, and genopinit.

From-SVN: r4034

31 years ago(do_include): For missing header file...
Jim Wilson [Tue, 6 Apr 1993 19:32:37 +0000 (12:32 -0700)]
(do_include): For missing header file...

(do_include): For missing header file, if -M, don't
output dependencies, and warning not error if no dependency is
needed.

From-SVN: r4033

31 years ago(decl_attributes...
Jim Wilson [Tue, 6 Apr 1993 19:30:45 +0000 (12:30 -0700)]
(decl_attributes...

(decl_attributes, format case): Error if num_arg does
not point to a string type argument, or if first_arg_num not the
anonymous argument.

From-SVN: r4032

31 years ago(init_function_start): Always set
Jim Wilson [Tue, 6 Apr 1993 19:28:47 +0000 (12:28 -0700)]
(init_function_start): Always set
current_funtion_returns_pcc_struct if PCC_STATIC_STRUCT_RETURN defined.

From-SVN: r4031

31 years ago(movdi): End by returning the last template; otherwise
Jim Wilson [Tue, 6 Apr 1993 19:26:49 +0000 (12:26 -0700)]
(movdi): End by returning the last template; otherwise
we return junk for a template.

From-SVN: r4030

31 years agoentered into RCS
Roland McGrath [Tue, 6 Apr 1993 19:23:20 +0000 (19:23 +0000)]
entered into RCS

From-SVN: r4029

31 years agoAdd prototypes.
Jim Wilson [Tue, 6 Apr 1993 19:09:26 +0000 (12:09 -0700)]
Add prototypes.

From-SVN: r4028

31 years agoMore mips gas changes, allow -gdwarf on OSF/1
Michael Meissner [Tue, 6 Apr 1993 16:09:50 +0000 (16:09 +0000)]
More mips gas changes, allow -gdwarf on OSF/1

From-SVN: r4027

31 years ago(emit_reload_insns): Cast enum array index to int.
Richard Stallman [Tue, 6 Apr 1993 05:49:35 +0000 (05:49 +0000)]
(emit_reload_insns): Cast enum array index to int.

From-SVN: r4026

31 years agopa.c (print_stw, print_ldw): Delete.
Jeff Law [Tue, 6 Apr 1993 00:52:19 +0000 (18:52 -0600)]
pa.c (print_stw, print_ldw): Delete.

* pa.c (print_stw, print_ldw): Delete.
(eligible_for_epilogue_delay): Delete.
(hppa_epilogue_delay_slots): Delete.
(store_reg, load_reg, set_reg_plus_d): New helper functions.
(output_function_prologue): Only emit assembler pseudo-ops
to denote the start of a function.  Place the correct
value into hp_profile_label_name if profiling.
(output_function_epilogue): Only emit assembler pseudo-ops
to deonte the end of a function.
(hppa_expand_prologue): New function to emit all prologue
code as RTL.
(hppa_expand_epilogue): Likewise for the epilogue.
(compute_frame_size): Update to account for using %r4 as an
allocatable register if the frame pointer was eliminated.

From-SVN: r4025

31 years agopa.h (FIXED_REGISTERS): %r4 is no longer fixed.
Jeff Law [Tue, 6 Apr 1993 00:51:37 +0000 (18:51 -0600)]
pa.h (FIXED_REGISTERS): %r4 is no longer fixed.

* pa.h  (FIXED_REGISTERS): %r4 is no longer fixed.
(CALL_USED_REGISTERS): %r4 is no longer CALL_USED either.
(REG_ALLOC_ORDER): Move %r4 up in the allocation order.
(DELAY_SLOTS_FOR_EPILOGUE): Delete.
(ELIGIBLE_FOR_EPILOGUE_DELAY): Delete.

From-SVN: r4024

31 years agopa.md (prologue, epilogue): New define_expands.
Jeff Law [Tue, 6 Apr 1993 00:51:12 +0000 (18:51 -0600)]
pa.md (prologue, epilogue): New define_expands.

* pa.md (prologue, epilogue): New define_expands.
(return_internal, call_profiler): New define_insns.

From-SVN: r4023

31 years ago(expand_expr, case SAVE_EXPR): Pass promoted type to store_expr.
Richard Kenner [Mon, 5 Apr 1993 10:57:19 +0000 (06:57 -0400)]
(expand_expr, case SAVE_EXPR): Pass promoted type to store_expr.

From-SVN: r4022

31 years ago(store_constructor): Properly compute size of array when
Richard Stallman [Mon, 5 Apr 1993 10:55:34 +0000 (10:55 +0000)]
(store_constructor): Properly compute size of array when
clearing the whole array.

From-SVN: r4021

31 years agoc-decl.c (lookup_name_current_level): Make non-static.
Per Bothner [Mon, 5 Apr 1993 06:59:02 +0000 (23:59 -0700)]
c-decl.c (lookup_name_current_level):  Make non-static.

From-SVN: r4020

31 years ago(expr_no_commas, from ASSIGN op):
Richard Stallman [Mon, 5 Apr 1993 06:36:22 +0000 (06:36 +0000)]
(expr_no_commas, from ASSIGN op):

Store ERROR_MARK as the original code.

From-SVN: r4019

31 years agopa.md (movdi patterns): Do not accept 1.0 FP registers in the constraints.
Jeff Law [Mon, 5 Apr 1993 00:19:36 +0000 (18:19 -0600)]
pa.md (movdi patterns): Do not accept 1.0 FP registers in the constraints.

* pa.md (movdi patterns): Do not accept 1.0 FP registers in
the constraints.
(floatunsdisf, floatunsdidf expanders): Disable unless TARGET_SNAKE.
(floatdisf2, floatdidf2 patterns): Likewise.
(fix_truncdisf2, fix_truncdidf2): Likewise

From-SVN: r4018

31 years agopa.h (HARD_REGNO_MODE_OK): Do not accept integer modes greater than 32 bits in 1...
Jeff Law [Mon, 5 Apr 1993 00:18:07 +0000 (18:18 -0600)]
pa.h (HARD_REGNO_MODE_OK): Do not accept integer modes greater than 32 bits in 1.0 FP registers.

* pa.h (HARD_REGNO_MODE_OK): Do not accept integer modes
greater than 32 bits in 1.0 FP registers.
* pa.md (movdi patterns): Do not accept 1.0 FP registers.
(floatunsdisf, floatunsdidf expanders): Disable unless TARGET_SNAKE.
(floatdisf2, floatdidf2 patterns): Likewise.
(fix_truncdisf2, fix_truncdidf2): Likewise.

From-SVN: r4017

31 years agopa.md (dbra pattern): Extend to allow any 5 bit increment...
Jeff Law [Mon, 5 Apr 1993 00:12:54 +0000 (18:12 -0600)]
pa.md (dbra pattern): Extend to allow any 5 bit increment...

* pa.md (dbra pattern): Extend to allow any 5 bit increment,
any comparison operator for the compare against zero, and
no longer require the REG_NONNEG note.

From-SVN: r4016

31 years agopa.md (movsi for FP regs): Delete special case patterns.
Jeff Law [Mon, 5 Apr 1993 00:08:54 +0000 (18:08 -0600)]
pa.md (movsi for FP regs): Delete special case patterns.

* pa.md (movsi for FP regs): Delete special case patterns.
(movdi for FP regs): Likewise.
(movsi main recognizer): Allow fp<->memory copies.
(movdi main recognizer): Likewise.

From-SVN: r4015

31 years agopa.c (short_memory_operand): Delete.
Jeff Law [Mon, 5 Apr 1993 00:08:33 +0000 (18:08 -0600)]
pa.c (short_memory_operand): Delete.

* pa.c (short_memory_operand): Delete.
(emit_move_sequence): Do not use short_memory_operand When testing
for secondary reloads for FP loads/stores.

From-SVN: r4014

31 years agopa.h (EXTRA_CONSTRAINT): Refine 'T' constraint to not accept pseudos which did not...
Jeff Law [Mon, 5 Apr 1993 00:07:08 +0000 (18:07 -0600)]
pa.h (EXTRA_CONSTRAINT): Refine 'T' constraint to not accept pseudos which did not get hard registers.

* pa.h (EXTRA_CONSTRAINT): Refine 'T' constraint to not accept
pseudos which did not get hard registers.  Do not use
short_memory_operand.

From-SVN: r4013

31 years ago(FUNCTION_OUTGOING_VALUE): Remove.
Torbjorn Granlund [Sun, 4 Apr 1993 22:57:55 +0000 (22:57 +0000)]
(FUNCTION_OUTGOING_VALUE): Remove.

(FUNCTION_VALUE_REGNO_P): Return regs depend on TARGET_SNAKE.

From-SVN: r4012

31 years agoChange "illegal" to "invalid" in error messages.
Richard Stallman [Sun, 4 Apr 1993 22:47:36 +0000 (22:47 +0000)]
Change "illegal" to "invalid" in error messages.

(parse_stabs_common): Allow nonzero ignored fields in .stabs/.stabn.

From-SVN: r4011

31 years agoInclude reload.h.
Richard Kenner [Sun, 4 Apr 1993 22:14:12 +0000 (18:14 -0400)]
Include reload.h.

From-SVN: r4010

31 years ago(optabs.o): Show includes reload.h.
Richard Kenner [Sun, 4 Apr 1993 22:13:51 +0000 (18:13 -0400)]
(optabs.o): Show includes reload.h.

From-SVN: r4009

31 years ago(get_jump_flags): Check for LABEL == 0 before using LABEL.
Richard Kenner [Sun, 4 Apr 1993 21:47:30 +0000 (17:47 -0400)]
(get_jump_flags): Check for LABEL == 0 before using LABEL.

From-SVN: r4008

31 years ago(expand_call) [PCC_STATIC_STRUCT_RETURN]:
Richard Stallman [Sun, 4 Apr 1993 21:28:09 +0000 (21:28 +0000)]
(expand_call) [PCC_STATIC_STRUCT_RETURN]:

Always set pcc_struct_value if aggregate_value_p returns 1.

From-SVN: r4007

31 years ago(alloca.o): Delete -Demacs from command.
Richard Stallman [Sun, 4 Apr 1993 20:38:29 +0000 (20:38 +0000)]
(alloca.o): Delete -Demacs from command.

From-SVN: r4006

31 years ago(type_attribute): Use the TYPE_MAIN_VARIANT of the
Richard Stallman [Sun, 4 Apr 1993 20:28:11 +0000 (20:28 +0000)]
(type_attribute): Use the TYPE_MAIN_VARIANT of the
given type when calling `user_def_type_attribute'.

From-SVN: r4005

31 years ago(output_prolog): Need LDGP even for static procedure.
Richard Kenner [Sun, 4 Apr 1993 15:44:08 +0000 (11:44 -0400)]
(output_prolog): Need LDGP even for static procedure.

From-SVN: r4004

31 years ago(alpha_builtin_saveregs): Adjust for fact that
Richard Kenner [Sun, 4 Apr 1993 14:10:05 +0000 (10:10 -0400)]
(alpha_builtin_saveregs): Adjust for fact that
virtual_incoming_args_rtx includes pretend size.

From-SVN: r4003

31 years ago(SETUP_INCOMING_VARARGS): Adjust for fact that
Richard Kenner [Sun, 4 Apr 1993 14:09:44 +0000 (10:09 -0400)]
(SETUP_INCOMING_VARARGS): Adjust for fact that
virtual_incoming_args_rtx includes pretend size.

(LINK_SPEC): Don't pass -O2 to ld; it seems to be broken.

From-SVN: r4002

31 years ago(rare_destination): New function.
Richard Kenner [Sun, 4 Apr 1993 11:57:10 +0000 (07:57 -0400)]
(rare_destination): New function.

(mostly_true_jump): Refine to use more info about destination and fallthrough;
now returns -1 for very unlikely branches.
(fill_eager_delay_slots, relax_delay_slots): Allow -1 return from
mostly_true_jump.

From-SVN: r4001

31 years ago(XFtype): Do define it, if LONG_DOUBLE_TYPE_SIZE == 96.
Richard Stallman [Sun, 4 Apr 1993 07:18:03 +0000 (07:18 +0000)]
(XFtype): Do define it, if LONG_DOUBLE_TYPE_SIZE == 96.

(__fixunsxfdi): New function, if LONG_DOUBLE_TYPE_SIZE == 96.
(__fixxfdi, __floatdixf, __fixunsxfsi): Likewise.

From-SVN: r4000

31 years ago[__svr4__]: Test only _VA_LIST_ to avoid dup typedef.
Richard Stallman [Sun, 4 Apr 1993 07:17:15 +0000 (07:17 +0000)]
[__svr4__]: Test only _VA_LIST_ to avoid dup typedef.

(This used to be if __SVR4_2__.)

From-SVN: r3999

31 years ago[__svr4__]: Test only _VA_LIST_ to avoid dup typedef.
Richard Stallman [Sun, 4 Apr 1993 07:16:41 +0000 (07:16 +0000)]
[__svr4__]: Test only _VA_LIST_ to avoid dup typedef.

(This used to test __SVR4_2__.)

From-SVN: r3998

31 years ago(LIB2FUNCS): Add _fixunsxfdi, _fixxfdi, _floatdixf, _fixunsxfsi.
Richard Stallman [Sun, 4 Apr 1993 07:15:20 +0000 (07:15 +0000)]
(LIB2FUNCS): Add _fixunsxfdi, _fixxfdi, _floatdixf, _fixunsxfsi.

From-SVN: r3997

31 years ago(floating_exact_log2): Initialize r1.
Richard Stallman [Sun, 4 Apr 1993 07:09:40 +0000 (07:09 +0000)]
(floating_exact_log2): Initialize r1.

From-SVN: r3996

31 years ago* pa.c (hppa_legitimize_address): Use Pmode consistently.
Jeff Law [Sun, 4 Apr 1993 01:00:34 +0000 (18:00 -0700)]
* pa.c (hppa_legitimize_address): Use Pmode consistently.

From-SVN: r3995

31 years ago(emit_reload_insns): Don't update the status of a register from an
Richard Kenner [Sat, 3 Apr 1993 22:39:33 +0000 (17:39 -0500)]
(emit_reload_insns): Don't update the status of a register from an
input reload if it also has an output reload.

From-SVN: r3994

31 years ago(store_expr): Call size_binop instead of doing the same thing with
Richard Kenner [Sat, 3 Apr 1993 22:37:45 +0000 (17:37 -0500)]
(store_expr): Call size_binop instead of doing the same thing with
fold and build.

From-SVN: r3993

31 years ago(simplify_comparison, case PLUS): Generalize simplification of (eq (plus A B) C).
Richard Kenner [Sat, 3 Apr 1993 22:34:45 +0000 (17:34 -0500)]
(simplify_comparison, case PLUS): Generalize simplification of (eq (plus A B) C).

(simplify_comparison, case PLUS): Generalize simplification
of (eq (plus A B) C).
(simplify_comparison, case MINUS): Add corresponding cases.

From-SVN: r3992

31 years ago(reload_reg_used_for_inherit): New variable.
Richard Kenner [Fri, 2 Apr 1993 23:43:16 +0000 (18:43 -0500)]
(reload_reg_used_for_inherit): New variable.

(clear_reload_reg_in_use): New function.
(allocate_reload_reg): Don't consider an inherited register as one that we
should share in the first pass.
Don't mark a register in use until we are sure it will fit.
(choose_reload_regs): Mark spill regs used for inheriting.
When we decide we can no longer use a register, show it isn't being used.

From-SVN: r3991

31 years ago(optabs): Fix typo in name for "fix" pattern.
Richard Kenner [Fri, 2 Apr 1993 12:48:55 +0000 (07:48 -0500)]
(optabs): Fix typo in name for "fix" pattern.

From-SVN: r3990

31 years agoreorg.c (redundant_insn_p): Stop searching for a redundant insn if an INSN or JUMP_IN...
Jeff Law [Fri, 2 Apr 1993 00:38:33 +0000 (17:38 -0700)]
reorg.c (redundant_insn_p): Stop searching for a redundant insn if an INSN or JUMP_INSN with delayed...

* reorg.c (redundant_insn_p): Stop searching for a redundant
insn if an INSN or JUMP_INSN with delayed effects is
encountered.

From-SVN: r3989

31 years agoMake sure long double doesn't become 80 bits until we are ready for it.
Michael Meissner [Thu, 1 Apr 1993 16:58:13 +0000 (16:58 +0000)]
Make sure long double doesn't become 80 bits until we are ready for it.

From-SVN: r3988

31 years agoEliminate statement not reached warning messages that the MIPS compiler generates.
Michael Meissner [Thu, 1 Apr 1993 16:58:13 +0000 (16:58 +0000)]
Eliminate statement not reached warning messages that the MIPS compiler generates.

From-SVN: r3987

31 years agoEliminate extern needed warning messages that the MIPS compiler generates.
Michael Meissner [Thu, 1 Apr 1993 16:58:13 +0000 (16:58 +0000)]
Eliminate extern needed warning messages that the MIPS compiler generates.

From-SVN: r3986

31 years ago(emit_push_insn, expand_assignment): Fix typo in last change.
Richard Kenner [Thu, 1 Apr 1993 12:27:57 +0000 (07:27 -0500)]
(emit_push_insn, expand_assignment): Fix typo in last change.

From-SVN: r3985

31 years agoemit-rtl.c (init_emit): Clear sequence_stack.
Per Bothner [Thu, 1 Apr 1993 07:32:39 +0000 (23:32 -0800)]
emit-rtl.c (init_emit):  Clear sequence_stack.

From-SVN: r3984

31 years agoFix wrong sign
Michael Meissner [Thu, 1 Apr 1993 01:07:04 +0000 (01:07 +0000)]
Fix wrong sign

From-SVN: r3983

31 years agodefine CONSTANT_ADDRESS_P(X) to not use CONST_DOUBLE
Brendan Kehoe [Wed, 31 Mar 1993 23:21:50 +0000 (18:21 -0500)]
define CONSTANT_ADDRESS_P(X) to not use CONST_DOUBLE

From-SVN: r3982

31 years ago(compile_file): Call incomplete_decl_finalize_hook only if nonzero.
Richard Stallman [Wed, 31 Mar 1993 22:18:57 +0000 (22:18 +0000)]
(compile_file): Call incomplete_decl_finalize_hook only if nonzero.

From-SVN: r3981

31 years ago(compile_file): Only call `*incomplete_decl_finalize_hook'
Richard Stallman [Wed, 31 Mar 1993 22:16:39 +0000 (22:16 +0000)]
(compile_file): Only call `*incomplete_decl_finalize_hook'
if the `decl' in question is a VAR_DECL.

From-SVN: r3980

31 years ago(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Use REAL_VALUE... macros.
Richard Stallman [Wed, 31 Mar 1993 21:43:46 +0000 (21:43 +0000)]
(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Use REAL_VALUE... macros.

(PRINT_OPERAND): Likewise.
(ASM_OUTPUT_LONG_DOUBLE): New definition.

From-SVN: r3979

31 years ago(FUNCTION_VALUE): Use FUNCTION_VALUEX.
Richard Stallman [Wed, 31 Mar 1993 21:39:17 +0000 (21:39 +0000)]
(FUNCTION_VALUE): Use FUNCTION_VALUEX.

(FUNCTION_VALUEX): New macro.

(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE)
(ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND):
Use REAL_VALUE... macros.

From-SVN: r3978

31 years ago(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE)
Richard Stallman [Wed, 31 Mar 1993 21:36:25 +0000 (21:36 +0000)]
(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE)

(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE)
(ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND):
Use REAL_VALUE... macros.

From-SVN: r3977

31 years ago(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE)
Richard Stallman [Wed, 31 Mar 1993 21:35:37 +0000 (21:35 +0000)]
(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE)

(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE)
(ASM_OUTPUT_DOUBLE_OPERAND): Use REAL_VALUE... macros.
(ASM_OUTPUT_LONG_DOUBLE): New definition.
(ASM_OUTPUT_FLOAT_OPERAND): New macro.
(PRINT_OPERAND_PRINT_FLOAT): Deleted.

From-SVN: r3976

31 years ago(LIBCALL_VALUE): Handle XFmode.
Richard Stallman [Wed, 31 Mar 1993 21:31:49 +0000 (21:31 +0000)]
(LIBCALL_VALUE): Handle XFmode.

(PRINT_OPERAND, ASM_OUTPUT_DOUBLE): Use REAL_VALUE... macros.

From-SVN: r3975

31 years ago(LIBCALL_VALUE): Handle XFmode.
Richard Stallman [Wed, 31 Mar 1993 21:29:19 +0000 (21:29 +0000)]
(LIBCALL_VALUE): Handle XFmode.

(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Use REAL_VALUE... macros.
(PRINT_OPERAND): Likewise.
(ASM_OUTPUT_LONG_DOUBLE): New definition.

From-SVN: r3974

31 years ago(movxf, tstxf, extendsfxf2, extenddfxf2): New patterns.
Richard Stallman [Wed, 31 Mar 1993 21:23:40 +0000 (21:23 +0000)]
(movxf, tstxf, extendsfxf2, extenddfxf2): New patterns.

(truncxfdf2, truncxfsf2, floatsixf2, floathixf2, floatqixf2): Likewise.
(ftruncxf2, fixxfqi2, fixxfhi2, fixxfsi2): Likewise.
(addxf3, subxf3, mulxf3, divxf3, negxf2, absxf2, sqrtxf2): Likewise.

From-SVN: r3973

31 years ago(LONG_DOUBLE_TYPE_SIZE): Set to 96, for XFmode support.
Richard Stallman [Wed, 31 Mar 1993 21:18:22 +0000 (21:18 +0000)]
(LONG_DOUBLE_TYPE_SIZE): Set to 96, for XFmode support.

(ASM_OUTPUT_LONG_DOUBLE_OPERAND) New macro.
(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE): Use REAL_VALUE_... macros.
(ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
(ASM_OUTPUT_FLOAT_OPERAND): Likewise.  Also, new argument CODE.
(ASM_OUTPUT_FLOAT): Delete special def for CROSS_COMPILE.
(ASM_OUTPUT_LONG_DOUBLE): New macro.
(PRINT_OPERAND_EXTRACT_FLOAT): Definitions deleted.
(PRINT_OPERAND_PRINT_FLOAT): Definitions deleted.

From-SVN: r3972

31 years ago(standard_68881_constant_p): Initialize REAL_VALUE_TYPE binary constants from decimal...
Richard Stallman [Wed, 31 Mar 1993 21:12:24 +0000 (21:12 +0000)]
(standard_68881_constant_p): Initialize REAL_VALUE_TYPE binary constants from decimal values.

(standard_68881_constant_p): Initialize REAL_VALUE_TYPE
binary constants from decimal values.  Use REAL_VALUE_... macros.
(standard_sun_fpa_constant_p): Likewise.
(print_operand, floating_exact_log2): Use REAL_VALUE_... macros.
(init_68881_table): New function.

From-SVN: r3971

31 years ago(expand_expr, case ADDR_EXPR): Allow taking the address of any object;
Richard Kenner [Wed, 31 Mar 1993 21:06:33 +0000 (16:06 -0500)]
(expand_expr, case ADDR_EXPR): Allow taking the address of any object;

used in call-by-reference situations.

From-SVN: r3970

31 years ago(ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT, PRINT_OPERAND_FLOAT)
Richard Stallman [Wed, 31 Mar 1993 21:04:47 +0000 (21:04 +0000)]
(ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT, PRINT_OPERAND_FLOAT)

(ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT, PRINT_OPERAND_FLOAT)
(PRINT_OPERAND): Use new REAL_VALUE... macros.
(ASM_OUTPUT_LONG_DOUBLE): New macro.

From-SVN: r3969

31 years ago(next_type_uid): Move definition to reasonable place. (copy_node):
Richard Kenner [Wed, 31 Mar 1993 21:03:25 +0000 (16:03 -0500)]
(next_type_uid): Move definition to reasonable place.  (copy_node):

Make new DECL_UID and TYPE_UID as comments say.

From-SVN: r3968

31 years ago(ASM_OUTPUT_DOUBLE, PRINT_OPERAND):
Richard Stallman [Wed, 31 Mar 1993 21:01:23 +0000 (21:01 +0000)]
(ASM_OUTPUT_DOUBLE, PRINT_OPERAND):

Use new REAL_VALUE... macros.

From-SVN: r3967

31 years ago(emit_block_move, emit_push_insn, expand_assignment): Size passed to
Richard Kenner [Wed, 31 Mar 1993 21:01:17 +0000 (16:01 -0500)]
(emit_block_move, emit_push_insn, expand_assignment): Size passed to
memcpy/bcopy is SIZETYPE, not Pmode.

From-SVN: r3966

31 years ago(ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT):
Richard Stallman [Wed, 31 Mar 1993 20:59:35 +0000 (20:59 +0000)]
(ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT):

Use new REAL_VALUE... macros.
(ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.

From-SVN: r3965

31 years ago(ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT):
Richard Stallman [Wed, 31 Mar 1993 20:57:52 +0000 (20:57 +0000)]
(ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT):

Use new REAL_VALUE... macros.
(ASM_OUTPUT_LONG_DOUBLE): New definition.

From-SVN: r3964

31 years ago(simplify_binary_operation...
Richard Kenner [Wed, 31 Mar 1993 20:57:24 +0000 (15:57 -0500)]
(simplify_binary_operation...

(simplify_binary_operation, case MULT): When testing for
floating-point equality, make sure we do so inside a region protected
from traps.

From-SVN: r3963

31 years ago(standard_80387_constant_p): When testing for floating-point equality,
Richard Kenner [Wed, 31 Mar 1993 20:56:14 +0000 (15:56 -0500)]
(standard_80387_constant_p): When testing for floating-point equality,

make sure we do so inside a region protected from traps.

From-SVN: r3962

31 years ago(INITIAL_ELIMINATION_OFFSET): Subtract
Richard Kenner [Wed, 31 Mar 1993 20:52:33 +0000 (15:52 -0500)]
(INITIAL_ELIMINATION_OFFSET): Subtract
current_function_pretend_args_size from OFFSET for AP.

From-SVN: r3961

31 years ago(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE):
Richard Stallman [Wed, 31 Mar 1993 20:43:57 +0000 (20:43 +0000)]
(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE):

Use new REAL_VALUE... macros.
(REAL_ARITHMETIC): Defined.

From-SVN: r3960

31 years ago(check_float_value): New function.
Richard Stallman [Wed, 31 Mar 1993 20:41:33 +0000 (20:41 +0000)]
(check_float_value): New function.

From-SVN: r3959

31 years ago(ASM_OUTPUT_DOUBLE): Use new REAL_VALUE... macros.
Richard Stallman [Wed, 31 Mar 1993 20:40:45 +0000 (20:40 +0000)]
(ASM_OUTPUT_DOUBLE): Use new REAL_VALUE... macros.

From-SVN: r3958

31 years ago(PRINT_OPERAND, ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE):
Richard Stallman [Wed, 31 Mar 1993 20:39:19 +0000 (20:39 +0000)]
(PRINT_OPERAND, ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE):

Use new REAL_VALUE... macros.
(CHECK_FLOAT_VALUE): Call check_float_value.

From-SVN: r3957

31 years agoFix typo in last change
Jeff Law [Wed, 31 Mar 1993 20:27:10 +0000 (13:27 -0700)]
Fix typo in last change

From-SVN: r3956

31 years agodefine CONSTANT_ADDRESS_P(X) to not use CONST_DOUBLE
Brendan Kehoe [Wed, 31 Mar 1993 20:16:08 +0000 (15:16 -0500)]
define CONSTANT_ADDRESS_P(X) to not use CONST_DOUBLE

From-SVN: r3955

31 years agodefine CONSTANT_ADDRESS_P(X) to not use CONST_DOUBLE
Brendan Kehoe [Wed, 31 Mar 1993 20:09:44 +0000 (15:09 -0500)]
define CONSTANT_ADDRESS_P(X) to not use CONST_DOUBLE

From-SVN: r3954