From c161d38879ec149ccb884bde611987e77ff0a293 Mon Sep 17 00:00:00 2001 From: Jeremy Ong Date: Thu, 30 Jun 2022 14:55:24 -0600 Subject: [PATCH] Address ambiguous sign warning on bitshift operand Newer versions of DXC warn if the first operand of a bitshift operation is missing a suffix that indicates the sign. --- ffx-spd/ffx_a.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ffx-spd/ffx_a.h b/ffx-spd/ffx_a.h index b92546e..1dce684 100644 --- a/ffx-spd/ffx_a.h +++ b/ffx-spd/ffx_a.h @@ -1062,9 +1062,9 @@ AU3 AAbsSU3(AU3 a){return AU3(abs(ASU3(a)));} AU4 AAbsSU4(AU4 a){return AU4(abs(ASU4(a)));} //------------------------------------------------------------------------------------------------------------------------------ - AU1 ABfe(AU1 src,AU1 off,AU1 bits){AU1 mask=(1<>off)&mask;} + AU1 ABfe(AU1 src,AU1 off,AU1 bits){AU1 mask=(1u<>off)&mask;} AU1 ABfi(AU1 src,AU1 ins,AU1 mask){return (ins&mask)|(src&(~mask));} - AU1 ABfiM(AU1 src,AU1 ins,AU1 bits){AU1 mask=(1<