asm for scalbn family
[musl] / src / math / i386 / scalbnf.s
diff --git a/src/math/i386/scalbnf.s b/src/math/i386/scalbnf.s
new file mode 100644 (file)
index 0000000..40232b6
--- /dev/null
@@ -0,0 +1,20 @@
+.global ldexpf
+.type ldexpf,@function
+ldexpf:
+       nop
+
+.global scalblnf
+.type scalblnf,@function
+scalblnf:
+       nop
+
+.global scalbnf
+.type scalbnf,@function
+scalbnf:
+       fildl 8(%esp)
+       flds 4(%esp)
+       fscale
+       fstp %st(1)
+       fstps 4(%esp)
+       flds 4(%esp)
+       ret