Deleted Added
full compact
vfp.h (266277) vfp.h (266341)
1/*
2 * Copyright (c) 2012 Mark Tinguely
3 *
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:

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

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

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

18 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25 * SUCH DAMAGE.
26 * $FreeBSD: stable/10/sys/arm/include/vfp.h 266277 2014-05-17 00:53:12Z ian $
26 * $FreeBSD: stable/10/sys/arm/include/vfp.h 266341 2014-05-17 19:37:04Z ian $
27 */
28
29
30#ifndef _MACHINE__VFP_H_
31#define _MACHINE__VFP_H_
32
33/* fpsid, fpscr, fpexc are defined in the newer gas */
34#define VFPSID cr0

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

87#define VFPSCR_UFC (0x00000008) /* underflow cumulative flag */
88#define VFPSCR_OFC (0x00000004) /* overflow cumulative flag */
89#define VFPSCR_DZC (0x00000002) /* division by zero flag */
90#define VFPSCR_IOC (0x00000001) /* invalid operation cumul */
91
92/* VFPEXC */
93#define VFPEXC_EX (0x80000000) /* exception v1 v2 */
94#define VFPEXC_EN (0x40000000) /* vfp enable */
27 */
28
29
30#ifndef _MACHINE__VFP_H_
31#define _MACHINE__VFP_H_
32
33/* fpsid, fpscr, fpexc are defined in the newer gas */
34#define VFPSID cr0

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

87#define VFPSCR_UFC (0x00000008) /* underflow cumulative flag */
88#define VFPSCR_OFC (0x00000004) /* overflow cumulative flag */
89#define VFPSCR_DZC (0x00000002) /* division by zero flag */
90#define VFPSCR_IOC (0x00000001) /* invalid operation cumul */
91
92/* VFPEXC */
93#define VFPEXC_EX (0x80000000) /* exception v1 v2 */
94#define VFPEXC_EN (0x40000000) /* vfp enable */
95#define VFPEXC_FP2V (0x10000000) /* FPINST2 valid */
96#define VFPEXC_INV (0x00000080) /* Input exception */
97#define VFPEXC_UFC (0x00000008) /* Underflow exception */
98#define VFPEXC_OFC (0x00000004) /* Overflow exception */
99#define VFPEXC_IOC (0x00000001) /* Invlaid operation */
95
96/* version 3 registers */
97/* VMVFR0 */
98#define VMVFR0_RM_OFF 28
99#define VMVFR0_RM_MASK (0xf0000000) /* VFP rounding modes */
100
101#define VMVFR0_SV_OFF 24
102#define VMVFR0_SV_MASK (0x0f000000) /* VFP short vector supp */

--- 33 unchanged lines hidden ---
100
101/* version 3 registers */
102/* VMVFR0 */
103#define VMVFR0_RM_OFF 28
104#define VMVFR0_RM_MASK (0xf0000000) /* VFP rounding modes */
105
106#define VMVFR0_SV_OFF 24
107#define VMVFR0_SV_MASK (0x0f000000) /* VFP short vector supp */

--- 33 unchanged lines hidden ---