Commit Graph

6690 Commits

Author SHA1 Message Date
Richard Kenner
8079805dec (subst): Split into five functions.
(simplify_{rtx,if_then_else,set,logical}): New functions.

From-SVN: r6703
1994-03-06 14:39:37 -05:00
James Van Artsdalen
02fa128466 (find_blocks): Undo previous change to block delineation algorithm.
(reg_to_stack): Make algorithm identical to that in find_blocks.

From-SVN: r6702
1994-03-06 19:14:32 +00:00
Richard Kenner
c5ffba1a05 (build_nt, build_parse_node): Remove `register' from decl of CODE.
From-SVN: r6701
1994-03-05 19:39:23 -05:00
Richard Kenner
91c3c0a817 (attr_printf): Remove `register' from decl of FMT.
From-SVN: r6700
1994-03-05 19:38:51 -05:00
Richard Kenner
4dd24d605d (output_{pro,epi}log): Round var size to quadword boundary.
From-SVN: r6699
1994-03-05 19:18:05 -05:00
Richard Kenner
acd94aaf19 (SECONDARY_MEMORY_NEEDED_MODE): New macro.
From-SVN: r6698
1994-03-05 19:17:43 -05:00
Richard Kenner
64609742de (get_secondary_mem): Call SECONDARY_MEMORY_NEEDED_MODE if it is
defined.

From-SVN: r6697
1994-03-05 19:17:12 -05:00
Richard Kenner
269673180b (unaligned_{load,store}hi): Clear low bit of address before using as operand to extwl, mskwl, and inswl.
(unaligned_{load,store}hi): Clear low bit of address before using as operand
to extwl, mskwl, and inswl.
(movhi, reload_inhi, reload_outhi): Pass extra scratch value.

From-SVN: r6696
1994-03-05 16:27:45 -05:00
Richard Kenner
8b2e2b2f6f (ASM_FINISH_DECLARE_OBJECT): Set size_directive_output to 1.
From-SVN: r6695
1994-03-04 17:19:06 -05:00
Richard Kenner
877eef6d86 Delete gperf-generated source from here.
From-SVN: r6694
1994-03-04 17:16:16 -05:00
Richard Kenner
f137e7dc02 (c-gperf.h): New rule.
(c-lex.o): Depends on c-gperf.h.
(realclean): Delete c-gperf.h.
(distdir): Build c-gperf.h.
(diff): Omit differences in c-gperf.h.

From-SVN: r6693
1994-03-04 17:15:44 -05:00
Richard Kenner
2d182c6fc7 (emit_reload_insns): Don't call gen_input_reload if src and dest are
identical.

From-SVN: r6692
1994-03-04 06:35:10 -05:00
Richard Kenner
027b95a6da (mskXl): Add missing NOT in patterns.
From-SVN: r6691
1994-03-03 18:11:36 -05:00
Richard Kenner
af37348a00 Remove added realclean rule.
From-SVN: r6690
1994-03-03 15:32:44 -05:00
Doug Evans
009cf8e010 (all floating point): If -msoft-float, don't allow any
floating point builtin operations.

From-SVN: r6689
1994-03-02 00:41:51 +00:00
Richard Kenner
97f57b11d4 (ASM_OUTPUT_ADDR_DIFF_ELT): Use ASM_OUTPUT_INTERNAL_LABEL instead of
ASM_GENERATE_INTERNAL_LABEL.

From-SVN: r6688
1994-03-01 19:36:00 -05:00
Doug Evans
5476c289ba (TARGET_SOFT_FLOAT): Define.
(TARGET_SWITCHES): Add -msoft-float.

From-SVN: r6687
1994-03-02 00:30:45 +00:00
Jim Wilson
3ae29d632c (JUMP_TABLES_IN_TEXT_SECTION): Add.
From-SVN: r6686
1994-03-01 16:29:08 -08:00
Jim Wilson
46302379df (JUMP_TABLES_IN_TEXT_SECTION): Delete.
From-SVN: r6685
1994-03-01 16:28:41 -08:00
Jim Wilson
96d8f1d82d (build_binary_op): Pass TREE_TYPE (orig_op0) not
orig_op0 to TREE_UNSIGNED.

From-SVN: r6684
1994-03-01 16:26:06 -08:00
Richard Kenner
be1ad04c38 (output_constant): Strip off some NOP_EXPRs before further processing.
From-SVN: r6683
1994-03-01 18:33:22 -05:00
Stan Cox
2d57146b6e (GO_IF_LEGITIMATE_ADDRESS) Reject invalid PIC addresses.
From-SVN: r6682
1994-03-01 17:08:55 +00:00
Stan Cox
9fdd8bdb82 (legitimize_address, print_operand): Make -fPIC work
From-SVN: r6681
1994-03-01 17:08:21 +00:00
Stan Cox
8cf85c4ba9 Two new patterns, to match (HIGH (UNSPEC (..)))
From-SVN: r6680
1994-03-01 17:07:57 +00:00
Doug Evans
6825be948b Move comment to proper place.
From-SVN: r6679
1994-03-01 15:59:45 +00:00
Doug Evans
1f584163ee (convert_move): Change name of truncsipsi to truncsipsi2
to conform to existing convention, same with extendpsisi.

From-SVN: r6678
1994-02-28 23:31:01 +00:00
Doug Evans
c178c4f503 (ASM_OUTPUT_ASCII): Fix typo.
From-SVN: r6677
1994-02-28 23:22:31 +00:00
Richard Kenner
981c7390cc (eliminate_regs, case MULT): New case, to apply distributive law, when
needed.

