1 //===-- call_apsr.S - Helpers for ARM EABI floating point tests -----------===//
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 // This file implements helpers for ARM EABI floating point tests for the
10 // compiler_rt library.
12 //===----------------------------------------------------------------------===//
14 #include "../../../../lib/builtins/assembly.h"
17 // __attribute__((pcs("aapcs")))
18 // int32_t call_apsr_d(double a, double b, void(*fn)(double, double)) {
23 DEFINE_COMPILERRT_PRIVATE_FUNCTION(call_apsr_d)
29 END_COMPILERRT_FUNCTION(call_apsr_d)
31 // __attribute__((pcs("aapcs")))
32 // int32_t call_apsr_f(float a, float b, void(*fn)(float, float)) {
37 DEFINE_COMPILERRT_PRIVATE_FUNCTION(call_apsr_f)
42 END_COMPILERRT_FUNCTION(call_apsr_f)