I->src[${src}] = src${src};
% endfor
% for mod in ops[opcode]["modifiers"]:
-% if mod[0:-1] not in SKIP and mod not in SKIP:
+% if not should_skip(mod):
I->${mod} = ${mod};
% endif
% endfor
modifier_signature(op) +
op["immediates"])
-print(Template(COPYRIGHT + TEMPLATE).render(ops = ir_instructions, modifiers = modifier_lists, signature = signature, arguments = arguments, src_count = src_count, typesize = typesize, SKIP = SKIP))
+print(Template(COPYRIGHT + TEMPLATE).render(ops = ir_instructions, modifiers =
+ modifier_lists, signature = signature, arguments = arguments, src_count =
+ src_count, typesize = typesize, should_skip = should_skip))