Linux 5.6.13
[linux/fpc-iii.git] / arch / m68k / include / asm / fpu.h
blobab12be88d75f426b753d3c7b97e1f57c8d562c5f
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __M68K_FPU_H
3 #define __M68K_FPU_H
6 /*
7 * MAX floating point unit state size (FSAVE/FRESTORE)
8 */
10 #if defined(CONFIG_M68020) || defined(CONFIG_M68030)
11 #define FPSTATESIZE (216)
12 #elif defined(CONFIG_M68040)
13 #define FPSTATESIZE (96)
14 #elif defined(CONFIG_M68KFPU_EMU)
15 #define FPSTATESIZE (28)
16 #elif defined(CONFIG_COLDFIRE) && defined(CONFIG_MMU)
17 #define FPSTATESIZE (16)
18 #elif defined(CONFIG_M68060)
19 #define FPSTATESIZE (12)
20 #else
21 #define FPSTATESIZE (0)
22 #endif
24 #endif /* __M68K_FPU_H */