platform/upstream/gcc.git
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

31 years ago(emit_swap_insn): Don't link cc0 insns: emit swap after cc0 user.
James Van Artsdalen [Wed, 31 Mar 1993 17:30:15 +0000 (17:30 +0000)]
(emit_swap_insn): Don't link cc0 insns: emit swap after cc0 user.

From-SVN: r3953

31 years ago(LINK_SPEC): New definition.
Richard Kenner [Wed, 31 Mar 1993 12:02:28 +0000 (07:02 -0500)]
(LINK_SPEC): New definition.

From-SVN: r3952

31 years ago(insert_regs): If a REG already is in a class but not in the mode we
Richard Kenner [Wed, 31 Mar 1993 12:00:31 +0000 (07:00 -0500)]
(insert_regs): If a REG already is in a class but not in the mode we
want, don't do anything to the classes.

From-SVN: r3951

31 years ago* pa.h (toplevel): Declare output_bb.
Jeff Law [Wed, 31 Mar 1993 08:48:35 +0000 (01:48 -0700)]
* pa.h (toplevel): Declare output_bb.

From-SVN: r3950

31 years agopa.c (output_cbranch): New function.
Jeff Law [Wed, 31 Mar 1993 08:48:22 +0000 (01:48 -0700)]
pa.c (output_cbranch): New function.

* pa.c (output_cbranch): New function.  Given the operands of the
branch, possible nullification, length of the branch, possible branch
negation, and the branch insn itself, return the output template for
the desired conditional branch.
(output_bb): Likewise, but for branch on bit.

From-SVN: r3949

31 years ago(optimize_reg_copy_1): Don't increment n_calls specially if P is a call_insn.
Richard Stallman [Wed, 31 Mar 1993 08:31:13 +0000 (08:31 +0000)]
(optimize_reg_copy_1): Don't increment n_calls specially if P is a call_insn.

From-SVN: r3948

31 years ago(convert_to_real): Pass mode arg to REAL_VALUE_ATOF.
Richard Stallman [Wed, 31 Mar 1993 07:02:59 +0000 (07:02 +0000)]
(convert_to_real): Pass mode arg to REAL_VALUE_ATOF.

From-SVN: r3947

31 years agoentered into RCS
Richard Stallman [Wed, 31 Mar 1993 06:42:45 +0000 (06:42 +0000)]
entered into RCS

From-SVN: r3946

31 years ago(rtx_to_tree_code): Declare.
Richard Stallman [Wed, 31 Mar 1993 05:54:38 +0000 (05:54 +0000)]
(rtx_to_tree_code): Declare.

From-SVN: r3945

31 years ago(rtx_to_tree_code): New function.
Richard Stallman [Wed, 31 Mar 1993 05:54:18 +0000 (05:54 +0000)]
(rtx_to_tree_code): New function.

From-SVN: r3944

31 years ago(simplify_binary_operation): real_value_truncate returns REAL_VALUE_TYPE.
Richard Stallman [Wed, 31 Mar 1993 05:53:29 +0000 (05:53 +0000)]
(simplify_binary_operation): real_value_truncate returns REAL_VALUE_TYPE.

(simplify_binary_operation): real_value_truncate
returns REAL_VALUE_TYPE.
Convert rtx_code into tree_code for argument to REAL_ARITHMETIC.

(simplify_unary_operation): Use new ..._RNDZINT macros
instead of casting value of REAL_VALUE_FIX_TRUNCATE
and REAL_VALUE_UNSIGNED_FIX_TRUNCATE.

From-SVN: r3943

31 years ago(expand_fix): Initialized REAL_VALUE_TYPE confuses some compilers.
Richard Stallman [Wed, 31 Mar 1993 05:51:30 +0000 (05:51 +0000)]
(expand_fix): Initialized REAL_VALUE_TYPE confuses some compilers.

From-SVN: r3942

31 years ago(assemble_real): Case TFmode and XFmode invoke ASM_OUTPUT_LONG_DOUBLE.
Richard Stallman [Wed, 31 Mar 1993 05:50:52 +0000 (05:50 +0000)]
(assemble_real): Case TFmode and XFmode invoke ASM_OUTPUT_LONG_DOUBLE.

From-SVN: r3941

31 years agoInclude real.h to get the definition of REAL_VALUE_TYPE.
Richard Stallman [Wed, 31 Mar 1993 05:50:32 +0000 (05:50 +0000)]
Include real.h to get the definition of REAL_VALUE_TYPE.

From-SVN: r3940

31 years ago(real_value_truncate): If REAL_ARITHMETIC, replace by routine of same name in real.c.
Richard Stallman [Wed, 31 Mar 1993 05:50:11 +0000 (05:50 +0000)]
(real_value_truncate): If REAL_ARITHMETIC, replace by routine of same name in real.c.

