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>
This commit is contained in:
@@ -64,7 +64,7 @@ ENTRY(sha1_sparc64_transform)
|
||||
.word 0x81b02820
|
||||
|
||||
subcc %o2, 1, %o2
|
||||
fsrc1 %f26, %f10
|
||||
fsrc2 %f26, %f10
|
||||
bne,pt %xcc, 1b
|
||||
add %o1, 0x40, %o1
|
||||
|
||||
|
Reference in New Issue
Block a user