res.append((os.path.join(insns_dir, fname), insn))
return res
-cintpatterns = [ 'WRITE_RVC_RS1S', 'WRITE_RVC_RS2S', 'RVC_SP',
+cintpatterns = [ 'WRITE_RVC_RS1S', 'WRITE_RVC_RS2S',
'RVC_RS1', 'RVC_RS2', 'RVC_RS1S', 'RVC_RS2S',
- ]
+ 'RVC_SP']
cfloatpatterns = [ 'WRITE_RVC_FRS2S', 'RVC_FRS2', 'RVC_FRS2S']
intpatterns = ['WRITE_RD' , 'RS1', 'RS2', 'RS3']
floatpatterns = ['WRITE_FRD', 'FRS1', 'FRS2', 'FRS3']
allfloats = floatpatterns + cfloatpatterns
floatmask = (1<<len(allfloats)-1)
-allints = intpatterns + cintpatterns[3:]
+allints = intpatterns + cintpatterns[2:] # skip the WRITE_RVC_xx ones
skip = '#define USING_NOREGS\n' \
'#define REGS_PATTERN 0x0\n'