From 8bdeded4ebf4081017b44789067172fd2d3a784c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 30 Sep 2018 05:12:49 +0100 Subject: [PATCH] add compressed-identifying patterns to id_regs.py also skip LUI (and C.LUI) as non-paralleliseable instructions --- id_regs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/id_regs.py b/id_regs.py index 0a99004..e897d63 100644 --- a/id_regs.py +++ b/id_regs.py @@ -56,7 +56,7 @@ skip = '#define USING_NOREGS\n' \ '#define REGS_PATTERN 0x0\n' def find_registers(fname): # HACK! macro-skipping csr* instructions too painful - if 'csr' in fname: + if 'csr' in fname or 'lui' in fname: return skip res = [] isintfloat = 0x0 + floatmask << len(allints) -- 2.30.2