Have the ARM core of TX2 NEON coprocessor?
NEON is optional in the previous generation of ARMv7-a CPUs (32-bit). The 64-bit ARMv8-a (implying the TX1/TX2) makes this mandatory…these cores always have NEON available. Since this is not optional and must be implemented no compiler will recognize any NEON enable type flag (it’s already there…it is an error to specify it as an option).
Hi,linuxdev.
How do i use NEON coprocessor?
NEON is an instruction set. You can’t just specify it and have it work, you have to change code. You may be interested in this (keep in mind you are looking at the ARMv8 version…there may be overlap with ARMv7, but there will be differences at times, e.g., many command line gcc arguments differ or are missing in ARMv8):
[url]https://developer.arm.com/technologies/neon[/url]
This is mentioned:
[url]https://developer.arm.com/products/architecture/a-profile/docs/den0018/a[/url]
You’ll find a lot with this search:
[url]linux "NEON" programming examples - Google Search
…but if you add in ARMv8 to the search it may be more relevant:
[url]linux "NEON" armv8 programming examples - Google Search
I liked some of the reference URLs from:
[url]c++ - Coding for ARM NEON: How to start? - Stack Overflow