/
githubmirror
/
node
Обзор
Документация
Войти
/
githubmirror
/
node
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
deps/v8/src/codegen/ppc/cpu-ppc.cc
28 строк
665 B
Michaël Zasso
deps: update V8 to 13.0.245.25
31 янв 2025, 14:45
Не верифицирован
31 янв 2025, 14:45
5edec0e
Код
Авторство
О чём код?
// Copyright 2014 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. // CPU specific code for ppc independent of OS goes here. #if V8_TARGET_ARCH_PPC64 #include "src/codegen/cpu-features.h" namespace v8 { namespace internal { void CpuFeatures::FlushICache(void* buffer, size_t size) { #if !defined(USE_SIMULATOR) __asm__ __volatile__( "sync \n" "icbi 0, %0 \n" "isync \n" : /* no output */ : "r"(buffer) : "memory"); #endif // !USE_SIMULATOR } } // namespace internal } // namespace v8 #endif // V8_TARGET_ARCH_PPC64