Deleted Added
full compact
ieeefp.h (143063) ieeefp.h (143658)
1/*-
2 * Copyright (c) 1990 Andrew Moore, Talke Studio
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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * from: @(#) ieeefp.h 1.0 (Berkeley) 9/23/93
1/*-
2 * Copyright (c) 1990 Andrew Moore, Talke Studio
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

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

26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 * SUCH DAMAGE.
32 *
33 * from: @(#) ieeefp.h 1.0 (Berkeley) 9/23/93
34 * $FreeBSD: head/sys/i386/include/ieeefp.h 143063 2005-03-02 21:33:29Z joerg $
34 * $FreeBSD: head/sys/i386/include/ieeefp.h 143658 2005-03-15 15:53:39Z das $
35 */
36
37/*
38 * IEEE floating point type and constant definitions.
39 */
40
41#ifndef _MACHINE_IEEEFP_H_
42#define _MACHINE_IEEEFP_H_

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

172 ((~__fpgetreg(FP_MSKS_REG) & FP_MSKS_FLD) >> FP_MSKS_OFF))
173#define fpsetmask(m) ((fp_except_t) \
174 (~__fpsetreg(~(m), FP_MSKS_REG, FP_MSKS_FLD, FP_MSKS_OFF)) & \
175 (FP_MSKS_FLD >> FP_MSKS_OFF))
176#define fpgetsticky() ((fp_except_t) \
177 ((__fpgetreg(FP_STKY_REG) & FP_STKY_FLD) >> FP_STKY_OFF))
178#define fpresetsticky(m) ((fp_except_t) \
179 __fpsetreg(0, FP_STKY_REG, (m), FP_STKY_OFF))
35 */
36
37/*
38 * IEEE floating point type and constant definitions.
39 */
40
41#ifndef _MACHINE_IEEEFP_H_
42#define _MACHINE_IEEEFP_H_

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

172 ((~__fpgetreg(FP_MSKS_REG) & FP_MSKS_FLD) >> FP_MSKS_OFF))
173#define fpsetmask(m) ((fp_except_t) \
174 (~__fpsetreg(~(m), FP_MSKS_REG, FP_MSKS_FLD, FP_MSKS_OFF)) & \
175 (FP_MSKS_FLD >> FP_MSKS_OFF))
176#define fpgetsticky() ((fp_except_t) \
177 ((__fpgetreg(FP_STKY_REG) & FP_STKY_FLD) >> FP_STKY_OFF))
178#define fpresetsticky(m) ((fp_except_t) \
179 __fpsetreg(0, FP_STKY_REG, (m), FP_STKY_OFF))
180#define fpsetsticky(m) fpresetsticky(m)
181
182/* Suppress prototypes in the MI header. */
183#define _IEEEFP_INLINED_ 1
184
185#endif /* !_MACHINE_IEEEFP_H_ */
180
181/* Suppress prototypes in the MI header. */
182#define _IEEEFP_INLINED_ 1
183
184#endif /* !_MACHINE_IEEEFP_H_ */