mirror of
https://github.com/RRZE-HPC/OSACA.git
synced 2025-12-16 00:50:06 +01:00
- 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).
7 lines
94 B
ArmAsm
7 lines
94 B
ArmAsm
sum_reduction_riscv:
|
|
.L3:
|
|
fld fa5,0(a0)
|
|
addi a0,a0,8
|
|
fadd.d fa0,fa0,fa5
|
|
bne a1,a0,.L3
|
|
ret |