[Thanks Jeff and Richard for the reviews of the end_sequence series. This is the series that that one was written for.]
genemit has traditionally used open-coded gen_rtx_FOO sequences to build up the instruction pattern. This is now the source of quite a bit of bloat in the binary, and also a source of slow compile times. This series switches over to using a byte encoding of the rtx pattern instead. See the description of the final patch for details and performance measurements. Bootstrapped & regression-tested on aarch64-linux-gnu and x86_64-linux-gnu. Also tested using config-list.mk. OK to install? Richard Richard Sandiford (3): genemit: Remove support for string operands genemit: Avoid using gen_exp in output_add_clobbers genemit: Use a byte encoding to generate insns gcc/emit-rtl.cc | 292 ++++++++++++++++++++++++++++++++++++ gcc/genemit.cc | 373 +++++++++++++++++++--------------------------- gcc/gengenrtl.cc | 10 +- gcc/gensupport.cc | 10 -- gcc/gensupport.h | 1 - gcc/rtl.h | 42 +++++- 6 files changed, 493 insertions(+), 235 deletions(-) -- 2.43.0