gcc neon assembler
#9
Hi,
just some news.
So, i rewrote some functions from Neon/intrinsics to Neon/assembler in the hope of a performances improvment. Just after finishing the translations intrinsics/assembler, i was very enthousiast  Smile , because the assembler version was running 4 time faster than the intrinsic, but in fact this result was obtained with the debug versions. With the release versions, the results were quasi identical, and perhaps even more that the intrinsic versions runs a little faster than the assembler Big Grin  , but, honestly, there is no significant gap. The only noticable diffenrece is on the code size which is 3 times more important with the intrinsic version.
So, my conclusion, in my cases, is that the compiler generates very fast code using intrinsic.

Other remark, this algorithm (image processing), initially written on a PC/Windows,runs in less than one 1 msec on 1 core of an i7-4790 processor at 3.6GHz, and it  takes ~4msec on 1 core of my rock64 (the ARM/Neon version is a little more optimzed than the intel version which also uses intrinsics). At the beginning, i thought that the difference will be more important, but, thanks to Neon, the final result is a little better than expected, and a rock64 is much cheap than an intel solution, and consumes much less power.
I think that something which could increases the performance of the Rock64 will be a faster memory; the one of the rock64 works in 32bits, altought the processor supports 64 bits access. Smile
regards
  Reply


Messages In This Thread
gcc neon assembler - by pas059 - 07-16-2018, 08:18 AM
RE: gcc neon assembler - by ab1jx - 07-21-2018, 06:42 AM
RE: gcc neon assembler - by pas059 - 07-21-2018, 08:52 AM
RE: gcc neon assembler - by z4v4l - 07-21-2018, 01:22 PM
RE: gcc neon assembler - by pas059 - 07-23-2018, 01:47 AM
RE: gcc neon assembler - by z4v4l - 07-23-2018, 07:32 AM
RE: gcc neon assembler - by pas059 - 07-23-2018, 11:37 AM
RE: gcc neon assembler - by z4v4l - 07-23-2018, 12:02 PM
RE: gcc neon assembler - by pas059 - 08-14-2018, 10:10 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  no neon? ab1jx 5 7,319 01-04-2019, 11:16 AM
Last Post: ab1jx

Forum Jump:


Users browsing this thread: 1 Guest(s)