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

Unified Diff: third_party/WebKit/Source/wtf/CPU.h

Issue 2289693002: Add MIPS SIMD Arch (MSA) optimized WebGL image conversion function (Closed)
Patch Set: Fixed merge conflicts 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
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/CPU.h
diff --git a/third_party/WebKit/Source/wtf/CPU.h b/third_party/WebKit/Source/wtf/CPU.h
index 7d28753032e5db8ba2e6068c76f8dc418949a90e..6f53c35671a50e5e6f8ddcfbc19e25f8e953a0d0 100644
--- a/third_party/WebKit/Source/wtf/CPU.h
+++ b/third_party/WebKit/Source/wtf/CPU.h
@@ -180,6 +180,11 @@
#define WTF_CPU_MIPS 1
#endif
+#if defined(__mips_msa) && defined(__mips_isa_rev) && (__mips_isa_rev >= 5)
+// All MSA intrinsics usage can be disabled by this macro.
+#define HAVE_MIPS_MSA_INTRINSICS 1
+#endif
+
#if !defined(WTF_CPU_64BIT)
#define WTF_CPU_32BIT 1
#endif
« no previous file with comments | « third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698