mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-18 14:31:27 +00:00
X86JITInfo: [x86] Use X86CompilationCallback_SSE() along;
*not* Subtarget->hasSSE1() *but* __SSE__, the flag that LLVM libraries are compiled The callback calls internal LLVM JIT libraries. It may be built with -msse (or above). FIXME: JIT may use "host" instead of "generic" by default. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206240 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5a2d3f4c81
commit
88f353252d
@ -426,9 +426,8 @@ X86JITInfo::getLazyResolverFunction(JITCompilerFn F) {
|
||||
JITCompilerFunction = F;
|
||||
TsanIgnoreWritesEnd();
|
||||
|
||||
#if defined (X86_32_JIT) && !defined (_MSC_VER)
|
||||
if (Subtarget->hasSSE1())
|
||||
return X86CompilationCallback_SSE;
|
||||
#if defined (X86_32_JIT) && !defined (_MSC_VER) && defined(__SSE__)
|
||||
return X86CompilationCallback_SSE;
|
||||
#endif
|
||||
|
||||
return X86CompilationCallback;
|
||||
|
Loading…
x
Reference in New Issue
Block a user