/*1* Linux/PA-RISC Project (http://www.parisc-linux.org/)2*3* Floating-point emulation code4* Copyright (C) 2001 Hewlett-Packard (Paul Bame) <[email protected]>5*6* This program is free software; you can redistribute it and/or modify7* it under the terms of the GNU General Public License as published by8* the Free Software Foundation; either version 2, or (at your option)9* any later version.10*11* This program is distributed in the hope that it will be useful,12* but WITHOUT ANY WARRANTY; without even the implied warranty of13* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the14* GNU General Public License for more details.15*16* You should have received a copy of the GNU General Public License17* along with this program; if not, write to the Free Software18* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA19*/20/*21* BEGIN_DESC22*23* File:24* @(#) pa/fp/fpu.h $Revision: 1.1 $25*26* Purpose:27* <<please update with a synopis of the functionality provided by this file>>28*29*30* END_DESC31*/3233#ifdef __NO_PA_HDRS34PA header file -- do not include this header file for non-PA builds.35#endif363738#ifndef _MACHINE_FPU_INCLUDED /* allows multiple inclusion */39#define _MACHINE_FPU_INCLUDED4041#if 042#ifndef _SYS_STDSYMS_INCLUDED43# include <sys/stdsyms.h>44#endif /* _SYS_STDSYMS_INCLUDED */45#include <machine/pdc/pdc_rqsts.h>46#endif4748#define PA83_FPU_FLAG 0x0000000149#define PA89_FPU_FLAG 0x0000000250#define PA2_0_FPU_FLAG 0x000000105152#define TIMEX_EXTEN_FLAG 0x000000045354#define ROLEX_EXTEN_FLAG 0x0000000855#define COPR_FP 0x00000080 /* Floating point -- Coprocessor 0 */56#define SFU_MPY_DIVIDE 0x00008000 /* Multiply/Divide __ SFU 0 */575859#define EM_FPU_TYPE_OFFSET 2726061/* version of EMULATION software for COPR,0,0 instruction */62#define EMULATION_VERSION 46364/*65* The only was to differeniate between TIMEX and ROLEX (or PCX-S and PCX-T)66* is thorough the potential type field from the PDC_MODEL call. The67* following flags are used at assist this differeniation.68*/6970#define ROLEX_POTENTIAL_KEY_FLAGS PDC_MODEL_CPU_KEY_WORD_TO_IO71#define TIMEX_POTENTIAL_KEY_FLAGS (PDC_MODEL_CPU_KEY_QUAD_STORE | \72PDC_MODEL_CPU_KEY_RECIP_SQRT)737475#endif /* ! _MACHINE_FPU_INCLUDED */767778