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