Add valgrind-3.8.0-avx-alignment-check.patch (KDE#305926)
This commit is contained in:
parent
c06a5ebf83
commit
62fc9a2b63
38
valgrind-3.8.0-avx-alignment-check.patch
Normal file
38
valgrind-3.8.0-avx-alignment-check.patch
Normal file
@ -0,0 +1,38 @@
|
||||
------------------------------------------------------------------------
|
||||
r2499 | sewardj | 2012-09-02 14:13:34 +0200 (Sun, 02 Sep 2012) | 4 lines
|
||||
|
||||
Remove alignment checks for VMPSADBW, VPHMINPOSUW, VPALIGNR since they
|
||||
do not apply to the AVX versions of these instructions. Fixes #305926.
|
||||
(Jakub Jelinek, jakub@redhat.com)
|
||||
|
||||
------------------------------------------------------------------------
|
||||
Index: priv/guest_amd64_toIR.c
|
||||
===================================================================
|
||||
--- valgrind-3.8.0/VEX/priv/guest_amd64_toIR.c (revision 2498)
|
||||
+++ valgrind-3.8.0/VEX/priv/guest_amd64_toIR.c (revision 2499)
|
||||
@@ -16028,7 +16028,8 @@
|
||||
DIP("%sphminposuw %s,%s\n", mbV, nameXMMReg(rE), nameXMMReg(rG));
|
||||
} else {
|
||||
addr = disAMode ( &alen, vbi, pfx, delta, dis_buf, 0 );
|
||||
- gen_SEGV_if_not_16_aligned(addr);
|
||||
+ if (!isAvx)
|
||||
+ gen_SEGV_if_not_16_aligned(addr);
|
||||
assign( sV, loadLE(Ity_V128, mkexpr(addr)) );
|
||||
delta += alen;
|
||||
DIP("%sphminposuw %s,%s\n", mbV, dis_buf, nameXMMReg(rG));
|
||||
@@ -25898,7 +25899,6 @@
|
||||
nameXMMReg(rV), nameXMMReg(rG));
|
||||
} else {
|
||||
addr = disAMode( &alen, vbi, pfx, delta, dis_buf, 1 );
|
||||
- gen_SEGV_if_not_16_aligned( addr );
|
||||
assign( sV, loadLE(Ity_V128, mkexpr(addr)) );
|
||||
imm8 = getUChar(delta+alen);
|
||||
delta += alen+1;
|
||||
@@ -26291,7 +26291,6 @@
|
||||
} else {
|
||||
addr = disAMode( &alen, vbi, pfx, delta, dis_buf,
|
||||
1/* imm8 is 1 byte after the amode */ );
|
||||
- gen_SEGV_if_not_16_aligned( addr );
|
||||
assign( src_vec, loadLE( Ity_V128, mkexpr(addr) ) );
|
||||
imm8 = (Int)getUChar(delta+alen);
|
||||
delta += alen+1;
|
@ -22,6 +22,7 @@ Patch11: valgrind-3.8.0-x86-backtrace.patch
|
||||
Patch12: valgrind-3.8.0-find-buildid.patch
|
||||
Patch13: valgrind-3.8.0-abbrev-parsing.patch
|
||||
Patch14: valgrind-3.8.0-lzcnt-tzcnt-bugfix.patch
|
||||
Patch15: valgrind-3.8.0-avx-alignment-check.patch
|
||||
|
||||
Obsoletes: valgrind-callgrind
|
||||
%ifarch x86_64 ppc64
|
||||
@ -115,6 +116,7 @@ for details.
|
||||
%patch12 -p1
|
||||
%patch13 -p1
|
||||
%patch14 -p1
|
||||
%patch15 -p1
|
||||
|
||||
%build
|
||||
CC=gcc
|
||||
@ -227,6 +229,7 @@ echo ===============END TESTING===============
|
||||
%changelog
|
||||
* Tue Sep 11 2012 Mark Wielaard <mjw@redhat.com>
|
||||
- Add valgrind-3.8.0-lzcnt-tzcnt-bugfix.patch (KDE#295808)
|
||||
- Add valgrind-3.8.0-avx-alignment-check.patch (KDE#305926)
|
||||
|
||||
* Mon Aug 27 2012 Mark Wielaard <mjw@redhat.com> 3.8.0-5
|
||||
- Add valgrind-3.8.0-abbrev-parsing.patch for #849783 (KDE#305513).
|
||||
|
Loading…
Reference in New Issue
Block a user