Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2183)

Unified Diff: build/config/mips.gni

Issue 2150943003: Add MIPS SIMD Arch (MSA) build flags for GYP/GN builds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Modified AUTHORs list to pass chromium_presubmit trybot Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/mips.gni
diff --git a/build/config/mips.gni b/build/config/mips.gni
index c25b2679d2903df1e643ecddeb4e2e60ded80ba5..646a55ba72208216251647e7c07557acb6ad7b80 100644
--- a/build/config/mips.gni
+++ b/build/config/mips.gni
@@ -22,6 +22,9 @@ if (current_cpu == "mipsel" || v8_current_cpu == "mipsel") {
# 2: revision 2
mips_dsp_rev = 0
+ # MIPS SIMD Arch compilation flag.
+ mips_use_msa = true
+
# MIPS floating-point ABI. Possible values are:
# "hard": sets the GCC -mhard-float option.
# "soft": sets the GCC -msoft-float option.
@@ -40,6 +43,9 @@ if (current_cpu == "mipsel" || v8_current_cpu == "mipsel") {
if (current_os == "android" || target_os == "android") {
declare_args() {
mips_arch_variant = "r6"
+
+ # MIPS SIMD Arch compilation flag.
+ mips_use_msa = true
}
} else {
declare_args() {
« no previous file with comments | « build/config/compiler/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698