[Mesa-dev] [PATCH 0/5] tgsi: macro-ify the opcode info table

Nicolai Hähnle nhaehnle at gmail.com
Tue Aug 22 15:32:01 UTC 2017


Hi all,

The recent changes and required rebases reminded me that I had
this series lying around :)

Basically, I'd been annoyed by the format of the TGSI opcode info
table for a long time, because it really discourages extensibility.
This series cleans that up and then does some obvious micro-
optimizations that the refactoring makes feasible.

Please review!

Thanks,
Nicolai
--
 src/gallium/auxiliary/Makefile.sources       |   1 +
 src/gallium/auxiliary/gallivm/lp_bld_tgsi.c  |   2 +-
 .../auxiliary/gallivm/lp_bld_tgsi_aos.c      |   2 +-
 src/gallium/auxiliary/tgsi/tgsi_dump.c       |   2 +-
 src/gallium/auxiliary/tgsi/tgsi_info.c       | 277 ++---------------
 src/gallium/auxiliary/tgsi/tgsi_info.h       |   7 +-
 .../auxiliary/tgsi/tgsi_info_opcodes.h       | 251 +++++++++++++++
 src/gallium/auxiliary/tgsi/tgsi_sanity.c     |   6 +-
 src/gallium/auxiliary/tgsi/tgsi_text.c       |   5 +-
 9 files changed, 289 insertions(+), 264 deletions(-)



More information about the mesa-dev mailing list