Commit Graph

3379 Commits

Author SHA1 Message Date
Jeff Law af69aabbee pa.h (CONST_DOUBLE_OK_FOR_LETTER_P): Generalize.
* pa.h (CONST_DOUBLE_OK_FOR_LETTER_P): Generalize.
	(LEGITIMATE_CONSTANT_P): Allow 0.0.
	(CONST_COSTS, case CONST_DOUBLE): fp0.0 is free when
	not used in a SET expression.

From-SVN: r3392
1993-01-30 14:10:07 -07:00
Jeff Law f048ca473f pa.c (reg_or_0_operand): Use CONST0_RTX instead of const0_rtx.
* pa.c (reg_or_0_operand): Use CONST0_RTX instead of
	const0_rtx.
	(reg_or_0_or_nonsymb_mem_operand): New function.
	(emit_move_sequence): Copying CONST0_RTX into any
	register can be done directly.  Use CONST0_RTX instead
	of const0_rtx.
	(output_fp_move_double): Handle copying a CONST0_RTX
	into FP or integer registers.
	(print_operand): Handle "%r0" for DFmode and SFmode
	values too.

From-SVN: r3391
1993-01-30 14:09:51 -07:00
Richard Stallman 7c57c7983d Add many prototypes from bill@cygnus.com.
From-SVN: r3390
1993-01-30 19:59:11 +00:00
Niklas Hallqvist 5d63b07f42 * c-decl.c (c_build_type_variant): Moved to c-common.c.
From-SVN: r3389
1993-01-30 06:06:30 +00:00
Niklas Hallqvist 0b73773ce6 c-common.c (c_build_type_variant): Moved here from c-decl.c.
* c-common.c (c_build_type_variant): Moved here from c-decl.c.
	Redirected the TYPE_MAIN_VARIANT to the "real" main variant.
	Build the possibly new array type on the permanent obstack if it
        the original type was permanent.
	(permanent_obstack): Added extern declaration.

From-SVN: r3388
1993-01-30 06:06:09 +00:00
Richard Stallman 42f769c15a (force_fit_type): Abort if T not INTEGER_CST.
From-SVN: r3387
1993-01-30 01:57:54 +00:00
Richard Stallman 4d7d0403c6 (size_in_bytes): Only call force_fit_type for an INTEGER_CST.
From-SVN: r3386
1993-01-30 01:56:57 +00:00
Jeff Law f2fbfe928c reload.c (find_reloads_toplev): When handling a (subreg (reg)) where (reg) will be replaced by a memory...
* reload.c (find_reloads_toplev): When handling a (subreg (reg))
	where (reg) will be replaced by a memory reference, if the memory
	address is invalid for the mode of the subreg, then search the
	memory address for reloads.

From-SVN: r3385
1993-01-29 10:09:30 -07:00
Jeff Law d39b685469 * pa.h (FIXED_REGISTERS): %r31 is not fixed.
From-SVN: r3384
1993-01-29 10:07:33 -07:00
James Van Artsdalen dc78213e1a (compare_for_stack_reg): Properly swap operands of a COMPARE.
From-SVN: r3383
1993-01-29 05:48:47 +00:00
Jeff Law 9a82d0bb78 pa.md (iorsi3): Split into two patterns...
* pa.md (iorsi3): Split into two patterns, a named "iorsi3" which
	only accepts registers, and a combiner pattern which accepts a
	restricted set of constant integers for one term.

From-SVN: r3382
1993-01-28 11:59:42 -07:00
Jeff Law 15f6ed9f8b * pa.c (ior_operand): Do not accept registers.
From-SVN: r3381
1993-01-28 11:59:15 -07:00
Jeff Law 8f262c0d3e * pa.h (LEGITIMIZE_ADDRESS): Delete cases which can never happen.
From-SVN: r3380
1993-01-28 11:56:26 -07:00
Jeff Law 3518f90492 pa.h (CPP_SPEC for OLD_CC): Delete.
* pa.h (CPP_SPEC for OLD_CC): Delete.
	(CC1_SPEC for OLD_CC): Likewise.
	(MODES_TIEABLE_P): Simplify.
	(ASM_OUTPUT_ADDR_VEC_ELT): Fix comment.
	(leaf_function): Delete unused variable.
	(HARD_REGNO_MODE_OK): Delete old useless version.
	(FIRST_PARM_OFFSET): Likewise.
	(FIRST_PARM_CALLER_OFFSET): Likewise.
	(EXPAND_BUILTIN_SAVEREGS): Likewise.
	(ASM_OUTPUT_REG_PUSH): Likewise.
	(ASM_OUTPUT_REG_POP): Likewise

