mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-07 18:04:46 +00:00
Bug 1782141 - Move SIMD/SSE files to mozglue r=iain
Differential Revision: https://phabricator.services.mozilla.com/D153264
This commit is contained in:
parent
908558a3ae
commit
a104274600
@ -99,12 +99,10 @@ EXPORTS.mozilla = [
|
||||
"SegmentedVector.h",
|
||||
"SHA1.h",
|
||||
"SharedLibrary.h",
|
||||
"SIMD.h",
|
||||
"SmallPointerArray.h",
|
||||
"Span.h",
|
||||
"SplayTree.h",
|
||||
"SPSCQueue.h",
|
||||
"SSE.h",
|
||||
"StaticAnalysisFunctions.h",
|
||||
"TaggedAnonymousMemory.h",
|
||||
"Tainting.h",
|
||||
@ -177,20 +175,12 @@ UNIFIED_SOURCES += [
|
||||
"Poison.cpp",
|
||||
"RandomNum.cpp",
|
||||
"SHA1.cpp",
|
||||
"SIMD.cpp",
|
||||
"TaggedAnonymousMemory.cpp",
|
||||
"UniquePtrExtensions.cpp",
|
||||
"Unused.cpp",
|
||||
"Utf8.cpp",
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"].startswith("x86"):
|
||||
SOURCES += [
|
||||
"SIMD_avx2.cpp",
|
||||
"SSE.cpp",
|
||||
]
|
||||
SOURCES["SIMD_avx2.cpp"].flags += ["-mavx2"]
|
||||
|
||||
if CONFIG["MOZ_BUILD_APP"] not in (
|
||||
"memory",
|
||||
"tools/update-programs",
|
||||
|
@ -17,7 +17,9 @@ EXPORTS.mozilla += [
|
||||
"PlatformMutex.h",
|
||||
"PlatformRWLock.h",
|
||||
"Printf.h",
|
||||
"SIMD.h",
|
||||
"Sprintf.h",
|
||||
"SSE.h",
|
||||
"StackWalk.h",
|
||||
"TimeStamp.h",
|
||||
"Uptime.h",
|
||||
@ -43,11 +45,19 @@ SOURCES += [
|
||||
"AwakeTimeStamp.cpp",
|
||||
"MmapFaultHandler.cpp",
|
||||
"Printf.cpp",
|
||||
"SIMD.cpp",
|
||||
"StackWalk.cpp",
|
||||
"TimeStamp.cpp",
|
||||
"Uptime.cpp",
|
||||
]
|
||||
|
||||
if CONFIG["CPU_ARCH"].startswith("x86"):
|
||||
SOURCES += [
|
||||
"SIMD_avx2.cpp",
|
||||
"SSE.cpp",
|
||||
]
|
||||
SOURCES["SIMD_avx2.cpp"].flags += ["-mavx2"]
|
||||
|
||||
OS_LIBS += CONFIG["REALTIME_LIBS"]
|
||||
|
||||
if CONFIG["OS_ARCH"] == "WINNT":
|
||||
|
Loading…
Reference in New Issue
Block a user