xref: /netbsd-src/lib/libm/arch/arm/s_fabsf.S (revision e443b7748e510b4379859f68f6534142246f439c)
1c31c561dSmatt/*-
2c31c561dSmatt * Copyright (c) 2013 The NetBSD Foundation, Inc.
3c31c561dSmatt * All rights reserved.
4c31c561dSmatt *
5c31c561dSmatt * This code is derived from software contributed to The NetBSD Foundation
6c31c561dSmatt * by Matt Thomas of 3am Software Foundry.
7c31c561dSmatt *
8c31c561dSmatt * Redistribution and use in source and binary forms, with or without
9c31c561dSmatt * modification, are permitted provided that the following conditions
10c31c561dSmatt * are met:
11c31c561dSmatt * 1. Redistributions of source code must retain the above copyright
12c31c561dSmatt *    notice, this list of conditions and the following disclaimer.
13c31c561dSmatt * 2. Redistributions in binary form must reproduce the above copyright
14c31c561dSmatt *    notice, this list of conditions and the following disclaimer in the
15c31c561dSmatt *    documentation and/or other materials provided with the distribution.
16c31c561dSmatt *
17c31c561dSmatt * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
18c31c561dSmatt * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
19c31c561dSmatt * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
20c31c561dSmatt * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
21c31c561dSmatt * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22c31c561dSmatt * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23c31c561dSmatt * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24c31c561dSmatt * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25c31c561dSmatt * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26c31c561dSmatt * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27c31c561dSmatt * POSSIBILITY OF SUCH DAMAGE.
28c31c561dSmatt */
29c31c561dSmatt
30c31c561dSmatt#include <arm/asm.h>
31c31c561dSmatt
32*e443b774SmattRCSID("$NetBSD: s_fabsf.S,v 1.2 2013/02/14 09:27:26 matt Exp $")
33c31c561dSmatt
34c31c561dSmattENTRY(fabsf)
35c31c561dSmatt	vabs.f32	s0, s0
36c31c561dSmatt	RET
37c31c561dSmattEND(fabsf)
38