[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: RFH: porting bolt-lmm



On 8/2/22 9:54 AM, Paul Wise wrote:
On Mon, 2022-08-01 at 06:19 +0000, Nilesh Patra wrote:

I was trying to port bolt-lmm package, which currently builds only on
amd64, i386 and ppc to more archs - particularly arm. I am trying to
workaround amd64-specific SIMD intrinsics with the libsimde-dev
(SIMDEverywhere package) - debian wiki here[1]
I've committed the patch I used here[2].

Why do you enable SIMDE_ENABLE_NATIVE_ALIASES but also rename
everything to simde_*? Only one of those is needed. [...]

I was trying different approaches, looks like I forgot to
properly clean up the patch before pushing :)

I am able to get it building on arm64 box, but it does
not seem to run the right way. It seems to trigger the bolt command
again while trying to make initial guess - don't know why.
I used the same command as used in autopkgtest to test it out.

Your patch should not have that effect, it is quite strange,

One thing that probably wasn't clear from my prev mail was that after applying
the patch, it runs _fine_ in amd64 machine and probably ppc too.
The strange log is from arm64 -- it does not run okay there.

I think
you are going to have to trace the execution of how exactly it gets
back into main() from elsewhere, probably using gdb or similar.

Well, yeah. I'll do so when I get more time.

--
Best,
Nilesh


Reply to: