This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/67718] [aarch64] long double incorrect code for copysign
- From: "pinskia at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 25 Sep 2015 23:31:51 +0000
- Subject: [Bug target/67718] [aarch64] long double incorrect code for copysign
- Auto-submitted: auto-generated
- References: <bug-67718-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67718
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|middle-end |target
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
What is happening is the subreg is being assumed it is lower part of the
register rather than the upper part. Really this subreg should have declared
as invalid for v1 as there is no way to do scalar for the upper part of the
register.
This makes this a target issue rather than a middle-end one.
Also by the way using __builtin_copysignl should generate better code
generation anyways.