]> git.ipfire.org Git - thirdparty/valgrind.git/commit
mips: rewrite mips_irgen_load_and_add32|64 and code around it
authorPetar Jovanovic <mips32r2@gmail.com>
Fri, 10 Feb 2017 17:58:40 +0000 (17:58 +0000)
committerPetar Jovanovic <mips32r2@gmail.com>
Fri, 10 Feb 2017 17:58:40 +0000 (17:58 +0000)
commitbc22dddc8518f4f6d385e879b7d978004c9ca37f
treed0abcff0ef188186bb1b2bee0dd06b21dd0fcb6a
parentef92d92cdc7a8a95ed694783368e62a17b43b466
mips: rewrite mips_irgen_load_and_add32|64 and code around it

Make sure that mips_irgen_load_and_add32 gets both expected value and
new value, so the function code makes more sense and does load/store in
a atomic way.

Minor renaming and code style issues added too.

Patch by Tamara Vlahovic.

git-svn-id: svn://svn.valgrind.org/vex/trunk@3300
VEX/priv/guest_mips_toIR.c