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

Unified Diff: docs/getting_started.md

Issue 2285683002: Add MIPS SIMD Arch (MSA) optimized MirrorRow function (Closed)
Patch Set: Changes as per review comments Created 4 years, 3 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: docs/getting_started.md
diff --git a/docs/getting_started.md b/docs/getting_started.md
index 939f08f02bcff370e85b884c6c2825a22442849f..6dd04784de5722d233acf5230b0f1cbbc3a3d2b0 100644
--- a/docs/getting_started.md
+++ b/docs/getting_started.md
@@ -160,7 +160,13 @@ ia32
mipsel
- GYP_DEFINES="OS=android target_arch=mipsel" GYP_CROSSCOMPILE=1 ./gyp_libyuv
+ GYP_DEFINES="OS=android target_arch=mipsel mips_msa=0" GYP_CROSSCOMPILE=1 ./gyp_libyuv
+ ninja -j7 -C out/Debug yuv_unittest_apk
+ ninja -j7 -C out/Release yuv_unittest_apk
+
+mips64el
+
+ GYP_DEFINES="OS=android target_arch=mips64el mips_msa=0" GYP_CROSSCOMPILE=1 ./gyp_libyuv
fbarchard1 2016/09/14 01:48:04 good, but caveat that we're migrating from GYP to
manojkumar.bhosale 2016/09/14 12:45:29 OK. Reverting this change
ninja -j7 -C out/Debug yuv_unittest_apk
ninja -j7 -C out/Release yuv_unittest_apk
@@ -196,6 +202,17 @@ Running test with C code:
gn gen out/Official "--args=is_debug=false is_official_build=true is_chrome_branded=true"
ninja -C out/Official
+#### Building mips with GN
+
+mipsel
+ gn gen out/Default "--args=is_debug=false target_cpu=\"mipsel\" target_os = \"android\" mips_arch_variant = \"r6\" mips_use_msa = true is_component_build = true is_clang = false"
+ ninja -C out/Default
+
+mips64el
+ gn gen out/Default "--args=is_debug=false target_cpu=\"mips64el\" target_os = \"android\" mips_arch_variant = \"r6\" mips_use_msa = true is_component_build = true is_clang = false"
+ ninja -C out/Default
+
+
### Linux
GYP_DEFINES="target_arch=x64" ./gyp_libyuv

Powered by Google App Engine
This is Rietveld 408576698