This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/72802] powerpc64le: -mcpu=power9 emits lxssp instruction with offset that isn't a multiple of 4
- From: "amodra at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 08 Aug 2016 15:09:19 +0000
- Subject: [Bug target/72802] powerpc64le: -mcpu=power9 emits lxssp instruction with offset that isn't a multiple of 4
- Auto-submitted: auto-generated
- References: <bug-72802-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=72802
Alan Modra <amodra at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC|amodra at gmail dot com |
--- Comment #7 from Alan Modra <amodra at gmail dot com> ---
Fixed on trunk. The problem exists on gcc-6 since we have wrong "o"
constraints on lsxxp/stxssp there. Triggered by:
float foo (void *p)
{
register float f __asm__ ("v0");
f = *(float *)((char *) p + 2);
__asm__ ("#%0" : "+wa" (f));
return f;
}