[valgrind] [Bug 484742] unhandled instruction 0x4E9096B7

2024-04-01 Thread Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=484742

Paul Floyd  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE

--- Comment #4 from Paul Floyd  ---
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'
==51681== valgrind: Unrecognised instruction at address 0x118f6c.
==51681==at 0x118F6C:
Stockfish::Eval::NNUE::Network, 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_9StateInfo14accumulatorBigEE8evaluateERKNS_8PositionEbPib.constprop.0+3692>
   sdotv31.4s, v22.16b, v17.16b

But no problem with Valgrind built from source. Looks like this was fixed with

Author: William Ashley   2023-11-10 17:51:12
Committer: Mark Wielaard   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 ., ., .4B[]
SDOT ., ., .
UDOT ., ., .4B[]
UDOT ., ., .

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 ***

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

[valgrind] [Bug 484742] unhandled instruction 0x4E9096B7

2024-04-01 Thread Paul Floyd
https://bugs.kde.org/show_bug.cgi?id=484742

Paul Floyd  changed:

   What|Removed |Added

 CC||pjfl...@wanadoo.fr

--- Comment #3 from Paul Floyd  ---
I tried on FreeBSD but couldn't get stockfish to build

I'll give it a go on ubuntu next time I boot it.

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

[valgrind] [Bug 484742] unhandled instruction 0x4E9096B7

2024-03-30 Thread Joost VandeVondele
https://bugs.kde.org/show_bug.cgi?id=484742

--- Comment #2 from Joost VandeVondele  ---
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);

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

[valgrind] [Bug 484742] unhandled instruction 0x4E9096B7

2024-03-30 Thread Joost VandeVondele
https://bugs.kde.org/show_bug.cgi?id=484742

--- Comment #1 from Joost VandeVondele  ---
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

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