hi,
According the standard ABI for vector routines is defined here:
https://github.com/ARM-software/abi-aa/releases/download/2021Q3/vfabia64.pdf.
For user-defined SVE vector functions the attribute is not required as AAPCS and AAVPCS are equivalent.
so I expect the _ZGVnN2v_acosh and _ZGVnN2v_acosh1 in the follow defining generate same assemble, but now it is not. Do I missing some things ?
- link Compiler Explorer
define aarch64_vector_pcs <vscale x 2 x double> @_ZGVnN2v_acosh() {
%call = call double @acosh()
ret <vscale x 2 x double> zeroinitializer
}
define <vscale x 2 x double> @_ZGVnN2v_acosh1() {
%call = call double @acosh()
ret <vscale x 2 x double> zeroinitializer
}