From-SVN: r6676
1994-02-28 08:43:23 -05:00
Richard Kenner
7633af9506 (check_precompiled): Delete unused var dollar_loc.
(pcstring_used): Delete unused var TMP.
(write_output): Delete unused var WRITTEN.
(assertion_lookup): Delete unused var BP.
(pedwarn_with_file_and_line): Delete unused var I.

From-SVN: r6675
1994-02-28 08:11:38 -05:00
Richard Kenner
68de38314c (variable_size): If global_bindings_p < 0, don't even make the
SAVE_EXPR.

From-SVN: r6674
1994-02-28 07:37:26 -05:00
Richard Kenner
72ba655679 (READONLY_DATA_SECTION, LEGITIMATE_PIC_OPERAND_P): Defined.
(FUNCTION_PROLOGUE): Emit PIC prologue.

From-SVN: r6673
1994-02-28 07:12:17 -05:00
Richard Kenner
9524442b90 (call): Change HPUX_ASM case.
From-SVN: r6672
1994-02-28 07:11:31 -05:00
Richard Kenner
0ab759e4fd (reg_to_stack): Use GET_RTX_CLASS.
Clear LABEL_REFs here.
(find_blocks): Make algorithm identical to that inreg_to_stack.
Use GET_RTX_CLASS.
Don't clear LABEL_REFs here.
Build a list of labels referenced by other than jumps.
If computed jump, mark using that list and forced_labels.
(uses_reg_or_mem): New function, copied from flow.c.

From-SVN: r6671
1994-02-28 06:30:24 -05:00
Richard Kenner
2140ed5bfe (expand_binop): Use expand_divmod to do integer division for DIV of
MODE_COMPLEX_INT operands.

From-SVN: r6670
1994-02-28 06:21:06 -05:00
Richard Kenner
2f39784493 (process_aux_info_file): Properly start over on file error.
From-SVN: r6669
1994-02-27 20:24:17 -05:00
Jim Wilson
5f57dff07b (store_split_bit_field): If OP0 is a SUBREG, then compute WORD from the base register, instead of from the SUBREG.
(store_split_bit_field): If OP0 is a SUBREG, then
compute WORD from the base register, instead of from the SUBREG.
(extract_split_bit_field): Likewise.
(extract_bit_field): Sign-extend multiword bitfield if necessary.

From-SVN: r6668
1994-02-27 16:55:33 -08:00
Jim Wilson
81284a6ad2 (subreg_realpart_p): New function.
From-SVN: r6667
1994-02-27 16:52:03 -08:00
Jim Wilson
340aa7f68e ((subreg_realpart_p): New function.
(copy_rtx_and_substitute): Use subreg_realpart_p
instead of subreg_lowpart_p for CONCAT.

From-SVN: r6666
1994-02-27 16:51:33 -08:00
Jim Wilson
6be160ff95 (HANDLE_PRAGMA_WEAK): Depend on ASM_OUTPUT_DEF not
SET_ASM_OP when defining it.

From-SVN: r6665
1994-02-27 16:47:28 -08:00
Jim Wilson
609380f61e (ASM_OUTPUT_DEF): Delete definition.
From-SVN: r6664
1994-02-27 16:45:49 -08:00
Jim Wilson
650f773a6d (ASM_OUTPUT_DEF): Add it here.
From-SVN: r6663
1994-02-27 16:45:17 -08:00
Jim Wilson
879a4a9a4b (handle_pragma_weak): Depend on ASM_OUTPUT_DEF not SET_ASM_OP when defining it.
(handle_pragma_weak): Depend on ASM_OUTPUT_DEF not
SET_ASM_OP when defining it.  Use ASM_OUTPUT_DEF to output value
instead of SET_ASM_OP and explicit ASM_OUTPUT_LABELREF calls.

From-SVN: r6662
1994-02-27 16:44:31 -08:00
Richard Kenner
2d8d0db8f8 (expand_inline_function): Allow extra arguments and force their
evaluation for side-effects.

From-SVN: r6661
1994-02-27 18:36:32 -05:00
Jim Wilson
d391688a17 (expand_call): Set nregs to -1 for BLKmode parameter,
then before move_block_to_reg call set it to the type size.

From-SVN: r6660
1994-02-27 15:19:49 -08:00
Jim Wilson
d58b6986f4 (try_merge_delay_insns): Success when SLOT_NUMBER ==
NUM_SLOTS not when NEXT_TO_MATCH == 0.

From-SVN: r6659
1994-02-27 15:16:22 -08:00
Jim Wilson
3bd98790b0 (store_fixed_bit_field): Adjust BITPOS so that it
fits inside MODE before adjusting OFFSET to get an aligned address.

From-SVN: r6658
1994-02-27 14:46:49 -08:00
Jim Wilson
a5f00f07f1 (store_fixed_bit_field): Move float mode to integral
mode conversion from near end of function to top of function.

From-SVN: r6657
1994-02-27 14:44:49 -08:00
Jim Wilson
d27c148b76 (process_init_element): Check for constructor_type
set before dereferencing it in the string cst code.

From-SVN: r6656
1994-02-27 14:41:53 -08:00
Richard Kenner
f95d3af09e (TARGET_DEFAULT): Default to 68020-40.
(ASM_SPEC): New macro.
(FUNCTION_VALUE, FUNCTION_VALUE_REGNO_P): Return pointer in a0.
(*_LIBCALL): Use functions from sysV68's library.
(INIT_CUMULATIVE_ARGS, FUNCTION_ARG*): Some libcalls pass parameters in
registers.

From-SVN: r6655
1994-02-27 17:27:53 -05:00
Richard Kenner
700942a0c6 (declare_hidden_char_array): Build new type if warn_larger_than.
From-SVN: r6654
1994-02-27 15:20:28 -05:00