OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // CPU specific code for ppc independent of OS goes here. | 5 // CPU specific code for ppc independent of OS goes here. |
6 #include "src/v8.h" | 6 #include "src/v8.h" |
7 | 7 |
8 #if V8_TARGET_ARCH_PPC | 8 #if V8_TARGET_ARCH_PPC |
9 | 9 |
10 #include "src/assembler.h" | 10 #include "src/assembler.h" |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 "dcbf 0, %0 \n" | 50 "dcbf 0, %0 \n" |
51 "sync \n" | 51 "sync \n" |
52 "icbi 0, %0 \n" | 52 "icbi 0, %0 \n" |
53 "isync \n" | 53 "isync \n" |
54 : /* no output */ | 54 : /* no output */ |
55 : "r"(pointer)); | 55 : "r"(pointer)); |
56 } | 56 } |
57 | 57 |
58 #endif // USE_SIMULATOR | 58 #endif // USE_SIMULATOR |
59 } | 59 } |
60 } | 60 } // namespace internal |
61 } // namespace v8::internal | 61 } // namespace v8 |
62 | 62 |
63 #endif // V8_TARGET_ARCH_PPC | 63 #endif // V8_TARGET_ARCH_PPC |
OLD | NEW |