1 //===-- saveFP.S - Implement saveFP ---------------------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is dual licensed under the MIT and the University of Illinois Open
6 // Source Licenses. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #include "../assembly.h"
13 // Helper function used by compiler to save ppc floating point registers in
14 // function prologs. This routines also saves r0 in the LR slot.
15 // If the compiler wants to save f27..f31, it does a "bl saveFP+52"
17 // This function should never be exported by a shared library. Each linkage
18 // unit carries its own copy of this function.
20 DEFINE_COMPILERRT_PRIVATE_FUNCTION_UNMANGLED(saveFP)