diff options
author | Andrew Waterman <andrew@sifive.com> | 2024-01-29 16:37:45 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 16:37:45 -0800 |
commit | 67e775962321ef48f77e7ab5aa4f40ce3cf82b08 (patch) | |
tree | 43cee9ab73a6b03c5be6dbf75fd536ec3737e052 /isa | |
parent | bd0a19c136927eaa3b7296a591a896c141affb6b (diff) | |
parent | a0771484353d273bd6df8389193df9597b105572 (diff) | |
download | riscv-tests-67e775962321ef48f77e7ab5aa4f40ce3cf82b08.zip riscv-tests-67e775962321ef48f77e7ab5aa4f40ce3cf82b08.tar.gz riscv-tests-67e775962321ef48f77e7ab5aa4f40ce3cf82b08.tar.bz2 |
Merge pull request #528 from powdr-labs/master
Uses appropriate addi instruction in lrsc test.
Diffstat (limited to 'isa')
-rw-r--r-- | isa/rv64ua/lrsc.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/isa/rv64ua/lrsc.S b/isa/rv64ua/lrsc.S index ab0d025..39fb156 100644 --- a/isa/rv64ua/lrsc.S +++ b/isa/rv64ua/lrsc.S @@ -62,7 +62,7 @@ addi a2, a2, 1 add a4, a4, a2 sc.w a4, a4, (a0) bnez a4, 1b -add a1, a1, -1 +addi a1, a1, -1 bnez a1, 1b # wait for all cores to finish |