|
|
1.1 ! root 1: /*- ! 2: * Copyright (c) 1990 The Regents of the University of California. ! 3: * All rights reserved. ! 4: * ! 5: * This code is derived from software contributed to Berkeley by ! 6: * the Systems Programming Group of the University of Utah Computer ! 7: * Science Department. ! 8: * ! 9: * Redistribution and use in source and binary forms are permitted provided ! 10: * that: (1) source distributions retain this entire copyright notice and ! 11: * comment, and (2) distributions including binaries display the following ! 12: * acknowledgement: ``This product includes software developed by the ! 13: * University of California, Berkeley and its contributors'' in the ! 14: * documentation or other materials provided with the distribution and in ! 15: * all advertising materials mentioning features or use of this software. ! 16: * Neither the name of the University nor the names of its contributors may ! 17: * be used to endorse or promote products derived from this software without ! 18: * specific prior written permission. ! 19: * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED ! 20: * WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF ! 21: * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! 22: */ ! 23: ! 24: #if defined(LIBC_SCCS) && !defined(lint) ! 25: .asciz "@(#)cmpdf2.s 5.1 (Berkeley) 6/7/90" ! 26: #endif /* LIBC_SCCS and not lint */ ! 27: ! 28: #include "DEFS.h" ! 29: ! 30: /* double > double: 1 */ ! 31: /* double < double: -1 */ ! 32: /* double == double: 0 */ ! 33: ENTRY(__cmpdf2) ! 34: fmoved sp@(4),fp0 ! 35: fcmpd sp@(12),fp0 ! 36: fbgt Lagtb ! 37: fslt d0 ! 38: extbl d0 ! 39: rts ! 40: Lagtb: ! 41: moveq #1,d0 ! 42: rts
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.