OLD | NEW |
1 // Copyright 2010 the V8 project authors. All rights reserved. | 1 // Copyright 2010 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 | 152 |
153 // Include our platform specific implementation. | 153 // Include our platform specific implementation. |
154 #if defined(THREAD_SANITIZER) | 154 #if defined(THREAD_SANITIZER) |
155 #include "atomicops_internals_tsan.h" | 155 #include "atomicops_internals_tsan.h" |
156 #elif defined(_MSC_VER) && (V8_HOST_ARCH_IA32 || V8_HOST_ARCH_X64) | 156 #elif defined(_MSC_VER) && (V8_HOST_ARCH_IA32 || V8_HOST_ARCH_X64) |
157 #include "atomicops_internals_x86_msvc.h" | 157 #include "atomicops_internals_x86_msvc.h" |
158 #elif defined(__APPLE__) && (V8_HOST_ARCH_IA32 || V8_HOST_ARCH_X64) | 158 #elif defined(__APPLE__) && (V8_HOST_ARCH_IA32 || V8_HOST_ARCH_X64) |
159 #include "atomicops_internals_x86_macosx.h" | 159 #include "atomicops_internals_x86_macosx.h" |
160 #elif defined(__GNUC__) && (V8_HOST_ARCH_IA32 || V8_HOST_ARCH_X64) | 160 #elif defined(__GNUC__) && (V8_HOST_ARCH_IA32 || V8_HOST_ARCH_X64) |
161 #include "atomicops_internals_x86_gcc.h" | 161 #include "atomicops_internals_x86_gcc.h" |
| 162 #elif defined(__GNUC__) && V8_HOST_ARCH_A64 |
| 163 #include "atomicops_internals_a64_gcc.h" |
162 #elif defined(__GNUC__) && V8_HOST_ARCH_ARM | 164 #elif defined(__GNUC__) && V8_HOST_ARCH_ARM |
163 #include "atomicops_internals_arm_gcc.h" | 165 #include "atomicops_internals_arm_gcc.h" |
164 #elif defined(__GNUC__) && V8_HOST_ARCH_MIPS | 166 #elif defined(__GNUC__) && V8_HOST_ARCH_MIPS |
165 #include "atomicops_internals_mips_gcc.h" | 167 #include "atomicops_internals_mips_gcc.h" |
166 #else | 168 #else |
167 #error "Atomic operations are not supported on your platform" | 169 #error "Atomic operations are not supported on your platform" |
168 #endif | 170 #endif |
169 | 171 |
170 #endif // V8_ATOMICOPS_H_ | 172 #endif // V8_ATOMICOPS_H_ |
OLD | NEW |