Commit Graph

5787 Commits

Author SHA1 Message Date
James Van Artsdalen 303872755c (output_to_reg): Handle XFmode write to MEM by reading back value after
write if source doesn't die.

From-SVN: r5600
1993-10-05 05:50:44 +00:00
James Van Artsdalen ea31f1e213 (FIXED_REGISTERS): Don't fix hard reg st7 if XFmode is enabled.
From-SVN: r5599
1993-10-05 05:49:36 +00:00
James Van Artsdalen b40b8b0642 (move_for_stack_reg): If the 387 regstack is not full when doing an XFmode write from 387 to MEM...
(move_for_stack_reg): If the 387 regstack is not full when doing an XFmode
write from 387 to MEM, copy the source reg and write the copy.

From-SVN: r5598
1993-10-05 05:48:02 +00:00
Richard Stallman a8683de70b (record_reg_classes): There is no alt_cost
for a pair of matching args if they are the same pseudo reg.

From-SVN: r5597
1993-10-05 03:07:03 +00:00
Richard Stallman 69249c1b8e (bc_output_ascii): New function.
(assemble_string): Use it.
(assemble_static_space, assemble_variable): Put braces around uses
of BC_OUTPUT_COMMON and BC_OUTPUT_LOCAL.

From-SVN: r5596
1993-10-04 22:47:13 +00:00
Richard Kenner 3e00fefde1 Cast enum arithmetic and logical operands to int.
From-SVN: r5595
1993-10-04 18:03:00 -04:00
Richard Kenner f0afa4a260 (deduce_conversion, emit_typecode_conversion): Cast enum array indices to int.
(bc_init_mode_to_code_map, preferred_typecode): Likewise.
(bc_expand_binary_operation, bc_expand_unary_operation): Likewise.
(bc_expand_increment): Likewise.

From-SVN: r5594
1993-10-04 18:02:42 -04:00
Richard Kenner eecaa29b35 (bc_emit_bytecode): Cast enum array indices to int.
From-SVN: r5593
1993-10-04 18:01:55 -04:00
Richard Kenner 6bd6178de9 (bc_init_mode_to_opcode_maps, bc_expand_expr): Cast enum array indices to int.
(bc_load_memory, bc_store_memory): Likewise.
(bc_runtime_type_code): Cast enum logical operand to int.

From-SVN: r5592
1993-10-04 18:01:19 -04:00
Richard Kenner af68829613 (incoming_regs): Only use 16 registers for parameter passing.
From-SVN: r5591
1993-10-04 17:47:19 -04:00
Richard Kenner c669233a49 (output_constant_def): Remove last change; no longer needed.
From-SVN: r5590
1993-10-04 05:52:09 -04:00
Richard Kenner 526a62535a (build_string): Remove previous change and comment why string text has
to be in saveable_obstack.

From-SVN: r5589
1993-10-04 05:51:29 -04:00
Richard Kenner a457294fe6 (lang_options): Add temporary parameter "gnat".
From-SVN: r5588
1993-10-03 22:12:02 -04:00
Richard Kenner c1de946da1 (default_compilers): Add rules for Ada.
From-SVN: r5587
1993-10-03 22:10:24 -04:00
Richard Kenner 492c86a4c5 (staticp): DECL_EXTERNAL is not defined for CONSTRUCTOR.
From-SVN: r5586
1993-10-03 21:51:27 -04:00
Richard Kenner a14ae50814 (assign_parms): Pass objects who size depends on the contents of the
object by invisible reference.

From-SVN: r5585
1993-10-03 21:48:54 -04:00
Richard Kenner b50d17a148 (store_expr): Use expr_size value, not size_int.
(store_constructor): Handle case of variable position and allow it to contain
a PLACEHOLDER_EXPR.
(get_inner_reference): Make a WITH_RECORD_EXPR if required.
(expand_expr, case PLACEHOLDER_EXPR, WITH_RECORD_EXPR): New cases.
(expand_expr, case ARRAY_REF): Make WITH_RECORD_EXPR expressions when needed.

