]> git.ipfire.org Git - thirdparty/valgrind.git/commit
'grail' fixes for MIPS: grail
authorJulian Seward <jseward@acm.org>
Sun, 15 Dec 2019 19:14:37 +0000 (20:14 +0100)
committerJulian Seward <jseward@acm.org>
Sun, 15 Dec 2019 19:14:37 +0000 (20:14 +0100)
commit395c9b914b2ff5a7b6ee7c69f48ce69ce7b6f6bc
tree49ef4be82e96649390212a0f6296a25b6cfda722
parentaf4fae12f3456ab5a591298a7c9ee5e3e12ec282
'grail' fixes for MIPS:

This isn't a good result.  It merely disables the new functionality on MIPS
because enabling it causes segfaults, even with --tool=none, the cause of
which are not obvious.  It is only chasing through conditional branches that
is disabled, though.  Chasing through unconditional branches (jumps and calls
to known destinations) is still enabled.

* guest_generic_bb_to_IR.c bb_to_IR(): Disable, hopefully temporarily, the key
  &&-recovery transformation on MIPS.

* VEX/priv/host_mips_isel.c iselWordExpr_R_wrk(), iselCondCode_wrk():

  - add support for Iop_And1, Iop_Or1, and IRConst_U1.  This code is my best
    guess about what is correct, but is #if 0'd for now.

  - Properly guard some Iex_Binop cases that lacked a leading check that the
    expression actually was a Binop.
VEX/priv/guest_generic_bb_to_IR.c
VEX/priv/host_mips_isel.c