https://bugs.kde.org/show_bug.cgi?id=360415
--- Comment #6 from Jeffrey Walton <[email protected]> --- (In reply to jacobly.alt from comment #5) > Created attachment 105193 [details] > Fixed 32-bit instructions in test-amd64. > > I disassembled the test program and noticed that 32-bit instructions weren't > being assembled correctly. The new patch fixes the test, but the tests still > pass and I can't reproduce this issue on 64-bit linux, even with a test > program that contains: > > 400490: 66 0f 38 f6 d8 adcx %eax,%ebx > > I would expect that error for a 32-bit program, where it is unimplemented, > but your valgrind output says it's using the 64-bit backend. On a side note, > what compiler/version did you compile valgrind with? Thanks Jacob. It looks like there are two (maybe more) instructions there. First is the ADCX: 0x66 0xF 0x38 0xF6 0xD8 And then there's a JUMP: 0xE8 0x4A I'm not sure what this is: 0x17 0xEE 0xFF > ... On a side note, > what compiler/version did you compile valgrind with? I should have provided this earlier. Sorry about that. The system details are as follows. Everything is fully patched. $ lsb_release -a LSB Version: :core-4.1-amd64:core-4.1-noarch Distributor ID: Fedora Description: Fedora release 25 (Twenty Five) Release: 25 Codename: TwentyFive $ clang++ --version clang version 3.9.1 (tags/RELEASE_391/final) Target: x86_64-unknown-linux-gnu Thread model: posix $ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 94 model name : Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz stepping : 3 microcode : 0x9e cpu MHz : 900.109 cache size : 6144 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 4 apicid : 0 initial apicid : 0 fpu : yes fpu_exception : yes cpuid level : 22 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp bugs : bogomips : 5424.00 clflush size : 64 cache_alignment : 64 address sizes : 39 bits physical, 48 bits virtual power management: ... Here's the reproducer (for me on this F25 on Skylark machine): git clone https://github.com/weidai11/cryptopp cd cryptopp CXX=clang++ CXXFLAGS="-DNDEBUG -g3 -O1 -std=c++03" make -j 9 -- You are receiving this mail because: You are watching all bug changes.
