Skip to content

Commit

Permalink
Merge pull request riscv#135 from a4lg/fence.tso-generalized
Browse files Browse the repository at this point in the history
Generalize `fence.tso` instruction
  • Loading branch information
aswaterman authored Jul 9, 2022
2 parents 3db008d + 86cb748 commit 7008313
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rv_i
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ or rd rs1 rs2 31..25=0 14..12=6 6..2=0x0C 1..0=3
and rd rs1 rs2 31..25=0 14..12=7 6..2=0x0C 1..0=3
fence fm pred succ rs1 14..12=0 rd 6..2=0x03 1..0=3
#specialized fences
$pseudo_op rv_i::fence fence.tso 31..28=8 27..24=3 23..20=3 19..15=0 14..12=0 11..7=0 6..2=0x03 1..0=3
$pseudo_op rv_i::fence fence.tso 31..28=8 27..24=3 23..20=3 rs1 14..12=0 rd 6..2=0x03 1..0=3
$pseudo_op rv_i::fence pause 31..28=0 27..24=1 23..20=0 19..15=0 14..12=0 11..7=0 6..2=0x03 1..0=3
ecall 31..20=0x000 19..7=0 6..2=0x1C 1..0=3
ebreak 31..20=0x001 19..7=0 6..2=0x1C 1..0=3
Expand Down

0 comments on commit 7008313

Please sign in to comment.