This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

Re: [PATCH] PPC64: First in the series of patches implementing POWER8 vector math.


Steve Ellcey <sellcey@marvell.com> writes:

> I am curious, have patches been sent or will patches be sent to GCC to
> generate calls to vector functions.  I do not see any of the
> TARGET_SIMD_CLONE* macros defined for power8 in the GCC tree so I don't
> see how it would ever generate calls to the vector functions.

That still has to be implemented.

> I am also not clear on how we decide on the mangling of the vector
> function names, particularly the 'b'.  I know that x86 uses 'b', 'c',
> 'd', or 'e' depending on the FP vectors available.  Aarch64 is using
> 'n' in its name mangling (and maybe something else for SVE).  Is it OK
> for Power8 to use the same letter as x86?  I don't know if this is
> covered in some standard or how the letters were chosen.

It was proposed to the X86-64 System V Application Binary Interface, but
it was refused. [1]

Another question: in the C++ ABI, "_ZGV" is reserved for guard variables.
How is this name collision being treated?

Andrew, could you help answer these questions?

[1] https://groups.google.com/d/msg/x86-64-abi/LmppCfN1rZ4/TydP1Gxr4cIJ

-- 
Tulio Magno


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