Skip to content

Commit

Permalink
sse2 fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex313031 committed Aug 19, 2023
1 parent bce2b45 commit d038d08
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions other/SSE2/build/config/compiler/BUILD.gn
Expand Up @@ -960,6 +960,8 @@ config("compiler_cpu_abi") {
cflags += [
"-m64",
"-O3",
"-mmmx",
"-mfxsr",
"-msse2",
]
ldflags += [ "-m64", "-Wl,-O3", "-msse2", "-Wl,-mllvm,-import-instr-limit=30", "-Wl,-mllvm,-import-hot-multiplier=15", "-Wl,-mllvm,-import-cold-multiplier=4", ]
Expand Down
4 changes: 4 additions & 0 deletions other/SSE2/build/config/win/BUILD.gn
Expand Up @@ -133,8 +133,12 @@ config("compiler") {
if (current_cpu == "x86" || current_cpu == "x64") {
cflags += [
"/O2",
"-mmmx",
"-mfxsr",
"-msse2",
"/clang:-O3",
"/clang:-mmmx",
"/clang:-mfxsr",
"/clang:-msse2",
"-Xclang", "-O3",
"-Wno-unused-command-line-argument",
Expand Down

0 comments on commit d038d08

Please sign in to comment.