[Bug target/60204] struct with __m512i is mishandled in function parameter passing and return
hjl.tools at gmail dot com
gcc-bugzilla@gcc.gnu.org
Tue Feb 18 16:54:00 GMT 2014
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60204
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2014-02-18
Ever confirmed|0 |1
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to tocarip.intel from comment #1)
> From
> https://github.com/hjl-tools/x86-64-psABI/blob/hjl/avx512/low-level-sys-info.
> tex
> \item If the size of an object is larger than four \eightbytes, or
> it contains unaligned fields, it has class MEMORY
>
> struct m512i has size of 64 bytes, which is larger than 8*4=32, so it has
> class MEMORY and passed on the stack.
>
> It looks like everything is according to ABI.
It is a bug in psABI. It should read as "eight \eightbytes".
More information about the Gcc-bugs
mailing list