i386.md (builtin_setjmp_receiver): New pattern.

* config/i386/i386.md (builtin_setjmp_receiver): New pattern.
	Restore the pic register if required.

From-SVN: r31190
This commit is contained in:
Anthony Green 2000-01-04 06:17:29 +00:00 committed by Anthony Green
parent e316d10779
commit fb75402575
2 changed files with 15 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-01-03 Anthony Green <green@cygnus.com>
* config/i386/i386.md (builtin_setjmp_receiver): New pattern.
Restore the pic register if required.
2000-01-03 Ulrich Drepper <drepper@cygnus.com>
* c-common.c (format_char_info): Update comment.

View File

@ -1,5 +1,5 @@
;; GCC machine description for IA-32.
;; Copyright (C) 1988, 94-98, 1999 Free Software Foundation, Inc.
;; Copyright (C) 1988, 94-99, 2000 Free Software Foundation, Inc.
;; Mostly by William Schelter.
;;
;; This file is part of GNU CC.
@ -8335,6 +8335,15 @@
load_pic_register ();
DONE;
}")
(define_expand "builtin_setjmp_receiver"
[(label_ref (match_operand 0 "" ""))]
"flag_pic"
"
{
load_pic_register ();
DONE;
}")
;; Avoid redundant prefixes by splitting HImode arithmetic to SImode.