Hi everyone,

For my project, I need to add a custom instruction to RISCV in Gem5 that
loads 2 sets of 128 elements (32-bit float) from the memory, computes the
dot product, and stores them back to the memory. A starting point is using
the RISCV vector instructions, but I want to reduce the instruction count
and have only one instruction doing all these operations. So I was checking
the vector .isa (decoder, memory, arith) files to get an idea of how to
merge vle32, vadd_vv, vredsum.vs, and vse32 into a single instruction, but
it looks a bit complicated to me and still couldn't figure out how I should
modify it.

I would appreciate it if anyone could give me some pointers on starting
this or which files I need to check and modify.

Thank you!
_______________________________________________
gem5-users mailing list -- gem5-users@gem5.org
To unsubscribe send an email to gem5-users-le...@gem5.org

Reply via email to