Re: [PATCH] RISC-V: Add an experimental vector calling convention

2023-06-25 Thread Lehua Ding
Hi Juzhe, Thanks for taking the time to review the code. I will address comments 1, 2, 3. For comment 4, it is necessary to implement these hooks. The purpose is to mark functions that use vector registers to pass arguments and return value so that they can be recognized by the linker. Send the V

Re: [PATCH] RISC-V: Add an experimental vector calling convention

2023-06-25 Thread 钟居哲
like to see more comments from Jeff && Robin. Thanks. juzhe.zh...@rivai.ai From: Lehua Ding Date: 2023-06-25 20:40 To: gcc-patches CC: juzhe.zhong; rdapp.gcc; kito.cheng; palmer; jeffreyalaw; pan2.li Subject: [PATCH] RISC-V: Add an experimental vector calling convention This patch adds a

[PATCH] RISC-V: Add an experimental vector calling convention

2023-06-25 Thread Lehua Ding
This patch adds an experimental vector calling convention proposal that the user can enable with --param=riscv-vector-abi option. The details of this proposal can be viewed at this link: https://github.com/riscv-non-isa/riscv-elf-psabi-doc/pull/389 . Please help me to review this proposal, thank y