summaryrefslogtreecommitdiffstats
path: root/lib/libc/i386/stdlib
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-06-22 10:56:08 +0000
committered <ed@FreeBSD.org>2009-06-22 10:56:08 +0000
commit0b01d8c2101aa4512c45bd77f2c3fee5137b4595 (patch)
tree27e79f40cfc8fa3fa61c66657a4afbcd141f7f82 /lib/libc/i386/stdlib
parentc5ae8d95f2d5f87be0576a3e8c87ff0ea6f5c214 (diff)
downloadFreeBSD-src-0b01d8c2101aa4512c45bd77f2c3fee5137b4595.zip
FreeBSD-src-0b01d8c2101aa4512c45bd77f2c3fee5137b4595.tar.gz
Remove unneeded stores back into the function arguments.
Submitted by: Christoph Mallon
Diffstat (limited to 'lib/libc/i386/stdlib')
-rw-r--r--lib/libc/i386/stdlib/div.S2
-rw-r--r--lib/libc/i386/stdlib/ldiv.S2
2 files changed, 0 insertions, 4 deletions
diff --git a/lib/libc/i386/stdlib/div.S b/lib/libc/i386/stdlib/div.S
index dcc9eb0..42e7ef4 100644
--- a/lib/libc/i386/stdlib/div.S
+++ b/lib/libc/i386/stdlib/div.S
@@ -33,7 +33,5 @@ ENTRY(div)
movl 8(%esp),%ecx
cdq
idiv %ecx
- movl %eax,4(%esp)
- movl %edx,8(%esp)
ret
END(div)
diff --git a/lib/libc/i386/stdlib/ldiv.S b/lib/libc/i386/stdlib/ldiv.S
index a787714..b0455bf 100644
--- a/lib/libc/i386/stdlib/ldiv.S
+++ b/lib/libc/i386/stdlib/ldiv.S
@@ -36,7 +36,5 @@ ENTRY(ldiv)
movl 8(%esp),%ecx
cdq
idiv %ecx
- movl %eax,4(%esp)
- movl %edx,8(%esp)
ret
END(ldiv)
OpenPOWER on IntegriCloud