| OLD | NEW |
| 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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__) | 167 #if defined(__ARM_ARCH_7S__) |
| 168 #define WTF_CPU_APPLE_ARMV7S 1 | 168 #define WTF_CPU_APPLE_ARMV7S 1 |
| 169 #endif | 169 #endif |
| 170 | 170 |
| 171 #if !defined(WTF_CPU_64BIT) | |
| 172 #define WTF_CPU_32BIT 1 | |
| 173 #endif | |
| 174 | |
| 175 #endif /* ARM */ | 171 #endif /* ARM */ |
| 176 | 172 |
| 177 /* CPU(ARM64) - AArch64 64-bit */ | 173 /* CPU(ARM64) - AArch64 64-bit */ |
| 178 #if defined(__aarch64__) | 174 #if defined(__aarch64__) |
| 179 #define WTF_CPU_ARM64 1 | 175 #define WTF_CPU_ARM64 1 |
| 180 #define WTF_CPU_64BIT 1 | 176 #define WTF_CPU_64BIT 1 |
| 181 #endif | 177 #endif |
| 182 | 178 |
| 183 /* This defines CPU(64BIT). */ | 179 /* This defines CPU(64BIT). */ |
| 184 #if defined(__mips__) && (_MIPS_SIM == _ABI64) | 180 #if defined(__mips__) && (_MIPS_SIM == _ABI64) |
| 185 #define WTF_CPU_64BIT 1 | 181 #define WTF_CPU_64BIT 1 |
| 186 #endif | 182 #endif |
| 187 | 183 |
| 184 #if !defined(WTF_CPU_64BIT) |
| 185 #define WTF_CPU_32BIT 1 |
| 186 #endif |
| 187 |
| 188 #endif /* WTF_CPU_h */ | 188 #endif /* WTF_CPU_h */ |
| OLD | NEW |