Re: [ARM][PATCH] Add support for overflow add, sub, and neg operations

2016-08-22 Thread Kyrill Tkachov
t 03, 2016 6:00 AM To: Michael Collison Cc: gcc-patches@gcc.gnu.org; James Greenhalgh; Kyrylo Tkachov; nd Subject: Re: [ARM][PATCH] Add support for overflow add, sub, and neg operations On 2 August 2016 at 10:13, Michael Collison wrote: Hi, This patch improves code generations for builtin arithm

Re: [ARM][PATCH] Add support for overflow add, sub, and neg operations

2016-08-21 Thread Christophe Lyon
. > > -----Original Message----- > From: Christophe Lyon [mailto:christophe.l...@linaro.org] > Sent: Wednesday, August 03, 2016 6:00 AM > To: Michael Collison > Cc: gcc-patches@gcc.gnu.org; James Greenhalgh; Kyrylo Tkachov; nd > Subject: Re: [ARM][PATCH] Add support for overflow a

RE: [ARM][PATCH] Add support for overflow add, sub, and neg operations

2016-08-12 Thread Michael Collison
inal Message- From: Christophe Lyon [mailto:christophe.l...@linaro.org] Sent: Wednesday, August 03, 2016 6:00 AM To: Michael Collison Cc: gcc-patches@gcc.gnu.org; James Greenhalgh; Kyrylo Tkachov; nd Subject: Re: [ARM][PATCH] Add support for overflow add, sub, and neg operations On 2 August 2016 a

Re: [ARM][PATCH] Add support for overflow add, sub, and neg operations

2016-08-03 Thread Christophe Lyon
> > From: Christophe Lyon > Sent: Wednesday, August 3, 2016 5:59:48 AM > To: Michael Collison > Cc: gcc-patches@gcc.gnu.org; James Greenhalgh; Kyrylo Tkachov; nd > Subject: Re: [ARM][PATCH] Add support for overflow add, sub, and neg > operations

Re: [ARM][PATCH] Add support for overflow add, sub, and neg operations

2016-08-03 Thread Christophe Lyon
On 2 August 2016 at 10:13, Michael Collison wrote: > Hi, > > This patch improves code generations for builtin arithmetic overflow > operations for the arm backend. As an example for a simple test case such as: > > int > fn3 (int x, int y, int *ovf) > { > int res; > *ovf = __builtin_sadd_overf

Re: [ARM][PATCH] Add support for overflow add, sub, and neg operations

2016-08-02 Thread Yvan Roux
Hi Michael, On 2 August 2016 at 11:25, Kyrill Tkachov wrote: > Hi Michael, > > > On 02/08/16 09:13, Michael Collison wrote: >> >> Hi, >> >> This patch improves code generations for builtin arithmetic overflow >> operations for the arm backend. As an example for a simple test case such >> as: >> >

Re: [ARM][PATCH] Add support for overflow add, sub, and neg operations

2016-08-02 Thread Kyrill Tkachov
Hi Michael, On 02/08/16 09:13, Michael Collison wrote: Hi, This patch improves code generations for builtin arithmetic overflow operations for the arm backend. As an example for a simple test case such as: int fn3 (int x, int y, int *ovf) { int res; *ovf = __builtin_sadd_overflow (x, y,

[ARM][PATCH] Add support for overflow add, sub, and neg operations

2016-08-02 Thread Michael Collison
Hi, This patch improves code generations for builtin arithmetic overflow operations for the arm backend. As an example for a simple test case such as: int fn3 (int x, int y, int *ovf) { int res; *ovf = __builtin_sadd_overflow (x, y, &res); return res; } Current trunk at -O2 generates fn3