How to sync ARM-NEON?

In terms of ARM Cortex-A8, will the ARM module wait or continue, while NEON executes its instructions? How is this synchronization achieved? How to synchronize ARM and NEON cores if ARM and NEON work on the same data / code segments?

+4
source share
2 answers

The short answer is that they are automatically synchronized ... and synchronized in the same way as all other commands synchronized (for example, checking the danger of pipelines). On processors that can issue multiple instructions per cycle, NEON instructions can be issued along with instructions other than NEON.

NEON is part of the kernel and uses the same caches as normal load / store instructions. However, this also means that on some processors it may be inefficient to mix NEON and non-NEON downloads and store or move data between NEON and universal registers.

+8
source

They are not separate kernels - NEON is implemented as an additional execution unit in the ARM core - the usual principles of superscalar architectures are applied.

+4
source

Source: https://habr.com/ru/post/1434537/


All Articles