���� JFIF �� � ( %"1"%)+...383,7(-.-
![]() Server : Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/7.4.20 System : Linux st2.domain.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3 14:28:03 UTC 2020 x86_64 User : apache ( 48) PHP Version : 7.4.20 Disable Function : NONE Directory : /home/real/node-v13.0.1/deps/v8/src/codegen/ppc/ |
// 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_PPC #include "src/codegen/cpu-features.h" #define INSTR_AND_DATA_CACHE_COHERENCY LWSYNC namespace v8 { namespace internal { void CpuFeatures::FlushICache(void* buffer, size_t size) { #if !defined(USE_SIMULATOR) if (CpuFeatures::IsSupported(INSTR_AND_DATA_CACHE_COHERENCY)) { __asm__ __volatile__( "sync \n" "icbi 0, %0 \n" "isync \n" : /* no output */ : "r"(buffer) : "memory"); return; } const int kCacheLineSize = CpuFeatures::icache_line_size(); intptr_t mask = kCacheLineSize - 1; byte* start = reinterpret_cast<byte*>(reinterpret_cast<intptr_t>(buffer) & ~mask); byte* end = static_cast<byte*>(buffer) + size; for (byte* pointer = start; pointer < end; pointer += kCacheLineSize) { __asm__( "dcbf 0, %0 \n" "sync \n" "icbi 0, %0 \n" "isync \n" : /* no output */ : "r"(pointer)); } #endif // !USE_SIMULATOR } } // namespace internal } // namespace v8 #undef INSTR_AND_DATA_CACHE_COHERENCY #endif // V8_TARGET_ARCH_PPC