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

Side by Side Diff: third_party/WebKit/Source/wtf/CPU.h

Issue 1666613002: Remove APPLE_ARMV7S-specific code from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/transforms/TransformationMatrix.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 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 157
158 #if defined(__ARM_NEON__) && !defined(WTF_CPU_ARM_NEON) 158 #if defined(__ARM_NEON__) && !defined(WTF_CPU_ARM_NEON)
159 #define WTF_CPU_ARM_NEON 1 159 #define WTF_CPU_ARM_NEON 1
160 #endif 160 #endif
161 161
162 #if CPU(ARM_NEON) && (!COMPILER(GCC) || GCC_VERSION_AT_LEAST(4, 7, 0)) 162 #if CPU(ARM_NEON) && (!COMPILER(GCC) || GCC_VERSION_AT_LEAST(4, 7, 0))
163 // All NEON intrinsics usage can be disabled by this macro. 163 // All NEON intrinsics usage can be disabled by this macro.
164 #define HAVE_ARM_NEON_INTRINSICS 1 164 #define HAVE_ARM_NEON_INTRINSICS 1
165 #endif 165 #endif
166 166
167 #if defined(__ARM_ARCH_7S__)
168 #define WTF_CPU_APPLE_ARMV7S 1
169 #endif
170
171 #endif /* ARM */ 167 #endif /* ARM */
172 168
173 /* CPU(ARM64) - AArch64 64-bit */ 169 /* CPU(ARM64) - AArch64 64-bit */
174 #if defined(__aarch64__) 170 #if defined(__aarch64__)
175 #define WTF_CPU_ARM64 1 171 #define WTF_CPU_ARM64 1
176 #define WTF_CPU_64BIT 1 172 #define WTF_CPU_64BIT 1
177 #endif 173 #endif
178 174
179 /* CPU(MIPS), CPU(MIPS64) */ 175 /* CPU(MIPS), CPU(MIPS64) */
180 #if defined(__mips__) && (__mips == 64) 176 #if defined(__mips__) && (__mips == 64)
181 #define WTF_CPU_MIPS64 1 177 #define WTF_CPU_MIPS64 1
182 #define WTF_CPU_64BIT 1 178 #define WTF_CPU_64BIT 1
183 #elif defined(__mips__) 179 #elif defined(__mips__)
184 #define WTF_CPU_MIPS 1 180 #define WTF_CPU_MIPS 1
185 #endif 181 #endif
186 182
187 #if !defined(WTF_CPU_64BIT) 183 #if !defined(WTF_CPU_64BIT)
188 #define WTF_CPU_32BIT 1 184 #define WTF_CPU_32BIT 1
189 #endif 185 #endif
190 186
191 #endif /* WTF_CPU_h */ 187 #endif /* WTF_CPU_h */
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/platform/transforms/TransformationMatrix.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698