From 7d1a0e3153c37cd180be9e95f331f32c225d9257 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Mon, 5 Apr 2021 18:50:13 -0700 Subject: Add fence.tso and pause instructions --- parse_opcodes | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'parse_opcodes') 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() -- cgit v1.1