1289715Sglebius/*- 2289715Sglebius * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG> 3289715Sglebius * All rights reserved. 4289715Sglebius * 5289715Sglebius * Redistribution and use in source and binary forms, with or without 6289715Sglebius * modification, are permitted provided that the following conditions 7289715Sglebius * are met: 8289715Sglebius * 1. Redistributions of source code must retain the above copyright 9289715Sglebius * notice, this list of conditions and the following disclaimer. 10289715Sglebius * 2. Redistributions in binary form must reproduce the above copyright 11289715Sglebius * notice, this list of conditions and the following disclaimer in the 12289715Sglebius * documentation and/or other materials provided with the distribution. 13289715Sglebius * 14289715Sglebius * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15289715Sglebius * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16289715Sglebius * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17289715Sglebius * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18289715Sglebius * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19289715Sglebius * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20289715Sglebius * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21289715Sglebius * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22289715Sglebius * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23289715Sglebius * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24289715Sglebius * SUCH DAMAGE. 25289715Sglebius */ 26289715Sglebius 27289715Sglebius#include <machine/asm.h> 28289715Sglebius__FBSDID("$FreeBSD$"); 29293650Sglebius 30289715SglebiusENTRY(llrintl) 31289715Sglebius fldt 8(%rsp) 32289715Sglebius subq $8,%rsp 33289715Sglebius fistpll (%rsp) 34289715Sglebius popq %rax 35289715Sglebius ret 36289715Sglebius 37289715Sglebius .section .note.GNU-stack,"",%progbits 38289715Sglebius