Deleted Added
full compact
aeabi_vfp.h (263239) aeabi_vfp.h (266314)
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 263239 2014-03-16 13:16:30Z andrew $
26 * $FreeBSD: stable/10/lib/libc/arm/aeabi/aeabi_vfp.h 266314 2014-05-17 14:22:37Z ian $
27 *
28 */
29
30#ifndef AEABI_VFP_H
31#define AEABI_VFP_H
32
33/*
34 * ASM helper macros. These allow the functions to be changed depending on

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

60#define LOAD_SREGS(vreg0, vreg1, reg0, reg1) vmov vreg0, vreg1, reg0, reg1
61#define LOAD_SREG(vreg, reg) vmov vreg, reg
62#define UNLOAD_SREG(reg, vreg) vmov reg, vreg
63
64/*
65 * C Helper macros
66 */
67
27 *
28 */
29
30#ifndef AEABI_VFP_H
31#define AEABI_VFP_H
32
33/*
34 * ASM helper macros. These allow the functions to be changed depending on

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

60#define LOAD_SREGS(vreg0, vreg1, reg0, reg1) vmov vreg0, vreg1, reg0, reg1
61#define LOAD_SREG(vreg, reg) vmov vreg, reg
62#define UNLOAD_SREG(reg, vreg) vmov reg, vreg
63
64/*
65 * C Helper macros
66 */
67
68#if 1 && defined(__FreeBSD_ARCH_armv6__) || (defined(__ARM_ARCH) && __ARM_ARCH >= 6)
68#if defined(__FreeBSD_ARCH_armv6__) || (defined(__ARM_ARCH) && __ARM_ARCH >= 6)
69/*
70 * Generate a function that will either call into the VFP implementation,
71 * or the soft float version for a given __aeabi_* helper. The function
72 * will take a single argument of the type given by in_type.
73 */
74#define AEABI_FUNC(name, in_type, soft_func) \
75__aeabi_ ## name(in_type a) \
76{ \

--- 53 unchanged lines hidden ---
69/*
70 * Generate a function that will either call into the VFP implementation,
71 * or the soft float version for a given __aeabi_* helper. The function
72 * will take a single argument of the type given by in_type.
73 */
74#define AEABI_FUNC(name, in_type, soft_func) \
75__aeabi_ ## name(in_type a) \
76{ \

--- 53 unchanged lines hidden ---