在 2024/8/5 8:45, Jeff Law 写道:


On 8/2/24 9:32 AM, Jiawei wrote:
https://github.com/riscv/riscv-isa-manual/blob/main/src/zimop.adoc

gcc/ChangeLog:

    * common/config/riscv/riscv-common.cc: New extension.
    * config/riscv/riscv.opt: New mask.

gcc/testsuite/ChangeLog:

    * gcc.target/riscv/arch-42.c: New test.
    * gcc.target/riscv/arch-43.c: New test.
Shouldn't the binutils bits go in first?  There's basic support for Zimop/Zcmop from Lyut on the binutils list in late 2023 or early 2024. I'm pretty sure it marked as DO NOT MERGE because we were waiting for the extension to get ratified.

Christoph informed me that Zimop has been ratified, so we may not need to worry about the spec lifecycle status:

https://jira.riscv.org/browse/RVS-1603?src=confmacro


I don't know if Lyut is doing any RISC-V work right now, so if you wanted to ping the patch on his behalf, it'd be appreciated and I can handle the review on the binutils side too.

I found that ESWIN's patch to support Zimop on the binutils mailing list last month:

https://sourceware.org/pipermail/binutils/2024-June/134592.html

I think the GCC bits are fine, but let's get the binutils bits installed first.
jeff

Okay, Thank you for your comments!

BR,

jiawei

Reply via email to