Re: [PATCH] lib/raid6: arm: optimize away a mask operation in NEON recovery routine
From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2019-02-28 17:48:58
From: Catalin Marinas <catalin.marinas@arm.com>
Date: 2019-02-28 17:48:58
On Tue, Feb 26, 2019 at 12:36:18PM +0100, Ard Biesheuvel wrote:
The NEON recovery code was modeled after the x86 SIMD code, and for some reason, that code uses a 16 bit wide signed shift and a mask to perform what amounts to a 8 bit unsigned shift. So fold the ops together. Signed-off-by: Ard Biesheuvel <redacted> --- lib/raid6/recov_neon_inner.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
Queued for 5.1. Thanks. -- Catalin _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel