This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/72802] powerpc64le: -mcpu=power9 emits lxssp instruction with offset that isn't a multiple of 4


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;
}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]