This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] PPC64: First in the series of patches implementing POWER8 vector math.
- From: Steve Ellcey <sellcey at marvell dot com>
- To: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>, "tnggil at protonmail dot com" <tnggil at protonmail dot com>
- Date: Fri, 15 Feb 2019 16:45:36 +0000
- Subject: Re: [PATCH] PPC64: First in the series of patches implementing POWER8 vector math.
- References: <7z03WSXwPIOYABvW1ZYzHobMOv90wBWKo-e0YptRFovFUpRnrSEGN-zv08kOe_fPJMFnHx1khbcfcfooubTStEAtMX96Q2U4cRVZOm_TZl8firstname.lastname@example.org>
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.
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.