summaryrefslogtreecommitdiffstats
path: root/lib/msun
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2005-03-07 04:53:11 +0000
committerdas <das@FreeBSD.org>2005-03-07 04:53:11 +0000
commit69b60bd9759c1d3012a70f223379256c57bcd47d (patch)
treea7941724c507a2f139ef901eafbf4225924bea4b /lib/msun
parent4a2bef4123e84b6e0f90c2e704a3f48daf53ae17 (diff)
downloadFreeBSD-src-69b60bd9759c1d3012a70f223379256c57bcd47d.zip
FreeBSD-src-69b60bd9759c1d3012a70f223379256c57bcd47d.tar.gz
Add an assembly version of fmal.
Diffstat (limited to 'lib/msun')
-rw-r--r--lib/msun/ia64/s_fmal.S34
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/msun/ia64/s_fmal.S b/lib/msun/ia64/s_fmal.S
new file mode 100644
index 0000000..c24a1de
--- /dev/null
+++ b/lib/msun/ia64/s_fmal.S
@@ -0,0 +1,34 @@
+/*-
+ * Copyright (c) 2005 David Schultz <das@FreeBSD.ORG>
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions
+ * are met:
+ * 1. Redistributions of source code must retain the above copyright
+ * notice, this list of conditions and the following disclaimer.
+ * 2. Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ *
+ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+ * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+ * SUCH DAMAGE.
+ */
+
+#include <machine/asm.h>
+__FBSDID("$FreeBSD$")
+
+ENTRY(fmal, 3)
+{
+ fma f8 = f8, f9, f10
+ br.ret.sptk b0
+}
OpenPOWER on IntegriCloud