Skip to content

Commit

Permalink
internal/bigmod: riscv64, try old version
Browse files Browse the repository at this point in the history
  • Loading branch information
emmansun authored Mar 4, 2024
1 parent 140e738 commit f7beee3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_riscv64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
test:
strategy:
matrix:
go-version: [1.22.x]
go-version: [1.18.x]
arch: [riscv64]
runs-on: ubuntu-latest
steps:
Expand Down
6 changes: 3 additions & 3 deletions internal/bigmod/nat_riscv64.s
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ loop:
MOV X16, 2*8(X5) // z[2]
MOV X19, 3*8(X5) // z[3]

ADD $32, X5
ADD $32, X7
ADDI $32, X5
ADDI $32, X7

SUB $4, X30
ADDI $-4, X30
BNEZ X30, loop

done:
Expand Down

0 comments on commit f7beee3

Please sign in to comment.