RFR: 8374349: [VectorAPI]: AArch64: Prefer merging mode SVE CPY instruction [v4]
Andrew Haley
aph at openjdk.org
Thu Feb 26 10:36:05 UTC 2026
On Thu, 26 Feb 2026 01:59:19 GMT, Eric Fang <erfang at openjdk.org> wrote:
>>> Hi [@theRealAph](https://github.com/theRealAph) , it's a private method,
>>
>> It isn't. The `public:` declaration is right there.
>
> We have two public methods to copy an integer/floating-point immediate to vector elements:
> ```
> void sve_cpy(FloatRegister Zd, SIMD_RegVariant T, PRegister Pg, int imm8, bool isMerge) {...}
> void sve_cpy(FloatRegister Zd, SIMD_RegVariant T, PRegister Pg, double d) {...}
>
> Both of them call the private method `_sve_cpy` (before the renaming, it's `sve_cpy`).
>
> void _sve_cpy(FloatRegister Zd, SIMD_RegVariant T, PRegister Pg, int imm8, bool isMerge, bool isFloat) {
>
> The parameters of the public versions and the private version are different.
>
> Please correct me if I misunderstood your meaning, thanks~
Ah, I see. That's OK, sorry.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29359#discussion_r2858236552
More information about the hotspot-dev
mailing list