gem5-users@gem5.org

The gem5 Users mailing list

View all threads

About Risc-V custom ISA

中国石油大学张天
Tue, Jun 20, 2023 2:35 PM

When I have customized a RISC-V instruction, I want to know how to make the load program execute it naturally, without using embedded assembly? At present, I only know how to use embedded assembly to force this custom instruction to run.

When I have customized a RISC-V instruction, I want to know how to make the load program execute it naturally, without using embedded assembly? At present, I only know how to use embedded assembly to force this custom instruction to run.
JL
Jason Lowe-Power
Tue, Jun 20, 2023 2:56 PM

Hello,

I believe you would have to modify your compiler to emit the instruction to
avoid using embedded assembly.

Cheers,
Jason

On Tue, Jun 20, 2023 at 10:36 AM 中国石油大学张天 via gem5-users <
gem5-users@gem5.org> wrote:

When I have customized a RISC-V instruction, I want to know how to make
the load program execute it naturally, without using embedded assembly? At
present, I only know how to use embedded assembly to force this custom
instruction to run.


gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-leave@gem5.org

Hello, I believe you would have to modify your compiler to emit the instruction to avoid using embedded assembly. Cheers, Jason On Tue, Jun 20, 2023 at 10:36 AM 中国石油大学张天 via gem5-users < gem5-users@gem5.org> wrote: > When I have customized a RISC-V instruction, I want to know how to make > the load program execute it naturally, without using embedded assembly? At > present, I only know how to use embedded assembly to force this custom > instruction to run. > _______________________________________________ > gem5-users mailing list -- gem5-users@gem5.org > To unsubscribe send an email to gem5-users-leave@gem5.org >