4 * Copyright IBM Corp. 2015
5 * Author(s): Hendrik Brueckner <brueckner@linux.vnet.ibm.com>
8 #ifndef _ASM_S390_FPU_TYPES_H
9 #define _ASM_S390_FPU_TYPES_H
11 #include <asm/sigcontext.h>
14 __u32 fpc; /* Floating-point control */
15 void *regs; /* Pointer to the current save area */
17 /* Floating-point register save area */
18 freg_t fprs[__NUM_FPRS];
19 /* Vector register save area */
20 __vector128 vxrs[__NUM_VXRS];
24 /* VX array structure for address operand constraints in inline assemblies */
25 struct vx_array { __vector128 _[__NUM_VXRS]; };
27 /* In-kernel FPU state structure */
32 freg_t fprs[__NUM_FPRS];
33 __vector128 vxrs[__NUM_VXRS];
37 #endif /* _ASM_S390_FPU_TYPES_H */