From-SVN: r3379
1993-01-28 11:53:11 -07:00
Ian Lance Taylor 2ac5f14ab3 print_operand accepts %/ for REGISTER_PREFIX.
From-SVN: r3378
1993-01-28 15:55:26 +00:00
Ian Lance Taylor bb66e0f69a Use %/ before register names in 68000 version of umul_ppmm.
From-SVN: r3377
1993-01-28 15:55:26 +00:00
Richard Kenner 6574a8c4c3 Remove 29050-specific variants of patterns generating loadm that have earlyclobber.
Remove 29050-specific variants of patterns generating loadm that have
earlyclobber.  This was put in for some very old version of the '050,
which isn't used anymore, that had a bug.

From-SVN: r3376
1993-01-28 07:30:12 -05:00
Richard Kenner 7ba7267ac2 change /include and -I values from [.config] to [.config.] (this trailing...
change /include and -I values from [.config] to [.config.] (this
trailing period works with GNU C's preprocessor but not with VAX C's).

From-SVN: r3375
1993-01-28 06:55:47 -05:00
Richard Kenner bcc81b8594 change instances of [.config] to [.config.vax].
From-SVN: r3374
1993-01-28 06:54:18 -05:00
Richard Kenner d94f844d87 (init_fixtab, init_optabs): Fix typos in QFmode and HFmode
initialization.

From-SVN: r3373
1993-01-28 06:48:47 -05:00
Richard Kenner 02b8f30077 (simplify_relation_operation): We can compute the result of a comparison of...
(simplify_relation_operation): We can compute the result of a
comparison of CONST_INTs no matter what mode the computation is to be
done in.

From-SVN: r3372
1993-01-27 19:23:36 -05:00
Richard Kenner c2615a67c7 (emit_store_flag): Swap operands if first is a constant and second is not.
Abort if compare_from_rtx didn't return an rtx with the code we expect.

From-SVN: r3371
1993-01-27 19:23:02 -05:00
Richard Kenner bf743ac5ed (compare_from_rtx): Only swap operand if first is a constant and
second is not.

From-SVN: r3370
1993-01-27 19:22:17 -05:00
Richard Kenner c81fe25de9 (init_decl_processing): Make the arrays 200 long instead of 10 to
leave more room for most names.

From-SVN: r3369
1993-01-27 19:21:30 -05:00
Richard Kenner 97d17ac21c (declare_function_name): If char_array_type_node isn't large enough
for the name, make a larger type.

From-SVN: r3368
1993-01-27 19:21:01 -05:00
Richard Kenner e15762df9d (put_var_into_stack, fixup_var_refs_insns): Minor cleanups.
(fixup_var_refs_1, case SET): Correctly check for simple insns that don't
need fixups.

From-SVN: r3367
1993-01-27 13:27:18 -05:00
Richard Stallman 4b7179be95 (includedir): Use local_prefix.
From-SVN: r3366
1993-01-27 18:11:43 +00:00
Jeff Law 9bc906845f pa.c (check_fp_mov): Delete unused function
* pa.c (check_fp_mov): Delete unused function
	(register_or_short_operand): Likewise
	(eq_or_neq): Likewise
	(gen_compare_reg): Likewise
	(reverse_relop): Likewise
	(frame_base)name): Delete unused variable.

From-SVN: r3365
1993-01-27 10:06:08 -07:00
Jeff Law ec04655e33 * pa-ghpux.h (HAVE_ATEXIT): Delete. This is defined in pa.h
From-SVN: r3364
1993-01-27 10:05:33 -07:00
Richard Kenner 7243ba7d92 Delete ISCOFF macro which was in #ifdef _AIX.
From-SVN: r3363
1993-01-27 06:46:40 -05:00
Richard Kenner 2c440f06b8 (MY_ISCOFF): New macro.
From-SVN: r3362
1993-01-27 06:46:02 -05:00
Brendan Kehoe d960abef0f fix typos
From-SVN: r3361
1993-01-26 21:28:16 -05:00
Richard Kenner 721f13b342 (simplify_binary_operation, case SMAX): Correctly compute largest
possible signed integer.

