aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Waterman <andrew@sifive.com>2021-04-05 18:50:13 -0700
committerAndrew Waterman <andrew@sifive.com>2021-04-05 18:50:13 -0700
commit7d1a0e3153c37cd180be9e95f331f32c225d9257 (patch)
treebc19eccfedf380b42d5e6e48b47f7e7978e6c860
parent8ca982845164f4995003eb29d11d7ff8bd5bd17e (diff)
downloadriscv-opcodes-7d1a0e3153c37cd180be9e95f331f32c225d9257.zip
riscv-opcodes-7d1a0e3153c37cd180be9e95f331f32c225d9257.tar.gz
riscv-opcodes-7d1a0e3153c37cd180be9e95f331f32c225d9257.tar.bz2
Add fence.tso and pause instructions
-rwxr-xr-xparse_opcodes4
1 files changed, 2 insertions, 2 deletions
diff --git a/parse_opcodes b/parse_opcodes
index 6dae82a..6205ff5 100755
--- a/parse_opcodes
+++ b/parse_opcodes
@@ -853,7 +853,7 @@ def print_footer(caption=''):
""" % caption)
def print_inst(n):
- if n == 'fence':
+ if n == 'fence' or n == 'fence.tso' or n == 'pause':
print_fence_type(n, match[n], arguments[n])
elif 'aqrl' in arguments[n]:
print_amo_type(n, match[n], arguments[n])
@@ -903,7 +903,7 @@ def make_latex_table():
print_insts('lb', 'lh', 'lw', 'lbu', 'lhu', 'sb', 'sh', 'sw')
print_insts('addi', 'slti', 'sltiu', 'xori', 'ori', 'andi', 'slli.rv32', 'srli.rv32', 'srai.rv32')
print_insts('add', 'sub', 'sll', 'slt', 'sltu', 'xor', 'srl', 'sra', 'or', 'and')
- print_insts('fence')
+ print_insts('fence', 'fence.tso', 'pause')
print_insts('ecall', 'ebreak')
print_footer()