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][x86] Fix PR52407


On Tue, 28 Feb 2012, Jakub Jelinek wrote:

> On Tue, Feb 28, 2012 at 02:01:45PM +0100, Richard Guenther wrote:
> > I guess using __INT64_TYPE__ is more portable to weird targets
> > though.  I integrated the other testcase changes though.
> 
> To which weird targets?  We support long long on all targets,
> and the C standard guarantees it is at least 64-bit wide.

Really?  I was concerned about targets where int isn't 32bits.

> And, the testcase doesn't anywhere actually need a 64-bit type
> on weird targets, it needs any type that is 64-bit on i?86/x86_64.
> 
> If you want absolute portability, just replace 16 with
> 2 * sizeof (long long) in the vector_size attribute argument.

That would work, too, of course.  I'll do that.

Richard.


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