brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1018 B · 8485479 Raw
34 lines · plain
1//===-- orc_rt_elfnix_tls.ppc64.s -------------------------------*- ASM -*-===//2//3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.4// See https://llvm.org/LICENSE.txt for license information.5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception6//7//===----------------------------------------------------------------------===//8//9// This file is a part of the ORC runtime support library.10//11//===----------------------------------------------------------------------===//12 13// The content of this file is PowerPC64 only.14#if defined(__powerpc64__)15 16  .text17  // TODO: add fast-path for repeat access.18  // See https://github.com/llvm/llvm-project/issues/51162.19  .global ___orc_rt_elfnix_tls_get_addr20___orc_rt_elfnix_tls_get_addr:21  addis 2, 12, .TOC.-___orc_rt_elfnix_tls_get_addr@ha22  addi 2, 2, .TOC.-___orc_rt_elfnix_tls_get_addr@l23  mflr 024  std 0, 16(1)25  stdu 1, -32(1)26  bl __orc_rt_elfnix_tls_get_addr_impl27  nop28  addi 1, 1, 3229  ld 0, 16(1)30  mtlr 031  blr32 33#endif34