]> git.ipfire.org Git - thirdparty/valgrind.git/commit
mips64: sign-extend results from dirty helper
authorPetar Jovanovic <mips32r2@gmail.com>
Mon, 3 Apr 2017 14:30:13 +0000 (14:30 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Mon, 3 Apr 2017 14:30:13 +0000 (14:30 +0000)
commit11e644d965f9645d82ff8dbcd54db239f44ae794
tree5fd58d6aab4983c8d007149852f6c33d84afb7e3
parent43de64aa25b697242d82e3894c28d1e0a97ee471
mips64: sign-extend results from dirty helper

Values returned from the dirty helper may not be sign-extended, so let's
make sure the values get passed as sign-extended for Ity_I32, Ity_I16, and
Ity_I8 cases.
At the same time, we can remove now redundant sign-extensions introduced in
VEX r3304.

This fixes memcheck/test/bug340392 on some MIPS64 boards.

Patch by Aleksandar Rikalo.

git-svn-id: svn://svn.valgrind.org/vex/trunk@3342
VEX/priv/host_mips_defs.c
VEX/priv/host_mips_isel.c