We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
On a Get Start thread of this web site, it has a short NE10 example having such snippet:
I install NE10 library. In the documentation, it has a different definition:
ne10_result_t ne10_addc_float_neon (ne10_float32_t *dst, ne10_float32_t *src, const ne10_float32_t cst, ne10_uint32_t count) asm("ne10_addc_float_neon")
I am curious about the last "asm("ne10_addc_float_neon")". Could you tell me that?
Thanks,
Hi, Ruwan2,
>Hi,
>On a Get Start thread of this web site, it has a short NE10 example having such snippet:
These 2 functions are different functions, but they have same functionality. Generally, the difference is: ne10_addc_float_c is implemented in C and ne10_addc_float_neon is implemented by assembly and optimized by Neon.
>
>I install NE10 library. In the documentation, it has a different definition:
>ne10_result_t ne10_addc_float_neon (ne10_float32_t *dst, ne10_float32_t *src, const ne10_float32_t cst, ne10_uint32_t count) asm("ne10_addc_float_neon")
>I am curious about the last "asm("ne10_addc_float_neon")". Could you tell me that?
the asm() key word is used to specify the name in generated object file. It is a C extension. You can refer more details at http://gcc.gnu.org/onlinedocs/gcc-4.8.2/gcc/Asm-Labels.html#Asm-Labels.
>Thanks,