On 5 September 2016 at 19:05,  <stim...@comcast.net> wrote:
> What I need to confirm is if the Linaro 5.3 would generate such code from a
> normal block of C without any kind of asm in it? Detecting the code is part
> of the kernel...I need to figure out where it was generated. Is Linaro 5.3
> going to generate such code without explicitly writing it in?

Hi,

I could be wrong, but it would be very weird if the compiler generated
co-processor code from C sources. Those instructions were only created
to cope with "unknown extensions", even though they god used by a
number of known ones. Unless, of course, they were in inline assembly,
in which case it's not really the compiler's output, but it will "come
from C code".

It should be pretty easy to grep for asm/cp15 inline asm (or asm
files) in a source three, though, so you can know if a project will
emit them or not without looking at the compiler.

cheers,
--renato
_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to