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
.
>
> -----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
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
>
> 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
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
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:
>>
>
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,
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