summaryrefslogtreecommitdiffstats
path: root/arch/arm/crypto
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2019-01-27 10:16:54 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2019-02-01 14:45:52 +0800
commitc03f3cb40ba93a9f49fc44a71ddaa46f93f90a15 (patch)
treec2b9bf72e079c841222bd92e81e8056badad4aa1 /arch/arm/crypto
parentd72b9d4acd548251f55b16843fc7a05dc5c80de8 (diff)
downloadlinux-c03f3cb40ba93a9f49fc44a71ddaa46f93f90a15.tar.bz2
crypto: arm/crct10dif - remove dead code
Remove some code that is no longer called now that we make sure never to invoke the SIMD routine with less that 16 bytes of input. Reviewed-by: Eric Biggers <ebiggers@kernel.org> Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm/crypto')
-rw-r--r--arch/arm/crypto/crct10dif-ce-core.S13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/arm/crypto/crct10dif-ce-core.S b/arch/arm/crypto/crct10dif-ce-core.S
index 16019b5961e7..d058fad423c2 100644
--- a/arch/arm/crypto/crct10dif-ce-core.S
+++ b/arch/arm/crypto/crct10dif-ce-core.S
@@ -342,7 +342,6 @@ CPU_LE( vrev64.8 q7, q7 )
cmp arg3, #16
beq _128_done // exactly 16 left
- blt _less_than_16_left
// now if there is, load the constants
vldr d20, rk1
@@ -353,18 +352,6 @@ CPU_LE( vrev64.8 q7, q7 )
addlt arg3, arg3, #16
blt _get_last_two_regs
b _16B_reduction_loop
-
-_less_than_16_left:
- // shl r9, 4
- adr ip, tbl_shf_table + 16
- sub ip, ip, arg3
- vld1.8 {q0}, [ip]
- vmov.i8 q9, #0x80
- veor.8 q0, q0, q9
- vtbl.8 d18, {d14-d15}, d0
- vtbl.8 d15, {d14-d15}, d1
- vmov d14, d18
- b _128_done
ENDPROC(crc_t10dif_pmull)
// precomputed constants