This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM Compiler 6: Armclang

  1. ARM Compiler 6 uses armclang, but armclang can't use the intrinsic functions(like __qadd) that has used in the previous compiler.How can I get the optimization code? (Does the intrinsic functions are better than the our codes,what are the codes in the function "_qadd"?
  2. Does the __saturate int the "dspfns.h" is error? it does not need to do double?
Parents
  • Hi caotianxiang,

    regarding 1, it seems almost all the intrinsic were abandoned in the ARM Compiler 6. However, you can make the equivalent functions by using the __attribute__((always_inline)) function attribute and the __asm keyword (i.e. inline assembler).


    Regarding 2, I am afraid the "dspfns.h" is no longer supported in the ARM Compiler 6.
    Anyway, I am not familiar to the armcc or armclang and my answers might be wrong.

    Best regards,
    Yasuhiko Koumoto.

Reply
  • Hi caotianxiang,

    regarding 1, it seems almost all the intrinsic were abandoned in the ARM Compiler 6. However, you can make the equivalent functions by using the __attribute__((always_inline)) function attribute and the __asm keyword (i.e. inline assembler).


    Regarding 2, I am afraid the "dspfns.h" is no longer supported in the ARM Compiler 6.
    Anyway, I am not familiar to the armcc or armclang and my answers might be wrong.

    Best regards,
    Yasuhiko Koumoto.

Children
No data