Re: [PATCH, i386] Fix -mpreferred-stack-boundary

2013-11-15 Thread Sriraman Tallam
On Fri, Nov 15, 2013 at 1:58 AM, Bernd Edlinger wrote: > On Fri, 15 Nov 2013 10:09:02, Uros Bizjak wrote: >> >> On Fri, Nov 15, 2013 at 4:54 AM, Sriraman Tallam wrote: >> >>> Currently on trunk the option -mpreferred-stack-boundary does not >>> work >>> together with #pra

Re: [PATCH, i386] Fix -mpreferred-stack-boundary

2013-11-15 Thread Uros Bizjak
On Fri, Nov 15, 2013 at 10:58 AM, Bernd Edlinger wrote: Well, this way it could be fixed too. But opts->x_ix86_preferred_stack_bounary_arg is not dependent on any pragma or target attribute. Correct me if that is wrong. >>> >>> That seems correct. >>> And this code >

RE: [PATCH, i386] Fix -mpreferred-stack-boundary

2013-11-15 Thread Bernd Edlinger
On Fri, 15 Nov 2013 10:09:02, Uros Bizjak wrote: > > On Fri, Nov 15, 2013 at 4:54 AM, Sriraman Tallam wrote: > >> Currently on trunk the option -mpreferred-stack-boundary does not >> work >> together with #pragma GCC target("sse") or >> __attribute__((target("sse"

Re: [PATCH, i386] Fix -mpreferred-stack-boundary

2013-11-15 Thread Uros Bizjak
On Fri, Nov 15, 2013 at 4:54 AM, Sriraman Tallam wrote: > Currently on trunk the option -mpreferred-stack-boundary does not work > together with #pragma GCC target("sse") or > __attribute__((target("sse"))). > > There is already a test case that detects th

Re: [PATCH, i386] Fix -mpreferred-stack-boundary

2013-11-14 Thread Sriraman Tallam
On Wed, Nov 13, 2013 at 5:12 PM, Bernd Edlinger wrote: > On Tue, 12 Nov 2013 17:50:27, Sriraman Tallam wrote: >> >> On Tue, Nov 12, 2013 at 5:17 PM, Sriraman Tallam wrote: >>> On Tue, Nov 12, 2013 at 2:53 PM, Bernd Edlinger >>> wrote: Hi, On Tue, 12 Nov 2013 10:30:16, Srirama

RE: [PATCH, i386] Fix -mpreferred-stack-boundary

2013-11-13 Thread Bernd Edlinger
On Tue, 12 Nov 2013 17:50:27, Sriraman Tallam wrote: > > On Tue, Nov 12, 2013 at 5:17 PM, Sriraman Tallam wrote: >> On Tue, Nov 12, 2013 at 2:53 PM, Bernd Edlinger >> wrote: >>> Hi, >>> >>> >>> On Tue, 12 Nov 2013 10:30:16, Sriraman Tallam wrote: On Mon, Nov 11, 2013 at 11:30 PM, Uros B

Re: [PATCH, i386] Fix -mpreferred-stack-boundary

2013-11-12 Thread Sriraman Tallam
On Tue, Nov 12, 2013 at 5:17 PM, Sriraman Tallam wrote: > On Tue, Nov 12, 2013 at 2:53 PM, Bernd Edlinger > wrote: >> Hi, >> >> >> On Tue, 12 Nov 2013 10:30:16, Sriraman Tallam wrote: >>> >>> On Mon, Nov 11, 2013 at 11:30 PM, Uros Bizjak wrote: There was something wrong with Bernd's address

Re: [PATCH, i386] Fix -mpreferred-stack-boundary

2013-11-12 Thread Sriraman Tallam
On Tue, Nov 12, 2013 at 2:53 PM, Bernd Edlinger wrote: > Hi, > > > On Tue, 12 Nov 2013 10:30:16, Sriraman Tallam wrote: >> >> On Mon, Nov 11, 2013 at 11:30 PM, Uros Bizjak wrote: >>> There was something wrong with Bernd's address, retrying. >>> > Currently on trunk the option -mpreferred-stac

RE: [PATCH, i386] Fix -mpreferred-stack-boundary

2013-11-12 Thread Bernd Edlinger
Hi, On Tue, 12 Nov 2013 10:30:16, Sriraman Tallam wrote: > > On Mon, Nov 11, 2013 at 11:30 PM, Uros Bizjak wrote: >> There was something wrong with Bernd's address, retrying. >> Currently on trunk the option -mpreferred-stack-boundary does not work together with #pragma GCC target("sse

Re: [PATCH, i386] Fix -mpreferred-stack-boundary

2013-11-12 Thread Sriraman Tallam
On Mon, Nov 11, 2013 at 11:30 PM, Uros Bizjak wrote: > There was something wrong with Bernd's address, retrying. > >>> Currently on trunk the option -mpreferred-stack-boundary does not work >>> together with #pragma GCC target("sse") or __attribute__((target("sse"))). >>> >>> There is already a te

Re: [PATCH, i386] Fix -mpreferred-stack-boundary

2013-11-11 Thread Uros Bizjak
There was something wrong with Bernd's address, retrying. >> Currently on trunk the option -mpreferred-stack-boundary does not work >> together with #pragma GCC target("sse") or __attribute__((target("sse"))). >> >> There is already a test case that detects this: >> gcc.target/i386/fastcall-ssere

Re: [PATCH, i386] Fix -mpreferred-stack-boundary

2013-11-11 Thread Uros Bizjak
Hello! > Currently on trunk the option -mpreferred-stack-boundary does not work > together with #pragma GCC target("sse") or __attribute__((target("sse"))). > > There is already a test case that detects this: > gcc.target/i386/fastcall-sseregparm.c > > The attached patch fixes this test case unde

[PATCH, i386] Fix -mpreferred-stack-boundary

2013-11-10 Thread Bernd Edlinger
Currently on trunk the option -mpreferred-stack-boundary does not work together with #pragma GCC target("sse") or __attribute__((target("sse"))). There is already a test case that detects this: gcc.target/i386/fastcall-sseregparm.c The attached patch fixes this test case under i686-pc-linux-gnu.