Files
OSACA/examples/gs/gs.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

16 lines
242 B
ArmAsm

gs_riscv:
.L5:
fld fa2,0(a3)
fld fa3,0(a5)
fld fa4,0(a4)
fadd.d fa5,fa5,fa2
addi a5,a5,8
addi a3,a3,8
addi a4,a4,8
fadd.d fa5,fa5,fa3
fadd.d fa5,fa5,fa4
fmul.d fa5,fa5,fa0
fsd fa5,-16(a5)
bne a2,a5,.L5
addi a0,a0,8
bne a6,a0,.L4