Commit Graph

3058 Commits

Author SHA1 Message Date
Jeff Law
2721a2e96d pa.h (CONST_COSTS): Make CONST_DOUBLES very expensive.
* pa.h (CONST_COSTS): Make CONST_DOUBLES very expensive.
	Give HIGH expressions a small cost with CONST, SYMBOL_REF,
	and LABEL_REF being twice as expensive as HIGH.

From-SVN: r3071
1993-01-03 12:03:54 -07:00
Jeff Law
2fe24884e0 pa.c (fmpyaddoperands): Verifys given registers are suitable for use in fmpyadd instructions.
* pa.c (fmpyaddoperands): Verifys given registers are suitable for
	use in fmpyadd instructions.
	(fmpysuboperands): Likewise, but for fmpysub instructions.

From-SVN: r3070
1993-01-03 12:02:45 -07:00
Jeff Law
2c871711c3 pa.md (fmpyadd peepholes): New peepholes to issue independent floating point multiply and add instructions...
* pa.md (fmpyadd peepholes): New peepholes to issue independent
	floating point multiply and add instructions at the same time.
	(fmpysub peepholes): Likewise for multiply and subtract instructions.

From-SVN: r3069
1993-01-03 12:02:27 -07:00
Jeff Law
9d32f4a54a pa.c (hppa_save_pic_table_rtx): New variable.
* pa.c (hppa_save_pic_table_rtx): New variable.
	(finalize_pic): Setup hppa_save_pic_table_rtx..

From-SVN: r3068
1993-01-03 11:59:12 -07:00
Jeff Law
81f433e437 pa.h (FIXED_REGISTERS, [...]): r3 isn't fixed!
* pa.h (FIXED_REGISTERS, CALL_USED_REGISTERS): r3 isn't fixed!
	(REG_ALLOC_ORDER): Move r3 up in the allocation order.
	(HAVE_ATEXIT): Define.

From-SVN: r3067
1993-01-03 11:58:56 -07:00
Jeff Law
4d72c2417f pa.md (call, call_value): If flag_pic, emit restore of PIC table register.
* pa.md (call, call_value): If flag_pic, emit restore of PIC table
	register.
	(call_interal, call_value_internal): Name matching insns.
	(movsi, movhi, movqi, movdi, movsf, movdf patterns): Don't
	match memory to memory moves.

From-SVN: r3066
1993-01-03 11:58:36 -07:00
Richard Kenner
3ae7de4ed7 (putenv_from_prefixes): Use PATH_SEPARATOR.
Properly use JUST_MACHINE_SUFFIX when desired; always make path the same as
find_a_file will use.

