diff options
author | Roland Scheidegger <sroland@vmware.com> | 2014-06-19 03:27:26 +0200 |
---|---|---|
committer | Emil Velikov <emil.l.velikov@gmail.com> | 2014-09-17 01:38:40 +0100 |
commit | c68183afef3ee29e56f6d0b5571ad6e79664247b (patch) | |
tree | 70745905cfcd367bfb3b3096b3be90c0cc7d019a /doxygen/doxy.bat | |
parent | ff935f267ea67933bbafb661f2b8257179435450 (diff) |
gallivm: set mcpu when initializing llvm execution engine
Previously llvm detected cpu features automatically when the execution engine
was created (based on host cpu). This is no longer the case, which meant llvm
was then not able to emit some of the intrinsics we used as we didn't specify
any sse attributes (only on avx supporting systems this was not a problem since
despite at least some llvm versions enabling it anyway we always set this
manually). So, instead of trying to figure out which MAttrs to set just set
MCPU.
This fixes https://bugs.freedesktop.org/show_bug.cgi?id=77493.
Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Tested-by: Vinson Lee <vlee@freedesktop.org>
(cherry picked from commit cad60420d5ea36a4b6fa2e6c91317f71423aa63e)
Conflicts:
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
Nominated-by: Laurent Carlier <lordheavym@gmail.com>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=83735
Diffstat (limited to 'doxygen/doxy.bat')
0 files changed, 0 insertions, 0 deletions