summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorGravatar Andrew Waterman <waterman@cs.berkeley.edu>2013-07-31 16:13:54 -0700
committerGravatar Andrew Waterman <waterman@cs.berkeley.edu>2013-07-31 16:13:54 -0700
commit063b0e181e8c25cc6493aa233d9f64f63bc3b629 (patch)
tree41812f283b9291a2625b2db6d7e1199519fc157b /opcodes
parent157d7aafa998a05f76d33d542388e1e789bf0557 (diff)
HW ignores upper bits of fence, but SW supplies 0
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes8
1 files changed, 4 insertions, 4 deletions
diff --git a/opcodes b/opcodes
index f5ba9f4..24c3f0a 100644
--- a/opcodes
+++ b/opcodes
@@ -108,10 +108,10 @@ lr.d rd rs1 21..17=0 16=1 15..10=0 9..7=3 6..2=0x0A 1..0=3
sc.w rd rs1 rs2 16=1 15..10=1 9..7=2 6..2=0x0A 1..0=3
sc.d rd rs1 rs2 16=1 15..10=1 9..7=3 6..2=0x0A 1..0=3
-fence.i rd rs1 imm12 9..7=1 6..2=0x0B 1..0=3
-fence rd rs1 imm12 9..7=2 6..2=0x0B 1..0=3
-fence.v.l rd rs1 imm12 9..7=4 6..2=0x0B 1..0=3
-fence.v.g rd rs1 imm12 9..7=5 6..2=0x0B 1..0=3
+fence.i 31..10=ignore 9..7=1 6..2=0x0B 1..0=3
+fence 31..10=ignore 9..7=2 6..2=0x0B 1..0=3
+fence.v.l 31..10=ignore 9..7=4 6..2=0x0B 1..0=3
+fence.v.g 31..10=ignore 9..7=5 6..2=0x0B 1..0=3
syscall 31..27=0 26..22=0 21..17=0 16..10=0 9..7=0 6..2=0x1D 1..0=3
break 31..27=0 26..22=0 21..17=0 16..10=0 9..7=1 6..2=0x1D 1..0=3