Skip to content

Commit

Permalink
use r insn directives
Browse files Browse the repository at this point in the history
  • Loading branch information
jorendumoulin committed Apr 17, 2024
1 parent 9de765e commit d0d8a9f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions xdsl/transforms/convert_riscv_to_llvm.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
# for custom ops see
# https://pulp-platform.github.io/snitch_cluster/rm/custom_instructions.html
custom_ops = {
"dmsrc": ".insn i 0x2b, 0, 0, x0, {0}, {1}",
"dmdst": ".insn i 0x2b, 0, 1, x0, {0}, {1}",
"dmcpyi": ".insn i 0x2b, 0, 2, {0}, {1}, {2}",
"dmcpy": ".insn i 0x2b, 0, 3, {0}, {1}, {2}",
"dmstati": ".insn i 0x2b, 0, 4, {0}, {1}, {2}",
"dmstat": ".insn i 0x2b, 0, 5, {0}, {1}, {2}",
"dmstr": ".insn i 0x2b, 0, 6, x0, {0}, {1}",
"dmrep": ".insn i 0x2b, 0, 7, x0, {0}, x0",
"dmsrc": ".insn r 0x2b, 0, 0, x0, {0}, {1}",
"dmdst": ".insn r 0x2b, 0, 1, x0, {0}, {1}",
"dmcpyi": ".insn r 0x2b, 0, 2, {0}, {1}, {2}",
"dmcpy": ".insn r 0x2b, 0, 3, {0}, {1}, {2}",
"dmstati": ".insn r 0x2b, 0, 4, {0}, {1}, {2}",
"dmstat": ".insn r 0x2b, 0, 5, {0}, {1}, {2}",
"dmstr": ".insn r 0x2b, 0, 6, x0, {0}, {1}",
"dmrep": ".insn r 0x2b, 0, 7, x0, {0}, x0",
}


Expand Down

0 comments on commit d0d8a9f

Please sign in to comment.