ARM DSP FUNCTIONS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am using GCC on the ARM946, I want to use the DSP functions of the ARM, I
do the following:

static inline spx_word32_t MULT16_16(spx_word16_t x, spx_word16_t y) {
  int res;
  asm ("smulbb  %0,%1,%2;\n"
              : "=&r"(res)
              : "%r"(x),"r"(y));
  return(res);
}

I get a "bad command" error.


Firstly, is this possible?
If so, what do I need to do to be able to do this
If not... any suggestions welcome.

Would appreciate any help!

Thanks,
Riaan Pieters



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux