Hello,
I'm using Valgrind 3-13-0 on Ubuntu 18.04. The package repository has 3-13-0 as
its latest version, so if I want 3-17-0 I will need to install from source. But
my question is about AVX instructions that have been supported since before
3-13-0.
I ran the following command format:
valgrind --tool=memcheck ./(Program_name).exe
I ran this command on three separate programs, all of which have AVX
instructions. In all three cases Valgrind terminated at the first line that
contained an AVX instruction with "Unrecognised instruction."
According
https://stackoverflow.com/questions/31009094/valgrind-illegal-instruction-avx,
support for AVX was added in 3.8.0 and for AVX2 in 3.9.0. Two of the
instructions in question are AVX instructions:
vmovupd xmm31,[const_1.962].
This is an AVX instruction, see https://www.felixcloutier.com/x86/movupd, where
VMOVUPD xmm1, xmm2/m128 is listed as an AVX instruction.
vaddsd xmm20,xmm0,xmm1
This is also an AVX instruction, see https://www.felixcloutier.com/x86/addsd.
The three operand form (without masks) is AVX. VADDSD xmm1, xmm2, xmm3/m64 (AVX)
Why does Valgrind terminate at those AVX instructions when support was added
before 3-13-0?
Thanks very much.
_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users