From 7633c818eccb7c151c0780a32a10bec165ac875b Mon Sep 17 00:00:00 2001 From: George Steed Date: Wed, 10 Apr 2024 16:36:25 +0100 Subject: [PATCH] [AArch64] Remove pointless MOVI in ARGB1555ToARGBRow_NEON This function takes the alpha component from the loaded data rather than hard-coding it to 255, so initialising v3 to 255 is unused here. Change-Id: I668825e0eeb317d1365035ce3bb47f3d92081c6f Reviewed-on: https://chromium-review.googlesource.com/c/libyuv/libyuv/+/5594388 Reviewed-by: Frank Barchard --- source/row_neon64.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/source/row_neon64.cc b/source/row_neon64.cc index b2c8b61ce..41c386201 100644 --- a/source/row_neon64.cc +++ b/source/row_neon64.cc @@ -1896,7 +1896,6 @@ void ARGB1555ToARGBRow_NEON(const uint8_t* src_argb1555, uint8_t* dst_argb, int width) { asm volatile( - "movi v3.8b, #255 \n" // Alpha "1: \n" "ld1 {v0.16b}, [%0], #16 \n" // load 8 ARGB1555 pixels. "prfm pldl1keep, [%0, 448] \n"