[x] Reduce multiple casts to a single one, if possible. Due to the many nested macros there are regularly patterns like ((ut8)(ut32)val). These duplicate down casts, can be reduced to a single one.
[x] Some arithmetic can be reduced to a single scalar value (0 * 16 and the like).
[x] SEQ of 1 can be reduced to their single effect.
[x] generate names in Pures an Effect classes to safe a parameter.
[x] Certain QEMU macros could be compiled on there own and used as sub-routines in the rzil code. This would reduce the line count of the il_ops files. Also it would become way way more readable. But this needs a working and tested implementation before.
Possible optimizations:
((ut8)(ut32)val)
. These duplicate down casts, can be reduced to a single one.0 * 16
and the like).SEQ
of 1 can be reduced to their single effect.il_ops
files. Also it would become way way more readable. But this needs a working and tested implementation before.UN()