From-SVN: r5584
1993-10-03 21:48:03 -04:00
Richard Kenner 7ef1fbd7aa (expand_call): Pass objects who size depends on the contents of the
object by invisible reference.

From-SVN: r5583
1993-10-03 21:47:12 -04:00
Richard Kenner 99098c669e (expr_size): If the size contains a PLACEHOLDER_EXPR, surround it with
a WITH_RECORD_EXPR.

From-SVN: r5582
1993-10-03 21:46:46 -04:00
Richard Kenner dec20b4bae (save_expr): Don't evaluate something containing a PLACEHOLDER_EXPR.
(contains_placeholder_p, substitute_in_{expr,type}): New functions.

From-SVN: r5581
1993-10-03 21:46:17 -04:00
Richard Kenner 7380d70727 Add declarations for contains_placeholder_p, substitute_in_{expr,type}.
From-SVN: r5580
1993-10-03 21:45:49 -04:00
Richard Kenner ab487f123a (PLACEHOLDER_EXPR, WITH_RECORD_EXPR): New tree codes.
From-SVN: r5579
1993-10-03 21:45:02 -04:00
Richard Kenner 0c0600d5d5 (expand_call): Set MEM_IN_STRUCT_P in stack slot if appropriate.
From-SVN: r5578
1993-10-03 21:41:25 -04:00
James Van Artsdalen 0abc55a785 (VALUE_REGNO): Add case XFmode.
From-SVN: r5577
1993-10-04 00:02:46 +00:00
James Van Artsdalen 217226e2e6 (ASM_OUTPUT_DOUBLE): Deleted, use default version.
From-SVN: r5576
1993-10-04 00:02:26 +00:00
James Van Artsdalen 8ac20578d6 (ASM_OUTPUT_DOUBLE,ASM_OUTPUT_FLOAT): Use REAL_VALUE_ macros.
(ASM_OUTPUT_LONG_DOUBLE): New macro.

From-SVN: r5575
1993-10-04 00:01:16 +00:00
James Van Artsdalen 4a37b93925 (ASM_OUTPUT_DOUBLE,ASM_OUTPUT_FLOAT): Use REAL_VALUE_ macros.
(ASM_OUTPUT_LONG_DOUBLE): New macro.
(VALUE_REGNO): Add case XFmode.

From-SVN: r5574
1993-10-03 23:59:48 +00:00
James Van Artsdalen 4fb21e9046 (tstxf_cc, tstxf, cmpxf, cmpxf_cc, cmpxf_ccfpeq, swapxf, movxf,
extenddfxf2, extendsfxf2, truncxfsf2, truncxfdf2, fixuns_truncxfsi2,
fix_truncxfdi2, fix_truncxfsi2, floatsixf2, floatdixf2, addxf3, subxf3,
mulxf3, divxf3, negxf2, absxf2, sqrtxf2): New patterns.

From-SVN: r5573
1993-10-03 23:57:15 +00:00
James Van Artsdalen 0038aea648 (LONG_DOUBLE_TYPE_SIZE): Define as 96.
(FIXED_REGISTERS): If XFmode enabled, hard reg st7 is fixed.
(ASM_OUTPUT_DOUBLE): Use REAL_VALUE_... macros.
(ASM_OUTPUT_FLOAT): Likewise.
(ASM_OUTPUT_LONG_DOUBLE): New macro.
(PRINT_REG):  Add size case 12.
(DEBUG_PRINT_REG):  Likewise.

From-SVN: r5572
1993-10-03 23:55:52 +00:00
James Van Artsdalen 5f1ec3e625 (output_op_from_reg): Handle 3-word XFmode values.
(output_to_reg): Likewise.
(output_move_double): Handle XFmode operands.
(output_move_const_single): Use REAL_VALUE_TO_TARGET_SINGLE.
(print_operand): Add letter `T', size `12'.  Use REAL_VALUE macros
 to convert floating point operands.
(convert_387_op):  Add XFmode to case FLOAT_EXTEND.

