Minor optimization to sparc VIS3 floor() implementation.

* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
	movxtod instead of popping the value on the stack.
This commit is contained in:
David S. Miller 2012-05-08 11:17:07 -07:00
parent dee4a4e3d0
commit ee0db19075
2 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,8 @@
2012-05-08 David S. Miller <davem@davemloft.net>
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
movxtod instead of popping the value on the stack.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>

View File

@ -56,10 +56,9 @@ ENTRY (__floor_vis3)
fnegd ZERO, SIGN_BIT
stx %o2, [%sp + 72]
movxtod %o2, %f16
fabsd %f0, %f14
ldd [%sp + 72], %f16
fcmpd %fcc3, %f14, %f16
fmovduge %fcc3, ZERO, %f16