Files
OSACA/examples/gs/gs.s.rv64.gcc.s
Metehan Dundar 1ceac6e9f3 Refactor: RISC-V parser, code formatting, and flake8 compliance
- Enhanced RISC-V parser to support reloc_type and symbol in ImmediateOperand.
- Added missing attributes (reloc_type, symbol) to ImmediateOperand and updated __eq__ for backward compatibility.
- Fixed all flake8 (E501, E265, F401, F841) and Black formatting issues across the codebase.
- Improved docstrings and split long lines for better readability.
- Fixed test failures related to ImmediateOperand instantiation and attribute errors.
- Ensured all tests pass, including edge cases for RISC-V, x86, and AArch64.
- Updated .gitignore and documentation as needed.
- Renamed example files for consistency (rv6 -> rv64).
2025-07-04 23:21:06 +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