/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ #ifndef _ASM_IA64_FPU_H #define _ASM_IA64_FPU_H /* * Copyright (C) 1998, 1999, 2002, 2003 Hewlett-Packard Co * David Mosberger-Tang <davidm@hpl.hp.com> */ #include <linux/types.h> /* floating point status register: */ #define FPSR_TRAP_VD (1 << 0) /* invalid op trap disabled */ #define FPSR_TRAP_DD (1 << 1) /* denormal trap disabled */ #define FPSR_TRAP_ZD (1 << 2) /* zero-divide trap disabled */ #define FPSR_TRAP_OD (1 << 3) /* overflow trap disabled */ #define FPSR_TRAP_UD (1 << 4) /* underflow trap disabled */ #define FPSR_TRAP_ID (1 << 5) /* inexact trap disabled */ #define FPSR_S0(x) ((x) << 6) #define FPSR_S1(x) ((x) << 19) #define FPSR_S2(x) (__IA64_UL(x) << 32) #define FPSR_S3(x) (__IA64_UL(x) << 45) /* floating-point status field controls: */ #define FPSF_FTZ (1 << 0) /* flush-to-zero */ #define FPSF_WRE (1 << 1) /* widest-range exponent */ #define FPSF_PC(x) (((x) & 0x3) << 2) /* precision control */ #define FPSF_RC(x) (((x) & 0x3) << 4) /* rounding control */ #define FPSF_TD (1 << 6) /* trap disabled */ /* floating-point status field flags: */ #define FPSF_V (1 << 7) /* invalid operation flag */ #define FPSF_D (1 << 8) /* denormal/unnormal operand flag */ #define FPSF_Z (1 << 9) /* zero divide (IEEE) flag */ #define FPSF_O (1 << 10) /* overflow (IEEE) flag */ #define FPSF_U (1 << 11) /* underflow (IEEE) flag */ #define FPSF_I (1 << 12) /* inexact (IEEE) flag) */ /* floating-point rounding control: */ #define FPRC_NEAREST 0x0 #define FPRC_NEGINF 0x1 #define FPRC_POSINF 0x2 #define FPRC_TRUNC 0x3 #define FPSF_DEFAULT (FPSF_PC (0x3) | FPSF_RC (FPRC_NEAREST)) /* This default value is the same as HP-UX uses. Don't change it without a very good reason. */ #define FPSR_DEFAULT (FPSR_TRAP_VD | FPSR_TRAP_DD | FPSR_TRAP_ZD \ | FPSR_TRAP_OD | FPSR_TRAP_UD | FPSR_TRAP_ID \ | FPSR_S0 (FPSF_DEFAULT) \ | FPSR_S1 (FPSF_DEFAULT | FPSF_TD | FPSF_WRE) \ | FPSR_S2 (FPSF_DEFAULT | FPSF_TD) \ | FPSR_S3 (FPSF_DEFAULT | FPSF_TD)) # ifndef __ASSEMBLY__ struct ia64_fpreg { union { unsigned long bits[2]; long double __dummy; /* force 16-byte alignment */ } u; }; # endif /* __ASSEMBLY__ */ #endif /* _ASM_IA64_FPU_H */
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Kbuild | File | 125 B | 0644 |
|
auxvec.h | File | 407 B | 0644 |
|
bitsperlong.h | File | 234 B | 0644 |
|
break.h | File | 538 B | 0644 |
|
byteorder.h | File | 203 B | 0644 |
|
cmpxchg.h | File | 4.11 KB | 0644 |
|
errno.h | File | 94 B | 0644 |
|
fcntl.h | File | 388 B | 0644 |
|
fpu.h | File | 2.22 KB | 0644 |
|
gcc_intrin.h | File | 18.07 KB | 0644 |
|
ia64regs.h | File | 2.81 KB | 0644 |
|
intel_intrin.h | File | 4.88 KB | 0644 |
|
intrinsics.h | File | 4.06 KB | 0644 |
|
ioctl.h | File | 94 B | 0644 |
|
ioctls.h | File | 183 B | 0644 |
|
ipcbuf.h | File | 95 B | 0644 |
|
mman.h | File | 388 B | 0644 |
|
msgbuf.h | File | 930 B | 0644 |
|
param.h | File | 670 B | 0644 |
|
perfmon.h | File | 6.2 KB | 0644 |
|
perfmon_default_smpl.h | File | 3.47 KB | 0644 |
|
poll.h | File | 93 B | 0644 |
|
posix_types.h | File | 268 B | 0644 |
|
ptrace.h | File | 8.1 KB | 0644 |
|
ptrace_offsets.h | File | 6.38 KB | 0644 |
|
resource.h | File | 215 B | 0644 |
|
rse.h | File | 1.71 KB | 0644 |
|
sembuf.h | File | 678 B | 0644 |
|
setup.h | File | 924 B | 0644 |
|
shmbuf.h | File | 1.09 KB | 0644 |
|
sigcontext.h | File | 3.07 KB | 0644 |
|
siginfo.h | File | 3.06 KB | 0644 |
|
signal.h | File | 3.32 KB | 0644 |
|
socket.h | File | 2.33 KB | 0644 |
|
sockios.h | File | 559 B | 0644 |
|
stat.h | File | 1.1 KB | 0644 |
|
statfs.h | File | 555 B | 0644 |
|
swab.h | File | 781 B | 0644 |
|
termbits.h | File | 4.75 KB | 0644 |
|
termios.h | File | 1.21 KB | 0644 |
|
types.h | File | 866 B | 0644 |
|
ucontext.h | File | 360 B | 0644 |
|
unistd.h | File | 9.85 KB | 0644 |
|
ustack.h | File | 296 B | 0644 |
|