This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

patch to sh.c


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";


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]