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] PR 40049, prevent garbage collect errors on machines with vector/vector shift


On Fri, May 08, 2009 at 10:47:20PM +0200, Richard Guenther wrote:
> On Fri, May 8, 2009 at 7:23 PM, Michael Meissner
> <meissner@linux.vnet.ibm.com> wrote:
> > The patch was a quick patch from the existing code. ?The following patch
> > eliminates the unused variable.
> 
> This is ok with a testcase.  It would be nice to have a testcase with variable
> shift that tests for correctness though.
> 
> Thanks,
> Richard.

I committed the following patch.  I added a test for all of the standard
integer types, doing constant shifts, scalar shifts, and vector shifts,
checking to see if the value is what we expect.

-- 
Michael Meissner, IBM
4 Technology Place Drive, MS 2203A, Westford, MA, 01886, USA
meissner@linux.vnet.ibm.com

Attachment: gcc-vectshift.patch04
Description: Text document


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