From-SVN: r3360
1993-01-26 19:32:45 -05:00
Richard Kenner bef9925b88 (combine_instructions): Initialize undobuf in the event
`gen_rtx_combine' is called before `try_combine'.

From-SVN: r3359
1993-01-26 19:30:38 -05:00
Richard Kenner 42118350f7 (rest.cross, gfloat.h, stmp-headers, mostlyclean): Build and install
gfloat.h instead of float.h.

From-SVN: r3358
1993-01-26 19:27:55 -05:00
Richard Kenner ad37ba0b5b (CLIB): Add -lld.
From-SVN: r3357
1993-01-26 19:25:55 -05:00
Richard Kenner cc122dbc43 (ONLY_INT_FIELDS): Define if not __GNUC__.
From-SVN: r3356
1993-01-26 19:23:57 -05:00
Jim Wilson e13502d79c Change all uses of EX to SED.
From-SVN: r3355
1993-01-26 15:29:45 -08:00
Jim Wilson d58913603f (stdio.h): Change _VA_LIST_ to __gnuc_va_list for 386BSD.
From-SVN: r3354
1993-01-26 15:26:23 -08:00
Jim Wilson 9116497e24 (umulsidi3+1): Add variant which accepts constants.
From-SVN: r3353
1993-01-26 15:22:13 -08:00
Jim Wilson 590d6f8e98 (sys/types.h): Don't match on ssize_t.
From-SVN: r3352
1993-01-26 15:19:35 -08:00
Brendan Kehoe c7af43d8b3 collect2.c (write_list_with_asm): Use `__asm__' instead of `asm', to avoid problems with `-fno-asm'.
* collect2.c (write_list_with_asm): Use `__asm__' instead of
        `asm', to avoid problems with `-fno-asm'.

From-SVN: r3351
1993-01-26 17:14:37 -05:00
Michael Meissner 8ab74e1295 Remove elisp-vars.
From-SVN: r3350
1993-01-26 20:30:58 +00:00
Brendan Kehoe 7bd95cc1d3 Makefile.in (insn-*.[ch], [...]): When using a trailing semicolon to force a rule to not do anything...
* Makefile.in (insn-*.[ch], protoize.o, unprotoize.o, install): When
        using a trailing semicolon to force a rule to not do anything,
        explicitly run the command `true', to avoid warnings or other
        problems with versions of make which don't like null commands.

From-SVN: r3349
1993-01-26 13:45:24 -05:00
Richard Kenner 293e1467cb (copy_and_substitute_rtx, case REG): Call gen_lowpart instead of
making an explicit SUBREG.

From-SVN: r3348
1993-01-26 07:14:22 -05:00
Richard Kenner 3af6dfd8b4 (expand_value_return): Call convert_move instead of the erroneous
convert_to_mode.

From-SVN: r3347
1993-01-26 07:13:47 -05:00
Richard Stallman e8fda1f96b (find_a_file): First `access' test was backwards.
(main): Set full_real_ld_suffix right.

From-SVN: r3346
1993-01-26 06:58:09 +00:00
Richard Stallman fba9adc6d5 (init_decl_processing): Use 10 as size of ..._array_type_node.
From-SVN: r3345
1993-01-26 06:51:31 +00:00
Richard Stallman 625bbc6074 (handle_directive): Init already_output after old_linenum label.
(finclude): Remove final backslash-newline *before* trigraph_pcp.
(write_output): Free line_command at end.

From-SVN: r3344
1993-01-26 06:00:49 +00:00
Doug Evans 716f003f91 Added debugging utilities debug_rtx_list to print several rtx's and...
Added debugging utilities debug_rtx_list to print several rtx's and
debug_rtx_find to look up an rtx in a list given a uid.

From-SVN: r3343
1993-01-26 00:30:34 +00:00