mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2025-12-16 00:50:06 +01:00
- 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
13 lines
206 B
ArmAsm
13 lines
206 B
ArmAsm
daxpy_riscv:
|
|
.L3:
|
|
vsetvli a5,a2,e64,m1,ta,ma
|
|
vle64.v v1,0(a0)
|
|
vle64.v v2,0(a1)
|
|
slli a3,a5,3
|
|
sub a2,a2,a5
|
|
add a0,a0,a3
|
|
add a1,a1,a3
|
|
vfmacc.vv v1,v3,v2
|
|
vse64.v v1,0(a4)
|
|
add a4,a4,a3
|
|
bne a2,zero,.L3 |