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]
Other format: [Raw text]

Re: [PATCH] Altivec vrsave_operation thinko


>>>>> "David" == David Edelsohn <dje@watson.ibm.com> writes:

 > !   if (dest_regno != VRSAVE_REGNO
 > !       && src_regno != VRSAVE_REGNO)
 >       return 0;
  
 >     for (i = 1; i < count; i++)
 > --- 1038,1046 ----
 >       return 0;
  
 > !   if (dest_regno != VRSAVE_REGNO || src_regno != VRSAVE_REGNO)
 >       return 0;

Are you sure you want to change && to || here?  This would have

(set (r0) (vrsave_regno))

return false.

Aldy


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