Path: blob/main/contrib/llvm-project/compiler-rt/lib/orc/elfnix_tls.ppc64.S
39566 views
//===-- orc_rt_elfnix_tls.ppc64.s -------------------------------*- ASM -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// This file is a part of the ORC runtime support library.9//10//===----------------------------------------------------------------------===//1112// The content of this file is PowerPC64 only.13#if defined(__powerpc64__)1415.text16// TODO: add fast-path for repeat access.17// See https://github.com/llvm/llvm-project/issues/51162.18.global ___orc_rt_elfnix_tls_get_addr19___orc_rt_elfnix_tls_get_addr:20addis 2, 12, .TOC.-___orc_rt_elfnix_tls_get_addr@ha21addi 2, 2, .TOC.-___orc_rt_elfnix_tls_get_addr@l22mflr 023std 0, 16(1)24stdu 1, -32(1)25bl __orc_rt_elfnix_tls_get_addr_impl26nop27addi 1, 1, 3228ld 0, 16(1)29mtlr 030blr3132#endif333435