From 3997c3968b37d237daf67b6e3d2a35812fa1a7ca Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Date: Mon, 31 Mar 2025 15:18:01 +0200 Subject: [PATCH 02/12] postproc/postprocess: Remove unused b02 The line which appears to be using it was always commented out (since it has been added in 70c5ae870bf2ed776c82f8d8192e3c2db720b8e9). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> --- libpostproc/postprocess.c | 1 - libpostproc/postprocess_template.c | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/libpostproc/postprocess.c b/libpostproc/postprocess.c index 015bc9d501..fd74f5c72c 100644 --- a/libpostproc/postprocess.c +++ b/libpostproc/postprocess.c @@ -101,7 +101,6 @@ DECLARE_ASM_CONST(8, uint64_t, w04)= 0x0004000400040004LL; DECLARE_ASM_CONST(8, uint64_t, w20)= 0x0020002000200020LL; DECLARE_ASM_CONST(8, uint64_t, b00)= 0x0000000000000000LL; DECLARE_ASM_CONST(8, uint64_t, b01)= 0x0101010101010101LL; -DECLARE_ASM_CONST(8, uint64_t, b02)= 0x0202020202020202LL; DECLARE_ASM_CONST(8, uint64_t, b08)= 0x0808080808080808LL; DECLARE_ASM_CONST(8, uint64_t, b80)= 0x8080808080808080LL; #endif diff --git a/libpostproc/postprocess_template.c b/libpostproc/postprocess_template.c index d56b45d3b4..1fa4123896 100644 --- a/libpostproc/postprocess_template.c +++ b/libpostproc/postprocess_template.c @@ -980,7 +980,6 @@ FIND_MIN_MAX((%0, %1, 8)) PMINUB(t1, pplx, t0)\ "paddb " #sx ", " #ppsx " \n\t"\ "paddb " #psx ", " #ppsx " \n\t"\ - "#paddb "MANGLE(b02)", " #ppsx " \n\t"\ "pand "MANGLE(b08)", " #ppsx " \n\t"\ "pcmpeqb " #lx ", " #ppsx " \n\t"\ "pand " #ppsx ", " #pplx " \n\t"\ @@ -1018,7 +1017,7 @@ DERING_CORE((%0, %1, 8) ,(%%FF_REGd, %1, 4),%%mm2,%%mm4,%%mm0,%%mm3,%%mm5, "1: \n\t" : : "r" (src), "r" ((x86_reg)stride), "m" (c->pQPb), "m"(c->pQPb2), "q"(tmp) - NAMED_CONSTRAINTS_ADD(deringThreshold,b00,b02,b08) + NAMED_CONSTRAINTS_ADD(deringThreshold,b00,b08) : "%"FF_REG_a, "%"FF_REG_d ); #else // HAVE_7REGS && TEMPLATE_PP_MMXEXT -- 2.45.2