Re: jdk11u: Question about the likelihood of backporting SVE support

Xiaolin Zheng yunyao.zxl at alibaba-inc.com
Tue Feb 21 08:43:26 UTC 2023


Hi Vladimir,
Yes, that sounds very reasonable. Then we may currently drop the vector definitions in C2 for now when backporting the backend to 11u.
Best,
Xiaolin
------------------------------------------------------------------
From:Владимир Кемпик <vladimir.kempik at gmail.com>
Send Time:2023年2月21日(星期二) 16:38
To:郑孝林(云矅) <yunyao.zxl at alibaba-inc.com>
Cc:"Lindenmaier, Goetz" <goetz.lindenmaier at sap.com>; jdk-updates-dev <jdk-updates-dev at openjdk.org>; riscv-port-dev <riscv-port-dev-retn at openjdk.org>
Subject:Re: jdk11u: Question about the likelihood of backporting SVE support
Hello
Just few comments.
Vector extension version 1.0 is the only vector extension supported by jdk19.
Currently its impossible to find any publicly available cpu/board with support for Vector extension 1.0.
Basically it means the risc-v vector support in openjdk11 is something that can wait few years. And maybe later maintainers will reconsider their decision.
Regards, Vladimir 
вт, 21 февр. 2023 г., 11:28 Xiaolin Zheng <yunyao.zxl at alibaba-inc.com <mailto:yunyao.zxl at alibaba-inc.com >>:
Hi Goetz,
Thank you for the response!
Okay, we will follow the advice.
Best Regards,
Xiaolin
------------------------------------------------------------------
From:Lindenmaier, Goetz <goetz.lindenmaier at sap.com <mailto:goetz.lindenmaier at sap.com >>
Send Time:2023年2月21日(星期二) 16:25
To:郑孝林(云矅) <yunyao.zxl at alibaba-inc.com <mailto:yunyao.zxl at alibaba-inc.com >>; jdk-updates-dev <jdk-updates-dev at openjdk.org <mailto:jdk-updates-dev at openjdk.org >>; riscv-port-dev <riscv-port-dev-retn at openjdk.org <mailto:riscv-port-dev-retn at openjdk.org >>
Subject:RE: jdk11u: Question about the likelihood of backporting SVE support
Hi,
I think this change should not be backported to 11.
Best regards,
 Goetz.
> -----Original Message-----
> From: jdk-updates-dev <jdk-updates-dev-retn at openjdk.org <mailto:jdk-updates-dev-retn at openjdk.org >> On Behalf Of
> Xiaolin Zheng
> Sent: Tuesday, February 21, 2023 8:58 AM
> To: jdk-updates-dev <jdk-updates-dev at openjdk.org <mailto:jdk-updates-dev at openjdk.org >>; riscv-port-dev <riscv-
> port-dev-retn at openjdk.org <mailto:port-dev-retn at openjdk.org >>
> Subject: jdk11u: Question about the likelihood of backporting SVE support
> 
> [Some people who received this message don't often get email from
> yunyao.zxl at alibaba-inc.com <mailto:yunyao.zxl at alibaba-inc.com >. Learn why this is important at
> https://aka.ms/LearnAboutSenderIdentification <https://aka.ms/LearnAboutSenderIdentification > ]
> 
> Hi maintainers of jdk11u:
> 
> I would like to ask if it is possible for the SVE support [1] to be backported to
> jdk11u, for the maintainers' aspect. If the RISC-V backend is going to be
> backported to jdk11u, then we will face an issue that the VecA implementation
> [2] used by the backend does not exist on jdk11u. The general functionality of
> the backend, and the shared vector intrinsics [3] defined in StubRoutines will
> not get affected without VecA; though VectorAPI and vector intrinsic defined
> in C2 [4] in riscv_v.ad <http://riscv_v.ad > may not work - if one would like to know the details.
> 
> Looking forward to your reply.
> 
> Best Regards,
> Xiaolin
> 
> [1] https://bugs.openjdk.org/browse/JDK-8231441 <https://bugs.openjdk.org/browse/JDK-8231441 >
> [2]
> https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/riscv/riscv.ad#L <https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/riscv/riscv.ad#L >
> 240-L243
> [3]
> https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/riscv/stubGene <https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/riscv/stubGene >
> rator_riscv.cpp#L944-L948
> [4]
> https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/riscv/riscv_v.ad <https://github.com/openjdk/jdk/blob/master/src/hotspot/cpu/riscv/riscv_v.ad >
> #L1932-L1949
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jdk-updates-dev/attachments/20230221/987d694e/attachment-0001.htm>


More information about the jdk-updates-dev mailing list