diff options
author | David S. Miller <davem@davemloft.net> | 2012-08-28 23:55:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-08-28 23:55:19 -0400 |
commit | 45dfe237a865368929534ec75fe5f26c151c88d9 (patch) | |
tree | fc79f99fad778fbec978932f9bf7d08e9410102d /arch/sparc/crypto/sha1_asm.S | |
parent | 81658ad0d92306ceb271994b90cd49ffde10eeda (diff) |
sparc64: Use fsrc2 instead of fsrc1 in sparc64 hash crypto drivers.
On SPARC-T4 fsrc2 has 1 cycle of latency, whereas fsrc1 has 11 cycles.
True story.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/crypto/sha1_asm.S')
-rw-r--r-- | arch/sparc/crypto/sha1_asm.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/sparc/crypto/sha1_asm.S b/arch/sparc/crypto/sha1_asm.S index d2147eb054c1..3cd218ac631b 100644 --- a/arch/sparc/crypto/sha1_asm.S +++ b/arch/sparc/crypto/sha1_asm.S | |||
@@ -64,7 +64,7 @@ ENTRY(sha1_sparc64_transform) | |||
64 | .word 0x81b02820 | 64 | .word 0x81b02820 |
65 | 65 | ||
66 | subcc %o2, 1, %o2 | 66 | subcc %o2, 1, %o2 |
67 | fsrc1 %f26, %f10 | 67 | fsrc2 %f26, %f10 |
68 | bne,pt %xcc, 1b | 68 | bne,pt %xcc, 1b |
69 | add %o1, 0x40, %o1 | 69 | add %o1, 0x40, %o1 |
70 | 70 | ||