mirror of
https://chromium.googlesource.com/libyuv/libyuv
synced 2025-12-06 16:56:55 +08:00
[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 <fbarchard@chromium.org>
This commit is contained in:
parent
6c70eb2819
commit
7633c818ec
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user