[Mesa-dev] [PATCH 0/3] rtasm/translate_sse rework (v3)

Luca Barbieri luca at luca-barbieri.com
Fri Aug 13 06:47:55 PDT 2010


This is a new version of just the rtasm/translate_sse patches.

This version has the Win64 support built-in.

In addition, it follows Keith's idea to use constants instead of #ifs.

To achieve this, u_cpu_detect.h is enhanced so that architecture and
endianness are now compile time constants (and thus produce the same
code as #ifs after optimization), and the CPU ABI is now also available
to support Win64.

Luca Barbieri (3):
  u_cpu_detect: make arch and little_endian constants, add abi and
    x86-64
  rtasm: add minimal x86-64 support and new instructions (v2)
  translate_sse: major rewrite (v3)

 src/gallium/auxiliary/gallivm/lp_bld_pack.c       |    2 +-
 src/gallium/auxiliary/gallivm/lp_bld_sample_soa.c |    2 +-
 src/gallium/auxiliary/rtasm/rtasm_cpu.c           |    6 +-
 src/gallium/auxiliary/rtasm/rtasm_x86sse.c        |  455 ++++++++-
 src/gallium/auxiliary/rtasm/rtasm_x86sse.h        |   69 ++-
 src/gallium/auxiliary/translate/translate_sse.c   | 1162 ++++++++++++++++-----
 src/gallium/auxiliary/util/u_cpu_detect.c         |   19 +-
 src/gallium/auxiliary/util/u_cpu_detect.h         |   39 +-
 8 files changed, 1455 insertions(+), 299 deletions(-)



More information about the mesa-dev mailing list