Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Phabricator shutdown timeline

luojia (Luo Jia)
User

Projects

User does not belong to any projects.

User Details

User Since
Dec 2 2021, 1:55 AM (95 w, 5 d)

Recent Activity

Sun, Sep 17

luojia added a comment to D70401: [RISCV] CodeGen of RVE and ilp32e/lp64e ABIs.

I know that there are still open issues regarding the psABI, but considering how slow it's been going, couldn't we merge this in anyway and mark it as experimental and subject to change? Please?

The patch is simple enough to not become a maintenance burden, and GCC already has it even though the ABI's unfinished, and the RV32E target itself is most likely going to be used for standalone bare metal programs where the exact ABI shouldn't matter too much as long as it works.

I'm asking because I'd really like to have this merged so that I could use Rust to target RV32E/RV64E. Right now I have to maintain my own toolchain, which is painful; if this got merged (even in an experimental fashion, like GCC has) I could just get upstream Rust to support it out-of-box.

Sun, Sep 17, 7:34 AM · Restricted Project, Restricted Project, Restricted Project

Mar 7 2023

luojia added a comment to D145539: [llvm/Target] Add Windows COFF support for RISC-V.

I'm guessing this is so you can llvm-objcopy an ELF into a PE/COFF?.. Because without relocations being defined you can't do much else of use...

Yes llvm-objcopy can do this and this is the current approach on EDK2 RISC-V. But for languages like Rust it will be more convenient if the compiler backend writes it out directly from build target configuration

And how are you going to do that without a full PE/COFF specification for RISC-V?

Mar 7 2023, 8:07 PM · Restricted Project, Restricted Project
luojia added a comment to D145539: [llvm/Target] Add Windows COFF support for RISC-V.

I'm guessing this is so you can llvm-objcopy an ELF into a PE/COFF?.. Because without relocations being defined you can't do much else of use...

Mar 7 2023, 7:58 PM · Restricted Project, Restricted Project
luojia updated the diff for D145539: [llvm/Target] Add Windows COFF support for RISC-V.

Applied suggestions from @jrtc27.

Mar 7 2023, 7:54 PM · Restricted Project, Restricted Project
luojia updated the diff for D145539: [llvm/Target] Add Windows COFF support for RISC-V.

Update full-context diff.

Mar 7 2023, 7:36 PM · Restricted Project, Restricted Project
luojia requested review of D145539: [llvm/Target] Add Windows COFF support for RISC-V.
Mar 7 2023, 7:14 PM · Restricted Project, Restricted Project

Oct 20 2022

luojia added a comment to D70401: [RISCV] CodeGen of RVE and ilp32e/lp64e ABIs.

Hello! Any further updates to this patch? It seems like all the inline comments have been resolved.

Oct 20 2022, 8:57 PM · Restricted Project, Restricted Project, Restricted Project

Apr 26 2022

luojia added a comment to D64830: [Xtensa 4/10] Add basic *td files with Xtensa architecture description..

What's the current state of this patch? :)

Apr 26 2022, 2:22 AM · Restricted Project, Restricted Project

Dec 2 2021

luojia added a comment to D93019: [RISCV] Add support for Zihintpause extention.

Hello! I noticed that the pause hint instruction is merged into spec (https://github.com/riscv/riscv-isa-manual/pull/398) and got ratified (https://github.com/riscv/riscv-isa-manual/commit/7a58119dad5bd43e2171a26b56ef60f9591a1c9c).

Dec 2 2021, 2:00 AM · Restricted Project