GCC notices that AT is passed around as char, specifically as %u argument
to DIP. But ifieldAT returns an UChar and vsx_matrix_ger takes AT as UChar.
This causes lots of format string warnings when building with GCC11.
Simply declare AT as UChar instead of char.
UChar opc1 = ifieldOPC(theInstr);
UChar opc2 = IFIELD( theInstr, 1, 10);
UInt bit11_15 = IFIELD( theInstr, (31-15), 5);
- char AT = ifieldAT(theInstr);
+ UChar AT = ifieldAT(theInstr);
Bool is_prefix = prefix_instruction( prefix );
UChar rA_addr = ifieldRegA( theInstr );
UChar rB_addr = ifieldRegB( theInstr );