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

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: Created 4 years, 5 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
Index: build/config/mips.gni
diff --git a/build/config/mips.gni b/build/config/mips.gni
index c25b2679d2903df1e643ecddeb4e2e60ded80ba5..1f1a97baf86239881a8b0f4034b8f6a9af33a927 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"
Dirk Pranke 2016/07/15 18:59:59 it's mips_use_msa = true not mips_use_msa =
+
# 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"
Dirk Pranke 2016/07/15 18:59:59 same
}
} else {
declare_args() {

Powered by Google App Engine
This is Rietveld 408576698