Commit Graph

2672 Commits

Author SHA1 Message Date
Richard Stallman
280194b05b (gen_realpart, gen_imagpart): New functions.
From-SVN: r2323
1992-10-05 06:34:26 +00:00
Richard Stallman
2d7050fdca (expand_expr): Use gen_realpart, gen_imagpart.
(expand_expr): For ABS_EXPR, give expand_unop the operand's mode.
(expand_expr): For REALPART_EXPR, IMAGPART_EXPR, just return that part.

From-SVN: r2322
1992-10-05 06:30:54 +00:00
Richard Stallman
decdfa8271 (init_optabs): Use cabs as the only libcall for abs.
(expand_complex_abs): New function.
(expand_unop, expand_binop): Use gen_realpart, gen_imagpart.

From-SVN: r2321
1992-10-05 06:28:37 +00:00
Richard Stallman
86b25e81b9 (allocate_dynamic_stack_space) [MUST_ALIGN]:
Always add to size, always round up to STACK_BOUNDARY,
always round the address.

From-SVN: r2320
1992-10-05 06:27:12 +00:00
Richard Stallman
8c24a2ce8c Fix typo in last change.
From-SVN: r2319
1992-10-04 23:10:06 +00:00
Richard Stallman
be63d91206 (readescape): No warning if digits in \x are all 0's.
From-SVN: r2318
1992-10-04 04:58:30 +00:00
Richard Stallman
bf15a311e9 (expand_complex_abs): Add declaration.
From-SVN: r2317
1992-10-03 18:44:17 +00:00
Michael Meissner
d03cc004f8 Add expand_complex_abs decl.
From-SVN: r2316
1992-10-03 14:47:33 +00:00
Michael Meissner
1aef7785e6 On DEC OSF/1 use x-dec-osf1 for xmake-file
From-SVN: r2315
1992-10-03 11:33:18 +00:00
Tom Wood
bf60ac0dc4 *** empty log message ***
From-SVN: r2314
1992-10-03 09:03:24 +00:00
Richard Stallman
1577a9b4d0 (gen_realpart, gen_imagpart): Declared.
From-SVN: r2313
1992-10-03 05:35:44 +00:00
Richard Stallman
3c5c04c815 (DBX_REGISTER_NUMBER): Don't abort here on pseudo-regs.
From-SVN: r2312
1992-10-03 02:31:20 +00:00
Richard Stallman
52cdd5e580 (output_mem_loc_descriptor, output_loc_descriptor):
Catch cases of bogus DECL_RTL values involving pseudo-regs (for all
target systems) and print an annoying message if we ever see such a case.

From-SVN: r2311
1992-10-03 02:30:30 +00:00
Richard Stallman
36ad49159d (install-common-headers): Use __eprintf as indicator for GCC's assert.h.
From-SVN: r2310
1992-10-03 02:15:20 +00:00
Richard Stallman
9fcedbef65 (install-common-headers): Install assert.h separately, in includedir,
but not if file exists and lacks the magic comment.

From-SVN: r2309
1992-10-03 01:09:38 +00:00
Richard Stallman
a4f602639c Add magic comment at beginning.
From-SVN: r2308
1992-10-03 01:07:56 +00:00
Richard Stallman
7bea819f25 (includedir): New variable.
(USER_H): assert.h removed from value.
(install-common-headers): Install assert.h separately, in includedir.

From-SVN: r2307
1992-10-03 01:04:00 +00:00
Richard Stallman
9d1a4667d8 (reload): Move test for failure to find any group to after the loop over i.
(reload): Move test for failure to find any group
to after the loop over i.  Also check that all the regnos fit
below FIRST_PSEUDO_REGISTER.

From-SVN: r2306
1992-10-03 00:38:02 +00:00
Richard Stallman
139e5e0892 (expand_unop): Handle complex negate and abs val.
(init_optabs): Set up libcalls for complex abs.
(init_complex_libcalls): New function.

From-SVN: r2305
1992-10-02 01:42:33 +00:00
Michael Meissner
aa59a86918 Undo some of the index changes, and write our own index/rindex.
From-SVN: r2304
1992-10-02 01:07:59 +00:00
Michael Meissner
d4099651d5 RISC-OS 5.0 changes.
From-SVN: r2303
1992-10-01 21:25:34 +00:00
Jim Wilson
9ad5f9f604 (emit_reload_insns): Add a case to handle
SECONDARY_MEMORY_NEEDED in the SECONDARY_OUTPUT_RELOAD_CLASS code.

From-SVN: r2302
1992-10-01 12:18:06 -07:00
Jim Wilson
ae51bd971e (SECONDARY_INPUT_RELOAD_CLASS): Also need a temp reg when loading HImode and QImode values from memory to FP_REGS.
(SECONDARY_INPUT_RELOAD_CLASS): Also need a temp reg
when loading HImode and QImode values from memory to FP_REGS.
(SECONDARY_OUTPUT_RELOAD_CLASS): New macro.  Define this to handle
HImode and QImode stores from FP_REGS to memory similar to above.

From-SVN: r2301
1992-10-01 12:17:02 -07:00
Richard Stallman
b9a24ad42e (declare_function_name): __FUNC__ variables
are compiler-created, so set DECL_SOURCE_LINE to zero.

From-SVN: r2300
1992-10-01 19:01:26 +00:00
Richard Stallman
a50cc0dd8e Expect 56 conflicts for objc.
From-SVN: r2299
1992-10-01 17:38:39 +00:00
Jeff Law
9c36061e48 pa.md (add high part and dp register): Split into two patterns, one for normal code, one for kernels.
* pa.md (add high part and dp register): Split into two patterns,
	one for normal code, one for kernels.  Kernel version only allows
	"r1" as the destination register.

