https://bugs.kde.org/show_bug.cgi?id=484742

            Bug ID: 484742
           Summary: unhandled instruction 0x4E9096B7
    Classification: Developer tools
           Product: valgrind
           Version: 3.22.0
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: jsew...@acm.org
          Reporter: joost.vandevond...@gmail.com
  Target Milestone: ---

On NVIDIA's Grace CPU valgrind fails to run a binary (that otherwise runs fine)
failing to handle an instruction:

```
==45347== Memcheck, a memory error detector
==45347== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==45347== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info
==45347== Command: ./stockfish bench
==45347== 
Stockfish dev-20240329-ec598b38 by the Stockfish developers (see AUTHORS file)

Position: 1/48 (rnbqkbnr/pppppppp/8/8/8/8/PPPPPPPP/RNBQKBNR w KQkq - 0 1)
info string NNUE evaluation using nn-1ceb1ade0001.nnue
info string NNUE evaluation using nn-baff1ede1f90.nnue
disInstr(arm64): unhandled instruction 0x4E9096B7
disInstr(arm64): 0100'1110 1001'0000 1001'0110 1011'0111
==45347== valgrind: Unrecognised instruction at address 0x40f684.
==45347==    at 0x40F684:
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
/users/vjoost/Stockfish/src/stockfish)
==45347==    by 0x40E667:
Stockfish::Eval::evaluate(Stockfish::Eval::NNUE::Networks const&,
Stockfish::Position const&, int) (in /users/vjoost/Stockfish/src/stockfish)
==45347==    by 0x42A3F7: Stockfish::Search::Worker::iterative_deepening() (in
/users/vjoost/Stockfish/src/stockfish)
==45347==    by 0x4280E7: Stockfish::Search::Worker::start_searching() (in
/users/vjoost/Stockfish/src/stockfish)
==45347==    by 0x4210EB: Stockfish::Thread::idle_loop() (in
/users/vjoost/Stockfish/src/stockfish)
==45347==    by 0x42103F: Stockfish::NativeThread::NativeThread<void
(Stockfish::Thread::*)(), Stockfish::Thread*>(void (Stockfish::Thread::*&&)(),
Stockfish::Thread*&&)::{lambda(void*)#1}::_FUN(void*) (in
/users/vjoost/Stockfish/src/stockfish)
==45347==    by 0x507875B: start_thread (in /lib64/libpthread-2.31.so)
==45347==    by 0x54BFEEB: thread_start (in /lib64/libc-2.31.so)
```
Linux OS.

The program is compiled using `gcc version 12.3.0`, with target:
`-march=armv8.2-a+dotprod`. 
/proc/cpuinfo gives:
```
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp
asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve
asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp sve2 sveaes svepmull
svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh bti
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd4f
CPU revision    : 0
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to