xref: /kernel/linux/linux-6.6/arch/m68k/include/asm/fpu.h
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/m68k/include/asm/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef __M68K_FPU_H
362306a36Sopenharmony_ci#define __M68K_FPU_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci/*
762306a36Sopenharmony_ci * MAX floating point unit state size (FSAVE/FRESTORE)
862306a36Sopenharmony_ci */
962306a36Sopenharmony_ci
1062306a36Sopenharmony_ci#if defined(CONFIG_M68020) || defined(CONFIG_M68030)
1162306a36Sopenharmony_ci#define FPSTATESIZE (216)
1262306a36Sopenharmony_ci#elif defined(CONFIG_M68040)
1362306a36Sopenharmony_ci#define FPSTATESIZE (96)
1462306a36Sopenharmony_ci#elif defined(CONFIG_M68KFPU_EMU)
1562306a36Sopenharmony_ci#define FPSTATESIZE (28)
1662306a36Sopenharmony_ci#elif defined(CONFIG_COLDFIRE) && defined(CONFIG_MMU)
1762306a36Sopenharmony_ci#define FPSTATESIZE (16)
1862306a36Sopenharmony_ci#elif defined(CONFIG_M68060)
1962306a36Sopenharmony_ci#define FPSTATESIZE (12)
2062306a36Sopenharmony_ci#else
2162306a36Sopenharmony_ci#define FPSTATESIZE (0)
2262306a36Sopenharmony_ci#endif
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ci#endif /* __M68K_FPU_H */
25

Indexes created Thu Nov 07 10:32:03 CST 2024