diff options
author | David S. Miller <davem@davemloft.net> | 2012-06-27 01:25:23 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-06-27 01:25:23 -0700 |
commit | 6f1d827f299085a48cb3a987e1487e16f1a980c9 (patch) | |
tree | 4cebffe75d98ae2f2672308eb2c4ab6acabd8ee4 /arch/sparc/lib/U1memcpy.S | |
parent | d1346a6cbabf6d377d753f1adc16cb0b305830cc (diff) | |
download | lwn-6f1d827f299085a48cb3a987e1487e16f1a980c9.tar.gz lwn-6f1d827f299085a48cb3a987e1487e16f1a980c9.zip |
sparc64: Consistently use fsrc2 rather than fmovd in optimized asm.
Because fsrc2, unlike fmovd, does not update the %fsr register.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/lib/U1memcpy.S')
-rw-r--r-- | arch/sparc/lib/U1memcpy.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sparc/lib/U1memcpy.S b/arch/sparc/lib/U1memcpy.S index bafd2fc07acb..b67142b7768e 100644 --- a/arch/sparc/lib/U1memcpy.S +++ b/arch/sparc/lib/U1memcpy.S @@ -109,7 +109,7 @@ #define UNEVEN_VISCHUNK_LAST(dest, f0, f1, left) \ subcc %left, 8, %left; \ bl,pn %xcc, 95f; \ - fsrc1 %f0, %f1; + fsrc2 %f0, %f1; #define UNEVEN_VISCHUNK(dest, f0, f1, left) \ UNEVEN_VISCHUNK_LAST(dest, f0, f1, left) \ @@ -201,7 +201,7 @@ FUNC_NAME: /* %o0=dst, %o1=src, %o2=len */ andn %o1, (0x40 - 1), %o1 and %g2, 7, %g2 andncc %g3, 0x7, %g3 - fmovd %f0, %f2 + fsrc2 %f0, %f2 sub %g3, 0x8, %g3 sub %o2, %GLOBAL_SPARE, %o2 |