diff options
author | Matt Turner <[email protected]> | 2013-11-04 12:02:24 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-11-07 13:18:03 -0800 |
commit | 6f2e81ce4cc4a03d22e2670191651bfa9bdb0d0c (patch) | |
tree | 521f07cbb0e8d579b5e8c031b844f5ab1b9a3620 /src/mesa/Makefile.am | |
parent | d41084a63d3071d1ca3327175d94314fccb82792 (diff) |
mesa: Add a streaming load memcpy implementation.
Uses SSE 4.1's MOVNTDQA instruction (streaming load) to read from
uncached memory without polluting the cache.
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa/Makefile.am')
-rw-r--r-- | src/mesa/Makefile.am | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am index 4387415facf..a60600e0364 100644 --- a/src/mesa/Makefile.am +++ b/src/mesa/Makefile.am @@ -81,7 +81,7 @@ main/get_hash.h: $(GLAPI)/gl_and_es_API.xml main/get_hash_params.py \ -f $< > [email protected]; \ mv [email protected] $@; -noinst_LTLIBRARIES = +noinst_LTLIBRARIES = $(ARCH_LIBS) if NEED_LIBMESA noinst_LTLIBRARIES += libmesa.la else @@ -103,6 +103,8 @@ noinst_PROGRAMS = gen_matypes gen_matypes_SOURCES = x86/gen_matypes.c BUILT_SOURCES += matypes.h +ARCH_LIBS = libmesa_sse41.la + if HAVE_X86_64_ASM MESA_ASM_FILES_FOR_ARCH += $(X86_64_FILES) AM_CPPFLAGS += -I$(builddir)/x86-64 -I$(srcdir)/x86-64 @@ -123,6 +125,7 @@ libmesa_la_SOURCES = \ libmesa_la_LIBADD = \ $(top_builddir)/src/glsl/libglsl.la \ + $(ARCH_LIBS) \ $() libmesagallium_la_SOURCES = \ @@ -132,8 +135,13 @@ libmesagallium_la_SOURCES = \ libmesagallium_la_LIBADD = \ $(top_builddir)/src/glsl/libglsl.la \ + $(ARCH_LIBS) \ $() +libmesa_sse41_la_SOURCES = \ + main/streaming-load-memcpy.c +libmesa_sse41_la_CFLAGS = $(AM_CFLAGS) -msse4.1 + pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = gl.pc |