This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
i386 nonlocal_goto_receiver patch
- To: egcs-patches at cygnus dot com
- Subject: i386 nonlocal_goto_receiver patch
- From: john at feith dot com (John Wehle)
- Date: Sat, 20 Jun 1998 23:13:51 -0400
This patch removes the nonlocal_goto_receiver pattern since all it
does is restore the global table pointer which is in the PIC register.
The documentation in md.texi indicates that a nonlocal goto only
happens within a unit-of-translation and as a result doesn't need
to restore the global table pointer since it's already correct.
ChangeLog:
Sat Jun 20 23:01:49 EDT 1998 John Wehle (john@feith.com)
* i386.md (nonlocal_goto_receiver): Delete.
Enjoy!
-- John Wehle
------------------8<------------------------8<------------------------
*** gcc/config/i386/i386.md.ORIGINAL Sat Jun 20 17:57:42 1998
--- gcc/config/i386/i386.md Sat Jun 20 20:12:48 1998
***************
*** 7797,7808 ****
emit_move_insn (operands[0], virtual_stack_dynamic_rtx);
DONE;
}")
-
- (define_expand "nonlocal_goto_receiver"
- [(const_int 0)]
- "flag_pic"
- "
- {
- load_pic_register (1);
- DONE;
- }")
--- 7797,7799 ----
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------