Files
OSACA/examples/copy/copy.s.rv6.gcc.s
Metehan Dundar 074118dee0 RISC-V: Update parser to use x-register names, add vector and FP instructions, fix tests
- Modified RISC-V parser to use x-register names instead of ABI names
- Added new vector instructions (vsetvli, vle8.v, vse8.v, vfmacc.vv, vfmul.vf)
- Added floating point instructions (fmul.d)
- Added unconditional jump instruction (j)
- Updated tests to match new register naming convention
- Added new RISC-V example files
- Updated .gitignore to exclude test environment and old examples
2025-06-30 00:28:52 +02:00

9 lines
136 B
ArmAsm

copy_riscv:
.L3:
vsetvli a5,a2,e8,m1,ta,ma
vle8.v v1,0(a1)
sub a2,a2,a5
add a1,a1,a5
vse8.v v1,0(a0)
add a0,a0,a5
bne a2,zero,.L3