/* SPDX-License-Identifier: GPL-2.0-or-later */1/*2* Linux/PA-RISC Project (http://www.parisc-linux.org/)3*4* Floating-point emulation code5* Copyright (C) 2001 Hewlett-Packard (Paul Bame) <[email protected]>6*/78#ifndef _MACHINE_FPU_INCLUDED /* allows multiple inclusion */9#define _MACHINE_FPU_INCLUDED1011#define PA83_FPU_FLAG 0x0000000112#define PA89_FPU_FLAG 0x0000000213#define PA2_0_FPU_FLAG 0x000000101415#define TIMEX_EXTEN_FLAG 0x000000041617#define ROLEX_EXTEN_FLAG 0x0000000818#define COPR_FP 0x00000080 /* Floating point -- Coprocessor 0 */19#define SFU_MPY_DIVIDE 0x00008000 /* Multiply/Divide __ SFU 0 */2021#define EM_FPU_TYPE_OFFSET 2722223/* version of EMULATION software for COPR,0,0 instruction */24#define EMULATION_VERSION 42526/*27* The only way to differentiate between TIMEX and ROLEX (or PCX-S and PCX-T)28* is through the potential type field from the PDC_MODEL call.29* The following flags are used to assist this differentiation.30*/3132#define ROLEX_POTENTIAL_KEY_FLAGS PDC_MODEL_CPU_KEY_WORD_TO_IO33#define TIMEX_POTENTIAL_KEY_FLAGS (PDC_MODEL_CPU_KEY_QUAD_STORE | \34PDC_MODEL_CPU_KEY_RECIP_SQRT)3536#endif /* ! _MACHINE_FPU_INCLUDED */373839