Add partial backport of upstream revision 12884
valgrind-3.8.0-memcheck-mc_translate-Iop_8HLto16.patch without it AVX2 VPBROADCASTB insn is broken under memcheck.
This commit is contained in:
parent
9bef860b35
commit
fb1be10383
11
valgrind-3.8.0-memcheck-mc_translate-Iop_8HLto16.patch
Normal file
11
valgrind-3.8.0-memcheck-mc_translate-Iop_8HLto16.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- valgrind-3.8.0/memcheck/mc_translate.c (revision 12883)
|
||||||
|
+++ valgrind-3.8.0/memcheck/mc_translate.c (revision 12884)
|
||||||
|
@@ -3313,6 +3313,8 @@
|
||||||
|
case Iop_DivModS128to64:
|
||||||
|
return mkLazy2(mce, Ity_I128, vatom1, vatom2);
|
||||||
|
|
||||||
|
+ case Iop_8HLto16:
|
||||||
|
+ return assignNew('V', mce, Ity_I16, binop(op, vatom1, vatom2));
|
||||||
|
case Iop_16HLto32:
|
||||||
|
return assignNew('V', mce, Ity_I32, binop(op, vatom1, vatom2));
|
||||||
|
case Iop_32HLto64:
|
@ -48,6 +48,9 @@ Patch16: valgrind-3.8.0-avx2-bmi-fma.patch.gz
|
|||||||
# Small fixup for above patch, just a configure check.
|
# Small fixup for above patch, just a configure check.
|
||||||
# This is equivalent to valgrind-bmi-5.patch from KDE#305728
|
# This is equivalent to valgrind-bmi-5.patch from KDE#305728
|
||||||
Patch17: valgrind-3.8.0-bmi-conf-check.patch
|
Patch17: valgrind-3.8.0-bmi-conf-check.patch
|
||||||
|
# Partial backport of upstream revision 12884 without it AVX2 VPBROADCASTB
|
||||||
|
# insn is broken under memcheck.
|
||||||
|
Patch18: valgrind-3.8.0-memcheck-mc_translate-Iop_8HLto16.patch
|
||||||
|
|
||||||
Obsoletes: valgrind-callgrind
|
Obsoletes: valgrind-callgrind
|
||||||
%ifarch x86_64 ppc64
|
%ifarch x86_64 ppc64
|
||||||
@ -148,6 +151,7 @@ touch ./none/tests/amd64/avx2-1.stderr.exp
|
|||||||
touch ./none/tests/amd64/fma.stderr.exp
|
touch ./none/tests/amd64/fma.stderr.exp
|
||||||
touch ./none/tests/amd64/bmi.stderr.exp
|
touch ./none/tests/amd64/bmi.stderr.exp
|
||||||
%patch17 -p1
|
%patch17 -p1
|
||||||
|
%patch18 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
CC=gcc
|
CC=gcc
|
||||||
@ -258,6 +262,11 @@ echo ===============END TESTING===============
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Sep 12 2012 Mark Wielaard <mjw@redhat.com>
|
||||||
|
- Add partial backport of upstream revision 12884
|
||||||
|
valgrind-3.8.0-memcheck-mc_translate-Iop_8HLto16.patch
|
||||||
|
without it AVX2 VPBROADCASTB insn is broken under memcheck.
|
||||||
|
|
||||||
* Wed Sep 12 2012 Mark Wielaard <mjw@redhat.com> 3.8.0-8
|
* Wed Sep 12 2012 Mark Wielaard <mjw@redhat.com> 3.8.0-8
|
||||||
- Add configure fixup valgrind-3.8.0-bmi-conf-check.patch
|
- Add configure fixup valgrind-3.8.0-bmi-conf-check.patch
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user