Richard Stallman
04ea6a84df
(LIBCALL_VALUE): Handle XFmode.
...
(PRINT_OPERAND, ASM_OUTPUT_DOUBLE): Use REAL_VALUE... macros.
From-SVN: r3975
1993-03-31 21:31:49 +00:00
Richard Stallman
e86c153f46
(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
1993-03-31 21:29:19 +00:00
Richard Stallman
2743360a6e
(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
1993-03-31 21:23:40 +00:00
Richard Stallman
f6ba6a9160
(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
1993-03-31 21:18:22 +00:00
Richard Stallman
c1cfb2ae9b
(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
1993-03-31 21:12:24 +00:00
Richard Kenner
896102d0c6
(expand_expr, case ADDR_EXPR): Allow taking the address of any object;
...
used in call-by-reference situations.
From-SVN: r3970
1993-03-31 16:06:33 -05:00
Richard Stallman
475dd3b4b8
(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
1993-03-31 21:04:47 +00:00
Richard Kenner
579f50b6c5
(next_type_uid): Move definition to reasonable place. (copy_node):
...
Make new DECL_UID and TYPE_UID as comments say.
From-SVN: r3968
1993-03-31 16:03:25 -05:00
Richard Stallman
0b540bf4e5
(ASM_OUTPUT_DOUBLE, PRINT_OPERAND):
...
Use new REAL_VALUE... macros.
From-SVN: r3967
1993-03-31 21:01:23 +00:00
Richard Kenner
0fa83258de
(emit_block_move, emit_push_insn, expand_assignment): Size passed to
...
memcpy/bcopy is SIZETYPE, not Pmode.
From-SVN: r3966
1993-03-31 16:01:17 -05:00
Richard Stallman
41e2a8bda0
(ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT):
...
Use new REAL_VALUE... macros.
(ASM_OUTPUT_FLOAT_OPERAND, ASM_OUTPUT_DOUBLE_OPERAND): Likewise.
From-SVN: r3965
1993-03-31 20:59:35 +00:00
Richard Stallman
4179196a15
(ASM_OUTPUT_DOUBLE, ASM_OUTPUT_FLOAT):
...
Use new REAL_VALUE... macros.
(ASM_OUTPUT_LONG_DOUBLE): New definition.
From-SVN: r3964
1993-03-31 20:57:52 +00:00
Richard Kenner
5a3d4befaf
(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
1993-03-31 15:57:24 -05:00
Richard Kenner
0b6b290048
(standard_80387_constant_p): When testing for floating-point equality,
...
make sure we do so inside a region protected from traps.
From-SVN: r3962
1993-03-31 15:56:14 -05:00
Richard Kenner
978e895200
(INITIAL_ELIMINATION_OFFSET): Subtract
...
current_function_pretend_args_size from OFFSET for AP.
From-SVN: r3961
1993-03-31 15:52:33 -05:00
Richard Stallman
2700ac936a
(ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE):
...
Use new REAL_VALUE... macros.
(REAL_ARITHMETIC): Defined.
From-SVN: r3960
1993-03-31 20:43:57 +00:00
Richard Stallman
990a1e466c
(check_float_value): New function.
...
From-SVN: r3959
1993-03-31 20:41:33 +00:00
Richard Stallman
969e811dc6
(ASM_OUTPUT_DOUBLE): Use new REAL_VALUE... macros.
...
From-SVN: r3958
1993-03-31 20:40:45 +00:00
Richard Stallman
f29b2a444a
(PRINT_OPERAND, ASM_OUTPUT_FLOAT, ASM_OUTPUT_DOUBLE):
...
Use new REAL_VALUE... macros.
(CHECK_FLOAT_VALUE): Call check_float_value.
From-SVN: r3957
1993-03-31 20:39:19 +00:00
Jeff Law
c42cb1965d
Fix typo in last change
...
From-SVN: r3956
1993-03-31 13:27:10 -07:00
Brendan Kehoe
9d4dd4e9ce
define CONSTANT_ADDRESS_P(X) to not use CONST_DOUBLE
...
From-SVN: r3955
1993-03-31 15:16:08 -05:00
Brendan Kehoe
6eff269e95
define CONSTANT_ADDRESS_P(X) to not use CONST_DOUBLE
...
From-SVN: r3954
1993-03-31 15:09:44 -05:00
James Van Artsdalen
6ec87b9de9
(emit_swap_insn): Don't link cc0 insns: emit swap after cc0 user.
...
From-SVN: r3953
1993-03-31 17:30:15 +00:00
Richard Kenner
8877eb002f
(LINK_SPEC): New definition.
...
From-SVN: r3952
1993-03-31 07:02:28 -05:00
Richard Kenner
1ff0c00d9f
(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
1993-03-31 07:00:31 -05:00
Jeff Law
e6878cb948
* pa.h (toplevel): Declare output_bb.
...
From-SVN: r3950
1993-03-31 01:48:35 -07:00
Jeff Law
d2364a742a
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
1993-03-31 01:48:22 -07:00
Richard Stallman
0cf4720c58
(optimize_reg_copy_1): Don't increment n_calls specially if P is a call_insn.
...
From-SVN: r3948
1993-03-31 08:31:13 +00:00
Richard Stallman
d788976496
(convert_to_real): Pass mode arg to REAL_VALUE_ATOF.
...
From-SVN: r3947
1993-03-31 07:02:59 +00:00
Richard Stallman
e8650b8fcc
entered into RCS
...
From-SVN: r3946
1993-03-31 06:42:45 +00:00
Richard Stallman
f5118aa5c8
(rtx_to_tree_code): Declare.
...
From-SVN: r3945
1993-03-31 05:54:38 +00:00
Richard Stallman
0c5e217dc9
(rtx_to_tree_code): New function.
...
From-SVN: r3944
1993-03-31 05:54:18 +00:00
Richard Stallman
d3159aee6e
(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
1993-03-31 05:53:29 +00:00
Richard Stallman
e9f7ae4446
(expand_fix): Initialized REAL_VALUE_TYPE confuses some compilers.
...
From-SVN: r3942
1993-03-31 05:51:30 +00:00
Richard Stallman
2c7ff63c06
(assemble_real): Case TFmode and XFmode invoke ASM_OUTPUT_LONG_DOUBLE.
...
From-SVN: r3941
1993-03-31 05:50:52 +00:00
Richard Stallman
a19a1b5d5c
Include real.h to get the definition of REAL_VALUE_TYPE.
...
From-SVN: r3940
1993-03-31 05:50:32 +00:00
Richard Stallman
5008b8ae95
(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
1993-03-31 05:50:11 +00:00
Richard Stallman
1632afcaa7
(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
1993-03-31 05:48:38 +00:00
Richard Stallman
4b438c9e61
(split_double) : Use REAL_VALUE macros to extract ints
...
from float mode CONST_DOUBLEs.
From-SVN: r3937
1993-03-31 05:46:40 +00:00
Richard Stallman
1454a5ba18
(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
1993-03-31 05:44:03 +00:00
Richard Stallman
ee7e54412f
(real.o): New target.
...
(OBJS): Add real.o.
From-SVN: r3935
1993-03-31 05:41:37 +00:00
Richard Stallman
fd76a739e5
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
1993-03-31 05:39:37 +00:00
Richard Stallman
985b6196e6
Initial revision
...
From-SVN: r3933
1993-03-31 05:30:24 +00:00
Jeff Law
751a3523c0
* Jeff for Tege.
...
* pa.md (sminsi3, smaxsi3): Fix bug in last change.
From-SVN: r3932
1993-03-30 15:02:05 -07:00
Michael Meissner
574c75a3b4
fkx
...
fix CLASS_MAX_NREGS to reflect -mfloat64 and -msoft-float.
From-SVN: r3931
1993-03-30 21:50:50 +00:00
Richard Kenner
dbc131f3cc
(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
1993-03-30 15:37:29 -05:00
Richard Kenner
99309f3bcb
(find_regno_note): Find note that overlaps REGNO, not just one that
...
mentions REGNO explicitly.
From-SVN: r3929
1993-03-30 15:36:43 -05:00
Richard Kenner
2c0623e83a
(form_sum): Use mode of inputs when making new PLUS.
...
From-SVN: r3928
1993-03-30 15:34:11 -05:00
Richard Kenner
118bdbf8fa
(OBJS): Add insn-opinit.o.
...
(insn-opinit.o, insn-opinit.c, stamp-opinit): New rules.
(genopinit, genopinit.o): Likewise.
From-SVN: r3927
1993-03-30 15:31:01 -05:00
Richard Kenner
35be450715
(init_reload): Don't initialize optabs here.
...
From-SVN: r3926
1993-03-30 15:30:29 -05:00