The GCC specific target function attribute or pragma can be used to enable
architecture depended optimisation options (e.g. SSE) directly in source files
instead of specifing them on the compiler command line. This is useful when
linking files with different compiler options which happens when using LTO.

Marc Dietrich (2):
  Add target attribute check to configure
  Make architecture specific compiler flags conditional for vector
    optimizations

 configure.ac                          | 2 ++
 m4/ax_gcc_func_attribute.m4           | 9 +++++++++
 src/mesa/Makefile.am                  | 2 ++
 src/mesa/main/sse_minmax.c            | 1 +
 src/mesa/main/streaming-load-memcpy.c | 1 +
 5 files changed, 15 insertions(+)

-- 
2.2.1

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to