xref: /freebsd/lib/libc/aarch64/gen/fabs.S (revision fd5aaf2ea0178b03aa93c35245053247e5d3840c)
1e09e55dcSEd Maste/*-
2e09e55dcSEd Maste * Copyright (c) 2015 The FreeBSD Foundation
3e09e55dcSEd Maste *
4e09e55dcSEd Maste * Redistribution and use in source and binary forms, with or without
5e09e55dcSEd Maste * modification, are permitted provided that the following conditions
6e09e55dcSEd Maste * are met:
7e09e55dcSEd Maste * 1. Redistributions of source code must retain the above copyright
8e09e55dcSEd Maste *    notice, this list of conditions and the following disclaimer.
9e09e55dcSEd Maste * 2. Redistributions in binary form must reproduce the above copyright
10e09e55dcSEd Maste *    notice, this list of conditions and the following disclaimer in the
11e09e55dcSEd Maste *    documentation and/or other materials provided with the distribution.
12e09e55dcSEd Maste *
13e09e55dcSEd Maste * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
14e09e55dcSEd Maste * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15e09e55dcSEd Maste * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16e09e55dcSEd Maste * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
17e09e55dcSEd Maste * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18e09e55dcSEd Maste * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19e09e55dcSEd Maste * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20e09e55dcSEd Maste * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21e09e55dcSEd Maste * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22e09e55dcSEd Maste * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23e09e55dcSEd Maste * SUCH DAMAGE.
24e09e55dcSEd Maste */
25e09e55dcSEd Maste
26e09e55dcSEd Maste#include <machine/asm.h>
27*fd5aaf2eSAndrew Turner#include <sys/elf_common.h>
28*fd5aaf2eSAndrew Turner
29e09e55dcSEd MasteENTRY(fabs)
30e09e55dcSEd Maste	fabs d0, d0
31e09e55dcSEd Maste	ret
32e09e55dcSEd MasteEND(fabs)
33*fd5aaf2eSAndrew Turner
34*fd5aaf2eSAndrew TurnerGNU_PROPERTY_AARCH64_FEATURE_1_NOTE(GNU_PROPERTY_AARCH64_FEATURE_1_VAL)
35