This is the mail archive of the
mailing list for the GCC project.
[0/3] Allow optabs to be zero-initialised
- From: Richard Sandiford <rdsandiford at googlemail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 03 Jul 2010 18:29:39 +0100
- Subject: [0/3] Allow optabs to be zero-initialised
The global optab arrays require each insn_code field to be initialised
to CODE_FOR_nothing (a target-dependent value greater than any real
insn code). This series of three patches allows them to be initialised
to zero instead.
The series is a prerequisite for the upcoming "speed up target_reinit"
patches, but I think it's a good thing in its own right. It shaves
about 600K from the data section of cc1 (the exact value is target-
dependent) and cuts down the amount of run-time initialisation.
It also removes some preprocessor-conditional code.
Bootstrapped & regression-tested on x86_64-linux-gnu.