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: do not combine asm stmts in scan_loop()


poop.  wrong list.

On 10 Jun 2001 14:19:37 +0100, Aldy Hernandez wrote:
> 
> > 4.  Supress this change for GET_CODE (SET_SRC (set)) == ASM_OPERANDS.
> 
> alrighty.  scan_flow no longer tries to combine inline asms.  tested on
> x86.  no regressions.
> 
> ok for branch? trunk?
> 
> cheers
> aldy
>  
> --
> Aldy Hernandez			E-mail: aldyh@redhat.com
> Professional Gypsy
> Red Hat, Inc.
> 
> --=-c+xzpFDh2IkbniKN3dMF
> 2001-06-08  Aldy Hernandez  <aldyh@redhat.com>
> 
> 	* loop.c (scan_loop): Do not combine asm statements.
> 
> Index: loop.c
> ===================================================================
> RCS file: /cvs/gcc/egcs/gcc/loop.c,v
> retrieving revision 1.322.4.9
> diff -c -r1.322.4.9 loop.c
> *** loop.c	2001/05/12 20:32:37	1.322.4.9
> --- loop.c	2001/06/10 13:14:44
> ***************
> *** 772,777 ****
> --- 772,778 ----
>   		  && (REGNO_LAST_UID (regno)
>   		      == INSN_UID (regs->array[regno].single_usage))
>   		  && regs->array[regno].set_in_loop == 1
> + 		  && GET_CODE (SET_SRC (set)) != ASM_OPERANDS
>   		  && ! side_effects_p (SET_SRC (set))
>   		  && ! find_reg_note (p, REG_RETVAL, NULL_RTX)
>   		  && (! SMALL_REGISTER_CLASSES
--
Aldy Hernandez			E-mail: aldyh@redhat.com
Professional Gypsy
Red Hat, Inc.


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