1177768Sdas/* 2177768Sdas * Copyright (c) 1993,94 Winning Strategies, Inc. 3177768Sdas * All rights reserved. 4177768Sdas * 5177768Sdas * Redistribution and use in source and binary forms, with or without 6177768Sdas * modification, are permitted provided that the following conditions 7177768Sdas * are met: 8177768Sdas * 1. Redistributions of source code must retain the above copyright 9177768Sdas * notice, this list of conditions and the following disclaimer. 10177768Sdas * 2. Redistributions in binary form must reproduce the above copyright 11177768Sdas * notice, this list of conditions and the following disclaimer in the 12177768Sdas * documentation and/or other materials provided with the distribution. 13177768Sdas * 3. All advertising materials mentioning features or use of this software 14177768Sdas * must display the following acknowledgement: 15177768Sdas * This product includes software developed by Winning Strategies, Inc. 16177768Sdas * 4. The name of the author may not be used to endorse or promote products 17177768Sdas * derived from this software without specific prior written permission. 18177768Sdas * 19177768Sdas * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 20177768Sdas * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 21177768Sdas * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 22177768Sdas * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 23177768Sdas * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 24177768Sdas * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 25177768Sdas * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 26177768Sdas * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 27177768Sdas * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 28177768Sdas * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 29177768Sdas */ 30177768Sdas 31177768Sdas/* 32177768Sdas * Written by: 33177768Sdas * J.T. Conklin (jtc@wimsey.com), Winning Strategies, Inc. 34177768Sdas */ 35177768Sdas 36177768Sdas#include <machine/asm.h> 37177768Sdas 38177768Sdas__FBSDID("$FreeBSD: releng/11.0/lib/msun/i387/e_remainderl.S 217108 2011-01-07 16:13:12Z kib $") 39177768Sdas 40177768SdasENTRY(remainderl) 41177768Sdas fldt 16(%esp) 42177768Sdas fldt 4(%esp) 43177768Sdas1: fprem1 44177768Sdas fstsw %ax 45177768Sdas sahf 46177768Sdas jp 1b 47177768Sdas fstp %st(1) 48177768Sdas ret 49217108Skib 50217108Skib .section .note.GNU-stack,"",%progbits 51