Files
OSACA/examples/copy/copy.s.rv64.gcc.s
Metehan Dundar ebf76caa18 Apply selected improvements from 1ceac6e: enhanced RISC-V parser, ImmediateOperand enhancements, and rv6→rv64 file renames
- Enhanced ImmediateOperand with reloc_type and symbol attributes for better RISC-V support
- Updated RISC-V parser with relocation type support (%hi, %lo, %pcrel_hi, etc.)
- Renamed example files from rv6 to rv64 for consistency
- Updated related configuration and test files
- All 115 tests pass successfully
2025-07-11 18:15:51 +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