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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 */ |
OLD | NEW |