From 93830a4ba370d50a15b72d0d30b8ef7b055f78ae Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 1 Oct 2018 02:16:21 +0100 Subject: [PATCH] skip parallelisation of complex LR/SC operations --- id_regs.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/id_regs.py b/id_regs.py index 1812e4a..435b871 100644 --- a/id_regs.py +++ b/id_regs.py @@ -57,7 +57,8 @@ skip = '#define USING_NOREGS\n' \ def find_registers(fname): # HACK! macro-skipping of instructions too painful for notparallel in ['csr', 'lui', 'c_j', 'wfi', 'auipc', - 'dret', 'uret', 'mret', 'sret']: + 'dret', 'uret', 'mret', 'sret', + 'lr_d', 'lr_w', 'sc_d', 'sc_w']: if notparallel in fname: return skip res = [] -- 2.30.2