Commit Graph

13693 Commits

Author SHA1 Message Date
Richard Kenner
d947dca037 (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Test
#ifdef __mcf52000__, not if (TARGET_52000); fixed for mc68000 case.

From-SVN: r14178
1997-06-09 13:22:47 -04:00
Richard Kenner
b88c92ccb2 (final_scan_insn): Use single_set to check cc_status.flags.
From-SVN: r14177
1997-06-09 09:19:15 -04:00
Richard Kenner
f9dcab5273 (check_format_info): Correct handling of the 'a' flag which adds
another pointer level.

From-SVN: r14176
1997-06-09 09:09:05 -04:00
Richard Stallman
f428585b05 Use i?86, not i.86.
From-SVN: r14174
1997-06-09 04:56:02 +00:00
Jeff Law
d75292760d Remove unwanted line accidentally inserted in last change.
From-SVN: r14173
1997-06-08 15:23:20 -06:00
Jeff Law
4bcb9e3f39 pa.md (conditional branch insns): Get length right for branches to targets which can not be reached with a "bl"...
* pa.md (conditional branch insns): Get length right for branches
        to targets which can not be reached with a "bl" instruction.
        * pa.c (output_cbranch): Handle branches to targets which can not
        be reached with a "bl" instruction.

From-SVN: r14172
1997-06-08 15:20:21 -06:00
Jeff Law
359255a957 pa.md (alternate dbra pattern): Remove incorrect pattern.
* pa.md (alternate dbra pattern): Remove incorrect pattern.

        * pa.c (struct defer_plab): Renamed to struct deferred_plabel.
        Remove "symbol" field and replace with "name" field.
        (output_function_epilogue): Don't output deferred plabels here.
        (output_deferred_labels): New function.  Output them here instead.
        (output_call): Rewrite long call support.
        * pa.h (ASM_FILE_END): Define.
        (LEGITIMATE_CONSTANT_P): Never accept a function_label_operand.
        * pa.md (HIGH and LO_SUM of function address): Remove patterns.

From-SVN: r14171
1997-06-08 00:37:08 -06:00
Richard Stallman
6c48ca54b3 (*:Linux:*:*): Always use ${VENDOR}.
From-SVN: r14169
1997-06-08 01:57:13 +00:00
Mike Stump
28174a1465 libgcc2.c (__eh_ffetmnpc): Add support for machines that cannot access globals after throw's epilogue when...
* libgcc2.c (__eh_ffetmnpc): Add support for machines that cannot
	access globals after throw's epilogue when -fno-sjlj-exceptions is
	used.
	* rs6000.c (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Likewise.
	* mips.h (DONT_ACCESS_GBLS_AFTER_EPILOGUE): Likewise.
	(INITIAL_ELIMINATION_OFFSET): Fix RETURN_ADDRESS_POINTER_REGNUM
	for 64 bit words, with 32 bit pointers and variable endianness.
Fixes throwing across shared library lines (useful at times on mips and rs6000)

From-SVN: r14168
1997-06-06 23:18:36 +00:00
Michael Meissner
7ec189f2ec Fix off by one error
From-SVN: r14167
1997-06-06 21:33:41 +00:00
Doug Evans
b90faeb7d3 (EXECUTE_IF_AND_COMPL_IN_REG_SET): Fix setting of scan_rs_.
From-SVN: r14166
1997-06-06 21:17:33 +00:00
Doug Evans
af089bd1d0 (REG_SET_TO_HARD_REG_SET): Fix typo.
(EXECUTE_IF_SET_IN_REG_SET): Fix setting of scan_rs_.
(EXECUTE_IF_SET_AND_RESET_IN_REG_SET): Likewise.
(EXECUTE_IF_AND_IN_REG_SET): Likewise.

From-SVN: r14165
1997-06-06 21:14:24 +00:00
Stan Cox
a86202361e (notice_cc_update): Set CC_FCOMI is this is a float compare.
From-SVN: r14164
1997-06-06 20:23:26 +00:00
Jim Wilson
110b339d97 (update_flow_info): When add extra REG_DEAD note for original dest...
(update_flow_info): When add extra REG_DEAD note for original
dest, handle case where last insn both uses and sets dest.

From-SVN: r14163
1997-06-06 12:12:09 -07:00
Doug Evans
f7577fca9a (CPP_SPEC): Define, adding the CPU definition to what came from sparc.h.
(CPP_SPEC): Define, adding the CPU definition to
what came from sparc.h.
(CPP_PREDEFINES): Don't define it here.

From-SVN: r14162
1997-06-06 17:09:44 +00:00
Karl Berry
e4264f1f37 (\setmultitablespacing): Restore bad typing mistake from yesterday.
From-SVN: r14160
1997-06-06 14:31:32 +00:00
Brendan Kehoe
ef0c2739f5 * fixinc.irix: Add declaration of __vfork to unistd.h.
From-SVN: r14159
1997-06-05 22:23:14 -04:00
Brendan Kehoe
67de45a8dd vx960-coff.h (CPP_SPEC): Always define CPU, even if they use -ansi...
* i960/vx960-coff.h (CPP_SPEC): Always define CPU, even if they
	use -ansi; the VxWorks headers assume it's always present.

From-SVN: r14158
1997-06-05 22:20:14 -04:00
Richard Stallman
c4a33af7a7 (*:Linux:*:*): Don't test for elf_i.86 or m68kelf.
From-SVN: r14156
1997-06-06 01:21:12 +00:00
Richard Stallman
c661f27eb3 (*:Linux:*:*): Recognize sparclinux.
Don't recognize UNAME_MACHINE = sparc.
Make the sample program check for libc version
and handle various machine types.

From-SVN: r14155
1997-06-06 00:14:22 +00:00
Richard Stallman
e2b95588c8 (mipsel*-linux* and mips*-linux*):
Set `os' to -linux-gnu directly, don't go via -linux.

From-SVN: r14154
1997-06-05 22:22:44 +00:00
Karl Berry
9552c38ee7 (\uref): Write real definition, taking one mandatory argument and one
optional one.

From-SVN: r14153
1997-06-05 22:04:25 +00:00
Michael Meissner
913db40d19 remove cygnus local stuff
From-SVN: r14152
1997-06-05 20:47:47 +00:00
Michael Meissner
d312421306 Remove CYGNUS LOCAL stuff.
From-SVN: r14151
1997-06-05 20:43:41 +00:00
Michael Meissner
7eb136d6cc Fix urgent bug
From-SVN: r14150
1997-06-05 20:35:53 +00:00
Jeff Law
cb10094340 Fix typo in last change.
From-SVN: r14149
1997-06-05 10:36:38 -06:00
Jeff Law
4408efce8b sh.c (trap_exit, sp_switch): New variables.
* sh.c (trap_exit, sp_switch): New variables.
	(print_operand, case '@'): If trap_exit is nonzero, then use
	a trapa instead of an rte/rts to exit the current function.
	(sh_expand_prologue): Switch stacks at function entry as needed.
	(sh_expand_epilogue): Similarly at function exit.
	(function_epilogue): Clear trap_exit and sp_switch too.
	(sh_valid_machine_decl_attribute): New function.
	* sh.h (VALID_MACHINE_DECL_ATTRIBUTE): Define.
	(sp_switch): Declare.
	* sh.md (sp_switch_1, sp_switch_2): New named patterns.

From-SVN: r14148
1997-06-05 09:52:34 -06:00
Michael Meissner
916b1701c2 abstract regset stuff into macros
From-SVN: r14147
1997-06-05 10:24:03 +00:00
Karl Berry
2217c9f0e8 texinfo.tex (\mainmagstep): Define this as a \count variable instead of with \let...
* texinfo.tex (\mainmagstep): Define this as a \count variable
 	instead of with \let, to make changing to \magstep1 more transparent.
 	From: HERBERT@boevm4.vnet.ibm.com.
	(\uref): New command a la \url.

From-SVN: r14146
1997-06-04 21:47:40 +00:00
Mike Stump
013bc8afa0 91th Cygnus<->FSF quick merge
From-SVN: r14145
1997-06-04 17:31:55 +00:00
Brendan Kehoe
6313a654f7 * fixincludes: Fix AIX NULL macro use of void*.
From-SVN: r14144
1997-06-03 19:19:01 -04:00
Jason Merrill
fd407cd21d x
From-SVN: r14143
1997-06-03 19:20:28 +00:00
Michael Meissner
39379e67c7 Widen some short fields to int; Use allocate_reg_info to allocate the reg_renumber array
From-SVN: r14142
1997-06-02 22:05:38 +00:00
Doug Evans
2808652ac8 sparc.md (v9 eq/ne cond move patterns): Add early clobber constraint to destination.
* sparc/sparc.md (v9 eq/ne cond move patterns): Add early clobber
	constraint to destination.

From-SVN: r14141
1997-06-02 18:52:13 +00:00
Michael Meissner
b1f21e0aef Use accessor macros to access arrays based on regno; move many of the arrays into a single structure.
From-SVN: r14140
1997-05-30 18:19:19 +00:00
Mike Stump
e00737d221 91th Cygnus<->FSF quick merge
From-SVN: r14139
1997-05-29 20:29:01 +00:00
Stan Cox
f3e10ef29e (movsfcc_1, movdfcc_1, movxfcc_1): Use singlemove_string
From-SVN: r14138
1997-05-29 19:41:36 +00:00
Stan Cox
b078c5c69c (ASM_OUTPUT_REG_{PUSH,POP}): add %% before register name.
From-SVN: r14137
1997-05-29 19:36:53 +00:00
Stan Cox
7c030ad03a (ASM_OUTPUT_ALIGN): use .p2align, not byte alignments.
From-SVN: r14136
1997-05-29 19:35:26 +00:00
Mike Stump
478b0752a1 except.c (push_eh_entry): Eliminate start of exception region label, as it isn't used.
* except.c (push_eh_entry): Eliminate start of exception region
	label, as it isn't used.  Rename end_label to outer_context.
	(expand_eh_region_start_for_decl): Likewise.
	(expand_leftover_cleanups): Likewise.
	(expand_start_all_catch): Likewise.
	* except.h (eh_entry): Likewise.
	* except.c (expand_eh_region_end): Likewise.  Jump around the nop
	that we insert, so that we can optimize it away, if it is unused,
	also so that flow analysis can tell if we fall through to the end
	of a function or not so that it can know if a function that returns
	a value, in fact does or not.
Fixes g++.jason/return2.C when using -fno-sjlj-exceptions

From-SVN: r14135
1997-05-29 18:42:07 +00:00
Mike Stump
37c46b43db 91th Cygnus<->FSF quick merge
From-SVN: r14134
1997-05-28 23:20:02 +00:00
Jeff Law
87c166683a pa.md (jump): Handle out of range unconditional jump when not optimizing.
* pa.md (jump): Handle out of range unconditional jump
        when not optimizing.

From-SVN: r14133
1997-05-28 10:50:38 -06:00
Paul Eggert
380d5b3249 automatically generated from GPLed version
From-SVN: r14129
1997-05-27 03:15:14 +00:00
Paul Eggert
9938b122e4 automatically generated from GPLed version
From-SVN: r14127
1997-05-27 03:15:14 +00:00
Ulrich Drepper
3b1afa4b24 automatically generated from GPLed version
From-SVN: r14126
1997-05-27 03:15:09 +00:00
Karl Berry
8efc7e64cf (\deftypemethod, \deftypemethodheader): New macros to implement new commands @deftypemethod and @deftypemethodx.
(\deftypemethod, \deftypemethodheader): New macros to implement
new commands @deftypemethod and @deftypemethodx.
Suggestion from: KHMarbaise@p69.ks.fido.de (Karl Heinz Marbaise).

From-SVN: r14114
1997-05-24 22:06:39 +00:00
Karl Berry
358d4f3bf1 (\opnr, \clnr): Increment/decrement \parencount, for
(\opnr, \clnr): Increment/decrement \parencount, for
	* texinfo.tex (\opnr, \clnr): Increment/decrement \parencount, for
   	  @defun lines with nested parens.  From Bill Schelter
 	  <wfs@fireant.ma.utexas.edu>.
	(\itemizeitem): Correct \errmessage.

From-SVN: r14113
1997-05-23 17:02:00 +00:00
Richard Kenner
65376d285e Formerly install.texi.~2~
From-SVN: r14112
1997-05-22 17:56:07 -04:00
Jeff Law
23e7786b28 reload1.c (reload_cse_record_set): Ignore values for SREG if their mode is narrower than DEST_MODE.
* reload1.c (reload_cse_record_set): Ignore values for SREG if
        their mode is narrower than DEST_MODE.

From-SVN: r14111
1997-05-22 15:49:33 -06:00
Jeff Law
293100b546 pa.h (DFMODE_RETURN_STRING): Define.
* pa.h (DFMODE_RETURN_STRING): Define.
        (SFMODE_RETURN_STRING): Likewise.
        (ASM_DECLARE_FUNCTION_NAME): Use them.

From-SVN: r14110
1997-05-22 01:00:06 -06:00