mirror of
https://github.com/Alex313031/thorium.git
synced 2025-01-10 11:57:48 -03:00
Add FMA to windows builds.
This commit is contained in:
parent
bd3da080ca
commit
190eb87993
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2013 The Chromium Authors. All rights reserved.
|
||||
# Copyright (c) 2021 The Chromium Authors and Alex313031. All rights reserved.
|
||||
# Use of this source code is governed by a BSD-style license that can be
|
||||
# found in the LICENSE file.
|
||||
|
||||
|
@ -110,7 +110,7 @@ config("compiler") {
|
|||
# microarchitecture. MSVC only supports a subset of architectures, and the
|
||||
# next step after SSE2 will be AVX.
|
||||
if (current_cpu == "x86" || current_cpu == "x64") {
|
||||
cflags += [ "-mavx" ]
|
||||
cflags += [ "-mavx", "-ffp-contract=fast", ]
|
||||
}
|
||||
|
||||
if (exec_script("//build/win/use_ansi_codes.py", [], "trim string") ==
|
||||
|
|
Loading…
Reference in a new issue