From-SVN: r2298
1992-10-01 11:06:29 -06:00
Jeff Law
caba9473d7 pa.h (LEGITIMIZE_ADDRESS, [...]): Emit a sequence which will cause "addil" instructions to be emitted instead of...
* pa.h (LEGITIMIZE_ADDRESS, SYMBOL_REF case): Emit a sequence
	which will cause "addil" instructions to be emitted instead of
	"ldil; add" sequences.
	* pa.h (TARGET_KERNEL): New switch "-mkernel" which forces gcc to
	avoid "ldil; add" sequences with %r27 and instead generate "addil"
	sequences.  This avoids a HPUX linker bug when compiling kernels.

From-SVN: r2297
1992-10-01 11:05:02 -06:00
Jeff Law
2fbd8ac74e pa.c (emit_move_sequence): When making a reference to the data space before reload...
* pa.c (emit_move_sequence): When making a reference to the data
	space before reload, emit an insn sequence which is much more
	likely to create "addil" instructions rather than "ldil; add"
	sequences.  Doing so greatly reduces the chance of running into a
	HPUX linker bug when compiling kernels.

From-SVN: r2296
1992-10-01 11:03:46 -06:00
Richard Stallman
e4e13a012e Add mode spec for Emacs.
From-SVN: r2295
1992-10-01 09:05:18 +00:00
Richard Stallman
75d20d4ffd (c-parse.y, objc-parse.y): Construct from c-parse.in.
(gcc.xtar): Depend on c-parse.y, objc-parse.y.
(realclean): Delete c-parse.y, objc-parse.y.

From-SVN: r2294
1992-10-01 09:03:03 +00:00
Richard Stallman
028299c6bf Initial revision
From-SVN: r2293
1992-10-01 09:01:10 +00:00
Richard Stallman
1d9d04f8ce (allocate_dynamic_stack_space): If STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET...
(allocate_dynamic_stack_space): If STACK_DYNAMIC_OFFSET
or STACK_POINTER_OFFSET, always round address up to BIGGEST_ALIGNMENT.

From-SVN: r2292
1992-10-01 07:55:51 +00:00
Richard Stallman
09dafdadf0 If _ANSI_H_, undef _PTRDIFF_T_, _SIZE_T_, _WCHAR_T.
From-SVN: r2291
1992-10-01 06:11:57 +00:00
Richard Stallman
0132d1ca0f (NO_UNDERSCORES): Deleted.
From-SVN: r2290
1992-10-01 04:54:36 +00:00
Richard Stallman
bba2431c5d (__eprintf): Do nothing if inhibit_eprintf is defined.
From-SVN: r2289
1992-10-01 03:34:27 +00:00
Richard Stallman
82c14fc83c entered into RCS
From-SVN: r2288
1992-09-30 22:42:04 +00:00
Richard Stallman
b0375d839d (install-fixincludes): rm syslimits.h before installing.
Install it with cp.  Add an else-part to the if that installs it.

From-SVN: r2287
1992-09-30 22:24:46 +00:00
Richard Stallman
606f392077 Don't use system syms.h on hpux.
From-SVN: r2286
1992-09-30 21:28:24 +00:00
Jim Wilson
1a1ba90ec3 (orcc peephole): Don't accept FP reg for operand 0.
From-SVN: r2285
1992-09-30 12:08:44 -07:00
Richard Stallman
b3fab01d5e Use <...> to include va-*.h.
From-SVN: r2284
1992-09-30 05:57:35 +00:00
Jim Wilson
9fdc1dcad4 (find_splittable_givs): recog_memoized failure return is -1 not 0.
From-SVN: r2283
1992-09-29 15:41:28 -07:00
Roland McGrath
6d7afc4f02 (os handling): Recognize `linux' as a valid os.
From-SVN: r2282
1992-09-29 22:19:48 +00:00
Richard Stallman
a06865af8b Use <...> in #include.
From-SVN: r2281
1992-09-29 21:29:17 +00:00
Richard Stallman
5fcb671c83 Fix comment syntax after #endif.
From-SVN: r2280
1992-09-29 20:08:08 +00:00
Richard Stallman
e18eb52342 (ENQUIRE_CFLAGS): Remove -DNO_SC.
From-SVN: r2279
1992-09-29 20:06:22 +00:00
Richard Kenner
8aecce0a61 (expand_binop): Convert X - C to X + (-C).
From-SVN: r2278
1992-09-29 10:14:19 -04:00
Jim Wilson
7f11183e26 (copy_loop_body...
(copy_loop_body, JUMP_INSN case): When invert jump
insn, must first construct new insn before trying to invert it,
so that validate_change will work properly.

From-SVN: r2277
1992-09-28 14:25:53 -07:00
Jim Wilson
4024394c6f (find_splittable_givs): Pass mem_mode not mode to memory_address_p.
From-SVN: r2276
1992-09-28 14:21:34 -07:00
Jim Wilson
5746764666 (copy_loop_body, JUMP_INSN case): When setting JUMP_LABEL field, verify that what we think is a label actually is.
(copy_loop_body, JUMP_INSN case): When setting
JUMP_LABEL field, verify that what we think is a label actually
is.  If it isn't then map the old JUMP_LABEL to find the new one.

From-SVN: r2275
1992-09-28 14:18:17 -07:00
Jim Wilson
72f4648ec5 (orcc peephole): Don't allow FP regs to match pattern.
From-SVN: r2274
1992-09-28 14:16:10 -07:00