https://bugs.kde.org/show_bug.cgi?id=516223

--- Comment #3 from Mark Wielaard <[email protected]> ---
With the following patch:

diff --git a/VEX/priv/guest_x86_toIR.c b/VEX/priv/guest_x86_toIR.c
index b84ba905df7b..6d8a08b1a57f 100644
--- a/VEX/priv/guest_x86_toIR.c
+++ b/VEX/priv/guest_x86_toIR.c
@@ -8124,6 +8124,7 @@ static void decode_sse4_blend (Int* delta_inout, const
UChar*  insn,
         nameXMMReg( gregOfRM(modrm) ) );
   } else {
     addr = disAMode( &alen, sorb, delta + 3, dis_buf );
+    gen_SEGV_if_not_16_aligned( addr );
     assign(vecE, loadLE( Ity_V128, mkexpr(addr) ));
     delta += alen + 3;
     DIP( "%s %s,%s\n", insn_name,

valgrind behaves the same as "native" running none/tests/x86/sse4-x86

r pblendvb  c501b4c64209aa2e0719232dba0b82d5 077815d35567232e66c997070e860c39
109cfa471afbe686e2ede96f8809f947 -> 079c15d31afb2386e2ede96f0e090c39
==656225== 
==656225== Process terminating with default action of signal 11 (SIGSEGV):
dumping core
==656225==  General Protection Fault
==656225==    at 0x806AF06: do_PBLENDVB (sse4-common.h:664)
==656225==    by 0x806B0A3: test_PBLENDVB (sse4-common.h:713)
==656225==    by 0x806BBDB: main (sse4-x86.c:119)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to