File vex-r3213.diff of Package valgrind.3987
From f4f600805bffd2a872f583ff1ba24b90cc4930a5 Mon Sep 17 00:00:00 2001
From: sewardj <sewardj@8f6e269a-dfd6-0310-a8e1-e2731360e62c>
Date: Mon, 21 Mar 2016 19:29:20 +0000
Subject: [PATCH] Make isZeroU handle the V256 case. Fixes #356393.
git-svn-id: svn://svn.valgrind.org/vex/trunk@3213 8f6e269a-dfd6-0310-a8e1-e2731360e62c
---
priv/ir_opt.c | 1 +
1 file changed, 1 insertion(+)
Index: VEX/priv/ir_opt.c
===================================================================
--- VEX/priv/ir_opt.c.orig 2017-01-12 11:23:56.082188398 +0100
+++ VEX/priv/ir_opt.c 2017-01-12 11:26:42.993788792 +0100
@@ -1223,6 +1223,7 @@
case Ico_U16: return toBool( e->Iex.Const.con->Ico.U16 == 0);
case Ico_U32: return toBool( e->Iex.Const.con->Ico.U32 == 0);
case Ico_U64: return toBool( e->Iex.Const.con->Ico.U64 == 0);
+ case Ico_V256: return toBool( e->Iex.Const.con->Ico.V256 == 0x00000000);
default: vpanic("isZeroU");
}
}