From 1452ba00836cca274719844100259606750d56b7 Mon Sep 17 00:00:00 2001 From: Brian Popow Date: Tue, 9 Nov 2021 16:40:55 +0100 Subject: [PATCH] Remove not needed GetLower --- src/ImageSharp/Formats/Webp/Lossy/LossyUtils.cs | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/ImageSharp/Formats/Webp/Lossy/LossyUtils.cs b/src/ImageSharp/Formats/Webp/Lossy/LossyUtils.cs index 4ef9c56947..ac3b1d3806 100644 --- a/src/ImageSharp/Formats/Webp/Lossy/LossyUtils.cs +++ b/src/ImageSharp/Formats/Webp/Lossy/LossyUtils.cs @@ -967,12 +967,11 @@ namespace SixLabors.ImageSharp.Formats.Webp.Lossy Vector128 e1 = Sse2.Add(d2, d3); Vector128 f0 = Sse2.Add(e0, e1); Vector128 hadd = Ssse3.HorizontalAdd(f0.AsInt16(), f0.AsInt16()); - Vector64 lower = hadd.GetLower(); - dc[3] = (uint)lower.GetElement(3); - dc[2] = (uint)lower.GetElement(2); - dc[1] = (uint)lower.GetElement(1); - dc[0] = (uint)lower.GetElement(0); + dc[3] = (uint)hadd.GetElement(3); + dc[2] = (uint)hadd.GetElement(2); + dc[1] = (uint)hadd.GetElement(1); + dc[0] = (uint)hadd.GetElement(0); } else #endif