From 063b0e181e8c25cc6493aa233d9f64f63bc3b629 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Wed, 31 Jul 2013 16:13:54 -0700 Subject: HW ignores upper bits of fence, but SW supplies 0 --- opcodes | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'opcodes') 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 -- cgit v1.2.3