1 //===-- saveFP.S - Implement saveFP ---------------------------------------===//
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-exception
7 //===----------------------------------------------------------------------===//
9 #include "../assembly.h"
12 // Helper function used by compiler to save ppc floating point registers in
13 // function prologs. This routines also saves r0 in the LR slot.
14 // If the compiler wants to save f27..f31, it does a "bl saveFP+52"
16 // This function should never be exported by a shared library. Each linkage
17 // unit carries its own copy of this function.
19 DEFINE_COMPILERRT_PRIVATE_FUNCTION_UNMANGLED(saveFP)
41 NO_EXEC_STACK_DIRECTIVE