Skip to content

Commit

Permalink
Add 'Zihintntl' non-temporal locality hints (v0.2) (riscv#130)
Browse files Browse the repository at this point in the history
  • Loading branch information
a4lg authored Jun 27, 2022
1 parent 8c0fb32 commit d8497b4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions unratified/rv_c_zihintntl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$pseudo_op rv_c::c.add c.ntl.p1 1..0=2 6..2=2 11..7=0 15..13=4 12=1
$pseudo_op rv_c::c.add c.ntl.pall 1..0=2 6..2=3 11..7=0 15..13=4 12=1
$pseudo_op rv_c::c.add c.ntl.s1 1..0=2 6..2=4 11..7=0 15..13=4 12=1
$pseudo_op rv_c::c.add c.ntl.all 1..0=2 6..2=5 11..7=0 15..13=4 12=1
4 changes: 4 additions & 0 deletions unratified/rv_zihintntl
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
$pseudo_op rv_i::add ntl.p1 31..25=0 24..20=2 19..15=0 14..12=0 11..7=0 6..2=0x0C 1..0=3
$pseudo_op rv_i::add ntl.pall 31..25=0 24..20=3 19..15=0 14..12=0 11..7=0 6..2=0x0C 1..0=3
$pseudo_op rv_i::add ntl.s1 31..25=0 24..20=4 19..15=0 14..12=0 11..7=0 6..2=0x0C 1..0=3
$pseudo_op rv_i::add ntl.all 31..25=0 24..20=5 19..15=0 14..12=0 11..7=0 6..2=0x0C 1..0=3

0 comments on commit d8497b4

Please sign in to comment.