v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
cpu-ppc.cc
Go to the documentation of this file.
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
3
// found in the LICENSE file.
4
5
// CPU specific code for ppc independent of OS goes here.
6
7
#if V8_TARGET_ARCH_PPC64
8
9
#include "
src/codegen/cpu-features.h
"
10
11
namespace
v8
{
12
namespace
internal
{
13
14
void
CpuFeatures::FlushICache
(
void
* buffer,
size_t
size) {
15
#if !defined(USE_SIMULATOR)
16
__asm__ __volatile__(
17
"sync \n"
18
"icbi 0, %0 \n"
19
"isync \n"
20
:
/* no output */
21
:
"r"
(buffer)
22
:
"memory"
);
23
#endif
// !USE_SIMULATOR
24
}
25
}
// namespace internal
26
}
// namespace v8
27
28
#endif
// V8_TARGET_ARCH_PPC64
v8::internal::CpuFeatures::FlushICache
static void FlushICache(void *start, size_t size)
Definition
cpu-riscv.cc:15
cpu-features.h
v8::internal::internal
internal
Definition
wasm-objects-inl.h:458
v8
Definition
api-arguments-inl.h:19
src
codegen
ppc
cpu-ppc.cc
Generated on Sun Apr 6 2025 21:08:50 for v8 by
1.12.0