(real_value_truncate): If REAL_ARITHMETIC, replace
by routine of same name in real.c.
target_isinf, target_isnan, target_negative): Likewise.
(const_binop): Delete `register' from decls using REAL_VALUE_TYPE.
(fold_convert): Use REAL_VALUE_TO_INT.

From-SVN: r3939

31 years ago(operand_subword): Use REAL_VALUE_TO_TARGET_SINGLE to convert to target float.
Richard Stallman [Wed, 31 Mar 1993 05:48:38 +0000 (05:48 +0000)]
(operand_subword): Use REAL_VALUE_TO_TARGET_SINGLE to convert to target float.

If REAL_ARITHMETIC is defined, let real.c handle incompatible host
and target floating point bit patterns.
(init_emit_once): Add machine_mode argument to REAL_VALUE_ATOF.

From-SVN: r3938

31 years ago(split_double) : Use REAL_VALUE macros to extract ints
Richard Stallman [Wed, 31 Mar 1993 05:46:40 +0000 (05:46 +0000)]
(split_double) :  Use REAL_VALUE macros to extract ints
from float mode CONST_DOUBLEs.

From-SVN: r3937

31 years ago(yylex): Convert real decimal constants directly to the precision specified by the...
Richard Stallman [Wed, 31 Mar 1993 05:44:03 +0000 (05:44 +0000)]
(yylex): Convert real decimal constants directly to the precision specified by the letter at the end of the number.

(yylex): Convert real decimal constants directly
to the precision specified by the letter at the end of the number.
Pass mode arg to REAL_VALUE_ATOF to specify precision.
Move the "out of range of double" error check.

From-SVN: r3936

31 years ago(real.o): New target.
Richard Stallman [Wed, 31 Mar 1993 05:41:37 +0000 (05:41 +0000)]
(real.o): New target.

(OBJS): Add real.o.

From-SVN: r3935

31 years agoIf REAL_ARITHMETIC is defined or if LONG_DOUBLE_TYPE_SIZE is 96...
Richard Stallman [Wed, 31 Mar 1993 05:39:37 +0000 (05:39 +0000)]
If REAL_ARITHMETIC is defined or if LONG_DOUBLE_TYPE_SIZE is 96...

If REAL_ARITHMETIC is defined or if LONG_DOUBLE_TYPE_SIZE
is 96, then define REAL_VALUE_ macros to invoke functions in real.c.

(REAL_VALUE_RNDZINT, REAL_VALUE_UNSIGNED_RNDZINT):
New macros truncate toward zero to integer value but
return REAL_VALUE_TYPE.

(REAL_VALUE_TO_DECIMAL): New macro defaults to
fprintf if no REAL_ARITHMETIC, otherwise uses real.c for
binary to decimal conversion.  Used in ASM_OUTPUT_ macros.

From-SVN: r3934

31 years agoInitial revision
Richard Stallman [Wed, 31 Mar 1993 05:30:24 +0000 (05:30 +0000)]
Initial revision

From-SVN: r3933

31 years ago* Jeff for Tege.
Jeff Law [Tue, 30 Mar 1993 22:02:05 +0000 (15:02 -0700)]
* Jeff for Tege.

* pa.md (sminsi3, smaxsi3): Fix bug in last change.

From-SVN: r3932

31 years agofkx
Michael Meissner [Tue, 30 Mar 1993 21:50:50 +0000 (21:50 +0000)]
fkx

fix CLASS_MAX_NREGS to reflect -mfloat64 and -msoft-float.

From-SVN: r3931

31 years ago(record_dead_and_set_regs): Record death of all hard regs when a multi-reg object...
Richard Kenner [Tue, 30 Mar 1993 20:37:29 +0000 (15:37 -0500)]
(record_dead_and_set_regs): Record death of all hard regs when a multi-reg object in hard regs dies.

(record_dead_and_set_regs): Record death of all hard regs when a multi-reg
object in hard regs dies.
(move_deaths): Handle the case when we only have to move part of a
multi-register death note.

From-SVN: r3930

31 years ago(find_regno_note): Find note that overlaps REGNO, not just one that
Richard Kenner [Tue, 30 Mar 1993 20:36:43 +0000 (15:36 -0500)]
(find_regno_note): Find note that overlaps REGNO, not just one that
mentions REGNO explicitly.

From-SVN: r3929

31 years ago(form_sum): Use mode of inputs when making new PLUS.
Richard Kenner [Tue, 30 Mar 1993 20:34:11 +0000 (15:34 -0500)]
(form_sum): Use mode of inputs when making new PLUS.

From-SVN: r3928