Summary: | unhandled instruction 0x4E9096B7 | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Joost VandeVondele <joost.vandevondele> |
Component: | general | Assignee: | Julian Seward <jseward> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | pjfloyd |
Priority: | NOR | ||
Version: | 3.22.0 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Joost VandeVondele
2024-03-30 10:16:26 UTC
Also reproduces on a Raspberry Pi 5: Raspberry Pi 5 $ cat /proc/cpuinfo processor : 0 BogoMIPS : 108.00 Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp CPU implementer : 0x41 CPU architecture: 8 CPU variant : 0x4 CPU part : 0xd0b CPU revision : 1 ok, seems to be related to the +dotprod part of the isa (which we detect based on the asimddp flag). Probably acc = vdotq_s32(acc, a0, b0); or output[i] = vaddvq_s32(sum); I tried on FreeBSD but couldn't get stockfish to build I'll give it a go on ubuntu next time I boot it. OK on ubuntu Raspberry Pi 5 I get info string NNUE evaluation using nn-1ceb1ade0001.nnue info string NNUE evaluation using nn-baff1ede1f90.nnue disInstr(arm64): unhandled instruction 0x4E9196DF disInstr(arm64): 0100'1110 1001'0001 1001'0110 1101'1111 ==51681== valgrind: Unrecognised instruction at address 0x118f6c. ==51681== at 0x118F6C: Stockfish::Eval::NNUE::Network<Stockfish::Eval::NNUE::NetworkArchitecture<2560u, 15, 32>, Stockfish::Eval::NNUE::FeatureTransformer<2560u, &Stockfish::StateInfo::accumulatorBig> >::evaluate(Stockfish::Position const&, bool, int*, bool) const [clone .constprop.0] (in /home/paulf/scratch/Stockfish/src/stockfish) with ubuntu's Valgrind 3.21 NS1_19NetworkArchitectureILj2560ELi15ELi32EEENS1_18FeatureTransformerILj2560EXadL_ZNS_9StateInfo14accumulatorBigEEEEEE8evaluateERKNS_8PositionEbPib.constprop.0+3692> sdot v31.4s, v22.16b, v17.16b But no problem with Valgrind built from source. Looks like this was fixed with Author: William Ashley <wash@amazon.com> 2023-11-10 17:51:12 Committer: Mark Wielaard <mark@klomp.org> 2023-11-10 17:55:22 Parent: aa3432229dff78dbbe95aeb0604215d3d588c4a4 (regtest: bug401284.c should never cast the return of malloc in C) Child: 242d8881e10328ff98c37ceb7fd31955a29cad82 (Bug 476787 - Build of Valgrind 3.21.0 fails when SOLARIS_PT_SUNDWTRACE_THRP is defined) Branches: master, remotes/origin/master, remotes/origin/users/paulf/try-bug484480, remotes/origin/users/paulf/try-carry, remotes/origin/users/paulf/try-sem_clockwait_np Follows: VALGRIND_3_22_0 Precedes: Bug 460616 - Add support for aarch64 dotprod instructions This change adds support for the FEAT_DotProd instructions SDOT <Vd>.<Ta>, <Vn>.<Tb>, <Vm>.4B[<index>] SDOT <Vd>.<Ta>, <Vn>.<Tb>, <Vm>.<Tb> UDOT <Vd>.<Ta>, <Vn>.<Tb>, <Vm>.4B[<index>] UDOT <Vd>.<Ta>, <Vn>.<Tb>, <Vm>.<Tb> Please build your own Valgrind from source, or wait for Valgrind 3.23 which is duu out sometime this month (April 2024). *** This bug has been marked as a duplicate of bug 460616 *** |