1 //===-- call_apsr.S - Helpers for ARM EABI floating point tests -----------===//
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 // This file implements helpers for ARM EABI floating point tests for the
11 // compiler_rt library.
13 //===----------------------------------------------------------------------===//
15 #include "../../../../lib/builtins/assembly.h"
18 // __attribute__((pcs("aapcs")))
19 // int32_t call_apsr_d(double a, double b, void(*fn)(double, double)) {
24 DEFINE_COMPILERRT_PRIVATE_FUNCTION(call_apsr_d)
30 END_COMPILERRT_FUNCTION(call_apsr_d)
32 // __attribute__((pcs("aapcs")))
33 // int32_t call_apsr_f(float a, float b, void(*fn)(float, float)) {
38 DEFINE_COMPILERRT_PRIVATE_FUNCTION(call_apsr_f)
43 END_COMPILERRT_FUNCTION(call_apsr_f)