This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
patch to sh.c
- To: egcs-patches at cygnus dot com
- Subject: patch to sh.c
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Mon, 7 Dec 1998 16:20:14 +0000 (GMT)
- Cc: law at cygnus dot com (Jeffrey A Law), karuottu at freenet dot hut dot fi (Kai Ruottu), amylaar at cygnus dot co dot uk (Joern Rennecke)
I have applied the following patch sh.c:
Mon Dec 7 16:15:51 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* sh.c (output_far_jump): Emit braf only for TARGET_SH2.
Index: config/sh/sh.c
===================================================================
RCS file: /egcs/carton/cvsfiles/egcs/gcc/config/sh/sh.c,v
retrieving revision 1.19
diff -p -r1.19 sh.c
*** sh.c 1998/11/23 08:50:38 1.19
--- sh.c 1998/12/07 16:15:46
*************** output_far_jump (insn, op)
*** 657,663 ****
this.lab = gen_label_rtx ();
! if (offset >= -32764 && offset - get_attr_length (insn) <= 32766)
{
far = 0;
jump = "mov.w %O0,%1;braf %1";
--- 657,665 ----
this.lab = gen_label_rtx ();
! if (TARGET_SH2
! && offset >= -32764
! && offset - get_attr_length (insn) <= 32766)
{
far = 0;
jump = "mov.w %O0,%1;braf %1";