Re: Arm questions
| Newsgroups | gmane.comp.lib.fox-toolkit.user |
|---|---|
| Message-ID | <[email protected]> |
On 2021-10-13 11:38, Roland Hughes wrote: > Thanks! > > I assume I just need to know the Arm Vn as far as your configure goes. > > That means I just have to get specific instructions about configuring > the container from Toradex. > > If my client allows (they are paying for this work after all) I will > try to create a write-up that could be added to the site. > > Roland The "native" compiler option will kick in optimizations and architecture model that are best for the machine you're building on. For RPi4, this is A72 processor. For Jetson and [I presume your board] this will be A53 cpu. Late-model GCC will have proper code generation for the processor, and issue optimal code for the one you have. Needless to say, only select "native" code generation if your end-users indeed have same cpu architecture as your s/w build machine... If you're cross-compiling you must set the target-architecture explicitly, of course. If you can, select 64-bit as it is revealed to be quite a bit faster than 32-bit on Arm. FOX is not a numerically intensive piece of code but other things I've tested show about 20% improvement in 64-bit mode. -- JVZ