From-SVN: r5571
1993-10-03 23:54:14 +00:00
Michael Meissner 357a98f13e Fix typo.
From-SVN: r5570
1993-10-03 23:36:06 +00:00
Richard Stallman bc5730037e (bytecode.realclean): Don't delete bi-lexer.c.
From-SVN: r5569
1993-10-03 22:33:03 +00:00
Richard Kenner d3328f5500 (output_constant_def): Copy string as well as string node when
deferring output of constants.

From-SVN: r5568
1993-10-03 16:45:14 -04:00
Richard Kenner 8814306200 Initial revision
From-SVN: r5567
1993-10-03 15:42:39 -04:00
Richard Earnshaw 32620c1a42 Recognize operating system "riscix*"; recognize acorn as vendor
From-SVN: r5566
1993-10-03 16:50:05 +00:00
Richard Earnshaw 44d971f540 Initial revision
From-SVN: r5565
1993-10-03 16:33:02 +00:00
Richard Earnshaw ff9940b015 Major rewrite -- See ChangeLog for details
From-SVN: r5564
1993-10-03 16:33:02 +00:00
James Van Artsdalen b980bec031 (addhi3): Use byte opcodes when the low byte of a word is known to be zero.
From-SVN: r5563
1993-10-02 22:26:01 +00:00
Richard Kenner d81481d3d9 (can_combine_p): Allow an insn with a REG_EQUIV note that reads memory
to be moved past an insn that writes memory.

From-SVN: r5562
1993-10-02 14:10:47 -04:00
Richard Kenner 1ddb342ad7 (record_reg_classes): Skip to next alternative when we skip normal
cost computation.

From-SVN: r5561
1993-10-02 14:09:01 -04:00
Richard Kenner 4d1a011f56 Add prototypes to static declarations.
(PROTO): New macro.
(dup2, putenv): Functions return integers; add type and returns.

From-SVN: r5560
1993-10-02 14:07:37 -04:00
Richard Kenner 3771b9b217 (make_decl_rtl): Set TREE_SIDE_EFFECTS on global if -fvolatile-global.
From-SVN: r5559
1993-10-02 14:06:03 -04:00
Richard Kenner 3cd252c320 (build_string): Make lifetime of string the same as tree node.
From-SVN: r5558
1993-10-02 14:03:56 -04:00
Doug Evans 65c4237934 (CPP_PREDEFINES): Add system/cpu/machine assertions where missing.
From-SVN: r5557
1993-10-02 08:55:06 +00:00
Richard Stallman c8cdb42bc6 Test __sequent__ like __BSD_NET2__.
From-SVN: r5556
1993-10-02 02:11:53 +00:00
Torbjorn Granlund cdf4112f22 (insert_regs): Always return something.
(simplify_unary_operation): Remove unused variable.
(cse_process_notes): Likewise.
(invalidate_skipped_block): Likewise.
(cse_set_around_loop): Likewise.

From-SVN: r5555
1993-10-02 00:27:43 +00:00
Jim Wilson 7ab742b1a7 entered into RCS
From-SVN: r5554
1993-10-01 16:34:31 -07:00
Richard Stallman 1a78c1015f (bc_generate): New VMS DCL function.
(bc_generate): New VMS DCL function.  Takes a BC
header file that needs to be generated, and builds it.

Compile entries listed in BI_ALL.OPT, and then call
bc_generate for every header file listed in BC_ALL.OPT

From-SVN: r5553
1993-10-01 23:13:57 +00:00
Richard Stallman d029b00b22 Write out the definitions from Makefile.in for the symbols BC_ALL and BI_OBJ into files BC_ALL.OPT and BI_ALL.opt.
Write out the definitions from Makefile.in for
the symbols BC_ALL and BI_OBJ into files BC_ALL.OPT and
BI_ALL.opt.  Remove "bytecode " from compiler options files so
compiler will link correctly.

From-SVN: r5552
1993-10-01 23:11:18 +00:00
Richard Stallman 5ec4e39ecf (LIB_SPEC): Handle -p anmd -pg outermost.
From-SVN: r5551
1993-10-01 22:52:36 +00:00