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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2013 Apple Inc. All rights reserved. 2 * Copyright (C) 2006, 2007, 2008, 2009, 2013 Apple Inc. All rights reserved.
3 * Copyright (C) 2007-2009 Torch Mobile, Inc. 3 * Copyright (C) 2007-2009 Torch Mobile, Inc.
4 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved. 4 * Copyright (C) 2010, 2011 Research In Motion Limited. All rights reserved.
5 * Copyright (C) 2013 Samsung Electronics. All rights reserved. 5 * Copyright (C) 2013 Samsung Electronics. All rights reserved.
6 * 6 *
7 * Redistribution and use in source and binary forms, with or without 7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions 8 * modification, are permitted provided that the following conditions
9 * are met: 9 * are met:
10 * 1. Redistributions of source code must retain the above copyright 10 * 1. Redistributions of source code must retain the above copyright
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 #endif 173 #endif
174 174
175 /* CPU(MIPS), CPU(MIPS64) */ 175 /* CPU(MIPS), CPU(MIPS64) */
176 #if defined(__mips__) && (__mips == 64) 176 #if defined(__mips__) && (__mips == 64)
177 #define WTF_CPU_MIPS64 1 177 #define WTF_CPU_MIPS64 1
178 #define WTF_CPU_64BIT 1 178 #define WTF_CPU_64BIT 1
179 #elif defined(__mips__) 179 #elif defined(__mips__)
180 #define WTF_CPU_MIPS 1 180 #define WTF_CPU_MIPS 1
181 #endif 181 #endif
182 182
183 #if defined(__mips_msa) && defined(__mips_isa_rev) && (__mips_isa_rev >= 5)
184 // All MSA intrinsics usage can be disabled by this macro.
185 #define HAVE_MIPS_MSA_INTRINSICS 1
186 #endif
187
183 #if !defined(WTF_CPU_64BIT) 188 #if !defined(WTF_CPU_64BIT)
184 #define WTF_CPU_32BIT 1 189 #define WTF_CPU_32BIT 1
185 #endif 190 #endif
186 191
187 #endif /* WTF_CPU_h */ 192 #endif /* WTF_CPU_h */
OLDNEW
« 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