From: Petar Jovanovic Date: Mon, 18 Mar 2019 15:47:50 +0000 (+0100) Subject: mips: correct order of function arguments for mkFormVEC X-Git-Tag: VALGRIND_3_15_0~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=029f1196fcafb49183c87c53e3a7febc762a0dc8;p=thirdparty%2Fvalgrind.git mips: correct order of function arguments for mkFormVEC Vectors wt and ws were incorrectly received in mkFormVEC(). Issue spotted by Mark Wielaard and reported as KDE #405458. --- diff --git a/VEX/priv/host_mips_defs.c b/VEX/priv/host_mips_defs.c index 64a769dcfd..7a3faed489 100644 --- a/VEX/priv/host_mips_defs.c +++ b/VEX/priv/host_mips_defs.c @@ -3373,7 +3373,7 @@ static UChar *mkForm3R(UChar *p, UInt op, UInt df, UInt wd, UInt ws, UInt wt) { return emit32(p, theInstr); } -static UChar *mkFormVEC(UChar *p, UInt op, UInt ws, UInt wt, UInt wd) { +static UChar *mkFormVEC(UChar *p, UInt op, UInt wt, UInt ws, UInt wd) { UInt theInstr; vassert(op < 0x20); vassert(wt < 0x20);