Deleted Added
full compact
aeabi_vfp.h (297619) aeabi_vfp.h (297620)
1/*
2 * Copyright (C) 2013 Andrew Turner
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*
2 * Copyright (C) 2013 Andrew Turner
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $FreeBSD: head/lib/libc/arm/aeabi/aeabi_vfp.h 297619 2016-04-06 16:09:10Z andrew $
26 * $FreeBSD: head/lib/libc/arm/aeabi/aeabi_vfp.h 297620 2016-04-06 16:50:18Z andrew $
27 *
28 */
29
30#ifndef AEABI_VFP_H
31#define AEABI_VFP_H
32
33#include <machine/acle-compat.h>
34
35/*
36 * ASM helper macros. These allow the functions to be changed depending on
37 * the endian-ness we are building for.
38 */
39
40/* Allow the name of the function to be changed depending on the ABI */
41#ifndef __ARM_PCS_VFP
42#define AEABI_ENTRY(x) ENTRY(__aeabi_ ## x ## _vfp)
43#define AEABI_END(x) END(__aeabi_ ## x ## _vfp)
44#else
27 *
28 */
29
30#ifndef AEABI_VFP_H
31#define AEABI_VFP_H
32
33#include <machine/acle-compat.h>
34
35/*
36 * ASM helper macros. These allow the functions to be changed depending on
37 * the endian-ness we are building for.
38 */
39
40/* Allow the name of the function to be changed depending on the ABI */
41#ifndef __ARM_PCS_VFP
42#define AEABI_ENTRY(x) ENTRY(__aeabi_ ## x ## _vfp)
43#define AEABI_END(x) END(__aeabi_ ## x ## _vfp)
44#else
45#define AEABI_ENTRY(x) \
46 .set __fbsd_ ## x, __aeabi_ ## x; \
47 ENTRY(__aeabi_ ## x)
45#define AEABI_ENTRY(x) ENTRY(__aeabi_ ## x)
48#define AEABI_END(x) END(__aeabi_ ## x)
49#endif
50
51/*
52 * These should be used when a function either takes, or returns a floating
53 * point falue. They will load the data from an ARM to a VFP register(s),
54 * or from a VFP to an ARM register
55 */

--- 78 unchanged lines hidden ---
46#define AEABI_END(x) END(__aeabi_ ## x)
47#endif
48
49/*
50 * These should be used when a function either takes, or returns a floating
51 * point falue. They will load the data from an ARM to a VFP register(s),
52 * or from a VFP to an ARM register
53 */

--- 78 unchanged lines hidden ---