From-SVN: r3065
1993-01-03 07:28:19 -05:00
Richard Kenner
789bc2823f Remove inadvertent change.
From-SVN: r3064
1993-01-03 07:16:36 -05:00
Richard Kenner
d0adc050ee (movdi): Tests were in wrong order.
From-SVN: r3063
1993-01-03 07:09:52 -05:00
Richard Stallman
0bb5b6bce0 Translate sunos5 to solaris2, and solaris1 to sunos4.
From-SVN: r3062
1993-01-02 21:51:50 +00:00
Richard Stallman
5a0e778b76 (int_size_in_bytes): Change ret type back to int.
From-SVN: r3061
1993-01-02 21:44:10 +00:00
Richard Stallman
82c0ff026c (expand_call): Don't use int_size_in_bytes for a variable-size object.
From-SVN: r3060
1993-01-02 21:43:51 +00:00
Jim Wilson
b00e5f0d0f (label): Use expr_no_commas instead of expr for case labels.
From-SVN: r3059
1993-01-02 12:15:58 -08:00
Richard Stallman
b5b7ff2c40 (gcc.o): Define TOOLDIR_BASE_PREFIX.
From-SVN: r3058
1993-01-02 09:54:14 +00:00
Richard Stallman
f18fd95634 (TOOLDIR_PREFIX): Define if not defined.
(tooldir_prefix, tooldir_base_prefix): New variables.
(main): Set tooldir_prefix.  Add it (plus `bin' or `lib') to search paths.

From-SVN: r3057
1993-01-02 09:53:53 +00:00
Richard Stallman
b8aa9be0a5 (STARTFILE_SPEC): Removed -L"TOOLDIR"/lib.
From-SVN: r3056
1993-01-02 09:51:39 +00:00
Richard Stallman
14b18068c5 (cccp.o, protoize.o, unprotoize.o):
Define TOOL_INCLUDE_DIR as $(tooldir)/include.
(test-protoize-simple): Define TOOL_INCLUDE_DIR as 0.

From-SVN: r3055
1993-01-02 09:05:01 +00:00
Richard Stallman
2a1bf18b82 (default_include): Look directly in TOOL_INCLUDE_DIR.
From-SVN: r3054
1993-01-02 09:03:50 +00:00
Richard Stallman
b7b08dcde4 (REAL_LD_NAME): New variable.
(collect2.o): Don't need STANDARD_STARTFILE_PREFIX, etc.
(install-cross-tools): Use REAL_LD_NAME instead of `ld' when linking
files from tooldir to libsubdir.

From-SVN: r3053
1993-01-02 08:33:03 +00:00
Richard Stallman
bb59f9a64b (main): Look for real-ld' after gld', before `ld'.
Fix typo in -debug part of previous change.


Look for tools using paths rather than a single prefix.
(struct prefix_list, struct path_prefix): New structures.
(cpath, path): New variables.
(find_a_file, add_prefix): New functions; simplified versions of
functions from gcc.c.
(prefix_from_env): New function.
(main): Get path to search for binaries from COMPILER_PATH
environment variable always set by gcc.c and from PATH.
Qualify names with target machine in cross-environment unless
using compiler directories.
Use find_a_file to find our binaries.
Remove use of single prefix.
If -debug, print strip_file_name.
(fork_execute): Print program we are trying to execute if -debug and
we can't find the file.
(scan_prog_file): Complain if can't find nm.

From-SVN: r3052
1993-01-02 08:32:09 +00:00
Richard Stallman
d54d8150fe (stmt, FOR case): Do call position_after_white_space
after recording the current lineno for the increment.

From-SVN: r3051
1993-01-02 04:27:50 +00:00
Jim Wilson
98ed4b49d9 (dbxout_symbol, TYPE_DECL case): Don't output tag which
references incomplete type.

From-SVN: r3050
1993-01-01 16:50:19 -08:00
Jim Wilson
4ba0ff2dd1 (sunwindow/{win_cursor.h,win_lock.h}): Change invalid
#ifdef identifier `ecd.cursor' to `ecd_cursor'.

From-SVN: r3049
1993-01-01 16:48:41 -08:00
Jim Wilson
315da53528 (build_binary_op): Add 'right' and 'left' to shift
count warnings to distinguish them from each other.

From-SVN: r3048
1993-01-01 16:44:24 -08:00
Jim Wilson
77121feee4 (fixup_var_regs_insn): Update last_parm_insn when
insns are output after it to fix it up.

From-SVN: r3047
1993-01-01 16:41:53 -08:00
Jim Wilson
aed0ae9b82 (plain_type_1): Distinguish some C integer types by name.
From-SVN: r3046
1993-01-01 16:39:33 -08:00
Jim Wilson
fcd40e959e (MAKEINFO): New variable, defined to `makeinfo'.
From-SVN: r3045
1993-01-01 16:35:53 -08:00
Richard Kenner
b4d6689b3e (ASM_FILE_START): Switch to text section at end.
Output declaration for .mcount when profiling.

From-SVN: r3044
1993-01-01 17:50:33 -05:00
Jeff Law
b7a4467dcd pa.md (movqi, [...]): Fix attributes which involve fp<->gr copies to match current reality.
* pa.md (movqi, movhi, movsi, movdi, movsf, movdf): Fix attributes
        which involve fp<->gr copies to match current reality.
        (indexed loads): These should have "load" attributes, not "move".

From-SVN: r3043
1993-01-01 10:20:36 -07:00
Jeff Law
c228001d20 pa.md (movdf const_double): Fix lengths.
* pa.md (movdf const_double): Fix lengths.
        (floatsisf patterns): Likewise.
        (floatsidf patterns): Likewise.

From-SVN: r3042
1993-01-01 10:19:41 -07:00
Jeff Law
7c522d5919 pa.c (output_floatsisf, [...]): Abort if presented with a general register -- this should not happen anymore.
* pa.c (output_floatsisf, output_floatsidf): Abort if presented
        with a general register -- this should not happen anymore.

From-SVN: r3041
1993-01-01 10:19:34 -07:00
Jeff Law
1224aecbff pa.h (REGISTER_MOVE_COST): Make moving between FP and non-FP register more expensive.
* pa.h (REGISTER_MOVE_COST): Make moving between FP and non-FP
	register more expensive.

From-SVN: r3040
1993-01-01 10:17:26 -07:00
Jeff Law
6afcfe635e * pa.h (TARGET_NO_BSS): Delete target switch. Delete all references.
From-SVN: r3039
1993-01-01 10:16:13 -07:00
Tom Wood
f8abbe2fad Use m88k/m88k-move.sh
From-SVN: r3038
1993-01-01 12:39:21 +00:00
Tom Wood
16a2f60ed8 Include files in m88k.
From-SVN: r3037
1993-01-01 12:38:34 +00:00
Jim Wilson
e6b89e8bf2 (sched_analyze_1, sched_analyze_2): If before reloading,
record dependences that may be introduced by reload substituting
equivalents for pseudo registers.

From-SVN: r3036
1992-12-31 14:44:22 -08:00
Jim Wilson
b7d9fc385d (sched_analyze_2): Use REG_NOTE_KIND not GET_MODE in add_dependence call.
(sched_analyze_insn): Likewise.

From-SVN: r3035
1992-12-31 14:42:35 -08:00
Jim Wilson
d95c373334 (LIB_SPEC): When -a, include bb_link.o.
From-SVN: r3034
1992-12-31 14:39:17 -08:00
Richard Stallman
3279bba682 (do_spec_1): Propagate failure from recursive calls.
From-SVN: r3033
1992-12-31 22:38:58 +00:00
Jim Wilson
7e1909ee7f (gmon.o, crt*.o): Change config to $(srcdir)/config.
From-SVN: r3032
1992-12-31 14:34:56 -08:00
Jim Wilson
b6983ae362 (emit_reload_insns): Use gen_lowpart_common to change mode of reloadreg.
From-SVN: r3031
1992-12-31 14:32:16 -08:00
Jim Wilson
dca52d8026 (operands_match_p): For WORDS_BIG_ENDIAN machines,
make multiple register operands equivalent if the last register of
the groups are the same.
(subst_reloads): Use gen_lowpart_common to change mode of
reloadreg.

From-SVN: r3030
1992-12-31 14:31:24 -08:00
Jim Wilson
3002e1601b (gen_input_reload): Also handle PLUS of a MEM and CONSTANT specially.
From-SVN: r3029
1992-12-31 14:28:54 -08:00
Jim Wilson
c3eebffbac (CPP_SPEC, CC1_SPEC, ASM_SPEC, LINK_SPEC,
TARGET_SWITCHES): Delete support for non-existent CPU variations.
(ASM_SPEC, LINK_SPEC, TARGET_SWITCHES): Add support for -mlink-relax.
(SELECT_CC_MODE): Correct typo.

From-SVN: r3028
1992-12-31 14:27:02 -08:00
Jim Wilson
e601abce76 (print_operand): For invalid operands, call
output_operand_lossage instead of aborting.

From-SVN: r3027
1992-12-31 14:24:49 -08:00
Jim Wilson
eff864abc3 (call_internal, call_value_internal): Use 'l' for
match_scratch constraint not 'd'.

From-SVN: r3026
1992-12-31 14:23:00 -08:00
Jim Wilson
3412b298a2 (assign_parms): Emit conversions into a sequence, and
then output the sequence after all parameters have been moved.

From-SVN: r3025
1992-12-31 14:21:06 -08:00
Jim Wilson
6ffe0821bb (expand_binop): Correct indentation of doubleword multiply picture.
From-SVN: r3024
1992-12-31 14:18:00 -08:00
Jim Wilson
a66279da54 (TARGET_SWITCHES): Have -msparclite also clear TARGET_FPU.
From-SVN: r3023
1992-12-31 13:15:29 -08:00
Jim Wilson
a55f13c621 Define away __extension__ if compiled by GCC v1.
From-SVN: r3022
1992-12-31 13:12:34 -08:00