136829Sbostic/* 2*61181Sbostic * Copyright (c) 1986, 1993 3*61181Sbostic * The Regents of the University of California. All rights reserved. 436829Sbostic * 536829Sbostic * This code is derived from software contributed to Berkeley by 636829Sbostic * Computer Consoles Inc. 736829Sbostic * 842637Sbostic * %sccs.include.redist.c% 936829Sbostic */ 1029519Ssam 1136829Sbostic#if defined(SYSLIBC_SCCS) && !defined(lint) 12*61181Sbostic .asciz "@(#)sfp_exp.s 8.1 (Berkeley) 06/04/93" 1336829Sbostic#endif /* SYSLIBC_SCCS and not lint */ 1436829Sbostic 1529519Ssam#include <tahoemath/fp.h> 1629519Ssam#include "DEFS.h" 1729519Ssam 1829519Ssam/* 1929519Ssam * Reserved floating point operand. 2029519Ssam */ 2129519SsamASENTRY(sfpresop, 0) 2229519Ssam movl $0xaaaaaaaa,r0 2329519Ssam clrl r1 2429519Ssam ret 2529519Ssam 2629519Ssam/* 2729519Ssam * Floating point overflow. 2829519Ssam */ 2929519SsamASENTRY(sfpover, 0) 3029519Ssam movl $HUGE0,r0 3129519Ssam clrl r1 3229519Ssam ret 3329519Ssam 3429519Ssam/* 3529519Ssam * Floating point underflow. 3629519Ssam */ 3729519SsamASENTRY(sfpunder, 0) 3829519Ssam clrl r0 3929519Ssam clrl r1 4029519Ssam ret 4129519Ssam 4229519Ssam/* 4329519Ssam * Floating point division by zero. 4429519Ssam */ 4529519SsamASENTRY(sfpzdiv, 0) 4629519Ssam divl2 $0,r0 # force division by zero. 4729519Ssam ret 48