]> git.ipfire.org Git - thirdparty/valgrind.git/commit
mips: simplify handling of Iop_Max32U
authorPetar Jovanovic <mips32r2@gmail.com>
Tue, 17 Oct 2017 13:40:47 +0000 (15:40 +0200)
committerPetar Jovanovic <mips32r2@gmail.com>
Tue, 17 Oct 2017 13:40:47 +0000 (15:40 +0200)
commitcd1d7eb00c2a21fde127fadcd65ea91c535ac497
treeeb0c66ff31bddc70342dc347500a2001ceaf3ef8
parent2cf115e6570675a3af3fba9bbbb6d65826b7f512
mips: simplify handling of Iop_Max32U

Use MIPSRH_Reg to get MIPSRH for Iop_Max32U. Without it, under specific
circumstances, the code may explode and exceed Valgrind instruction buffer
due to multiple calls to iselWordExpr_R through iselWordExpr_RH.

Issue discovered while testing Valgrind on Android.

Patch by Tamara Vlahovic.
VEX/priv/host_mips_isel.c