Commit f6b0d64ddc

David Senoner <seda18@rolmail.net>
2025-08-27 13:40:08
libc: remove c floorl implementaions forgotten in #24335
1 parent 9399fcd
Changed files (2)
lib
libc
musl
src
math
x32
x86_64
lib/libc/musl/src/math/x32/floorl.s
@@ -1,8 +1,5 @@
-.global floorl
-.type floorl,@function
-floorl:
-	fldt 8(%esp)
-1:	mov $0x7,%al
+/* zig patch: removed `floorl` in favor of using zig compiler_rt's implementations */
+
 1:	fstcw 8(%esp)
 	mov 9(%esp),%ah
 	mov %al,9(%esp)
lib/libc/musl/src/math/x86_64/floorl.s
@@ -1,8 +1,5 @@
-.global floorl
-.type floorl,@function
-floorl:
-	fldt 8(%rsp)
-1:	mov $0x7,%al
+/* zig patch: removed `floorl` in favor of using zig compiler_rt's implementations */
+
 1:	fstcw 8(%rsp)
 	mov 9(%rsp),%ah
 	mov %al,9(%rsp)