|
From: <ton...@fu...> - 2020-06-15 03:06:34
|
Dear Mark and developers, thank you for your reply and sorry for my late reply. > You don't say what your setup is based on. But from you question below I > assume it is ARM64 based. Valgrind already does mostly work on ARM64 > (GNU/Linux based at least). You can start with the README_DEVELOPERS to > get a working setup that you can hack on: I got some information from the following sites. > https://sourceware.org/git/?p=valgrind.git;a=blob;f=README_DEVELOPERS > https://sourceware.org/git/?p=valgrind.git;a=blob;f=cachegrind/cg_arch.c Cache configuration can be specified with the valgrind options (--I1=, --D1=, ...), so I think no problem on our architecture A64FX. I found it difficult for me to support SVE instruction. We want to profile with Valgrind/Cachegrind on the Fugaku super-computer. As a future task, could you (community) consider supporting SVE. Best regards, Tomotake Nakamura FUJITSU > -----Original Message----- > From: Mark Wielaard <ma...@kl...> > Sent: Wednesday, May 27, 2020 8:50 PM > To: Nakamura, Tomotake/中村 朋健 <ton...@fu...> > Cc: 'val...@li...' > <val...@li...> > Subject: Re: [Valgrind-developers] valgrind porting > > Hi, > > On Wed, May 27, 2020 at 02:23:14AM +0000, ton...@fu... wrote: > > I would like to port Valgrind for Fujitsu supercomputer (FX1000). > > I'm a beginner and I don't know much about it. Could you please teach me? > > You don't say what your setup is based on. But from you question below I > assume it is ARM64 based. Valgrind already does mostly work on ARM64 > (GNU/Linux based at least). You can start with the README_DEVELOPERS to > get a working setup that you can hack on: > https://sourceware.org/git/?p=valgrind.git;a=blob;f=README_DEVELOPER > S > > > I don't know the program structure of Valgrind and Cachegrind. > > My guess is that Cachegrind may be able to obtain information about > > cache misses, etc. after understanding the hardware specifications of > > the CPU (cache size, number of ways, etc.). > > How should the hardware specifications be used as input values to Valgrind? > > You might want to look over cachegrind/cg_arch.c: > https://sourceware.org/git/?p=valgrind.git;a=blob;f=cachegrind/cg_arch.c > > > I also would like to implement Scalable Vector Extension (SVE) > > instructions which are an extension instructions of ArmV8. Would you > > please tell me porting procedures? > > There are several bugs about adding more arm64 instruction sets, you might > want to start by reading over some: > https://bugs.kde.org/show_bug.cgi?id=369509 > https://bugs.kde.org/show_bug.cgi?id=413547 > https://bugs.kde.org/show_bug.cgi?id=414268 > > Cheers, > > Mark |