Re: [PATCH][GCC][AArch64] Fix subreg bug in scalar copysign

2017-06-06 Thread James Greenhalgh
On Wed, Mar 15, 2017 at 04:04:35PM +, Tamar Christina wrote: > Hi All, > > This fixes a bug in the scalar version of copysign where due to a subreg > were generating less than efficient code. > > This patch replaces > > return x * __builtin_copysignf (150.0f, y); > > which used to genera

Re: [PATCH][GCC][AArch64] Fix subreg bug in scalar copysign

2017-05-15 Thread Tamar Christina
ping From: gcc-patches-ow...@gcc.gnu.org on behalf of Tamar Christina Sent: Tuesday, May 2, 2017 10:08:35 AM To: GCC Patches Cc: nd; James Greenhalgh; Richard Earnshaw; Marcus Shawcroft Subject: Re: [PATCH][GCC][AArch64] Fix subreg bug in scalar copysign

Re: [PATCH][GCC][AArch64] Fix subreg bug in scalar copysign

2017-05-02 Thread Tamar Christina
Ping From: gcc-patches-ow...@gcc.gnu.org on behalf of Tamar Christina Sent: Wednesday, March 15, 2017 4:04:35 PM To: GCC Patches Cc: nd; James Greenhalgh; Richard Earnshaw; Marcus Shawcroft Subject: [PATCH][GCC][AArch64] Fix subreg bug in scalar copysign

[PATCH][GCC][AArch64] Fix subreg bug in scalar copysign

2017-03-15 Thread Tamar Christina
Hi All, This fixes a bug in the scalar version of copysign where due to a subreg were generating less than efficient code. This patch replaces return x * __builtin_copysignf (150.0f, y); which used to generate adrpx1, .LC1 mov x0, 2147483648 ins v3.d[0],