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

Can RealView compiler generate SMLAL/UMLAL instructions?

Is there any way the RealView compiler can take advantage of the multiply-and-accumulate instructions of the Cortex M3?

I wrote a simple MAC loop and the compiler didn't generate any SMLAL or UMLAL instructions, which was disappointing.

Thanks,
Andrew Queisser
HP

Parents
  • Hi Franc,

    Reading through my messages in this thread I realize I wan't really clear. The vast majority of our code is in C and we only resort to assembly for small time critical chunks, just as you suggest.

    I agree that assembly is hard to maintain although at this point ARM is so prevalent (the last three projects I was on used it) that learning ARM assembly seems to be a good investment.

    Thanks,
    Andrew

Reply
  • Hi Franc,

    Reading through my messages in this thread I realize I wan't really clear. The vast majority of our code is in C and we only resort to assembly for small time critical chunks, just as you suggest.

    I agree that assembly is hard to maintain although at this point ARM is so prevalent (the last three projects I was on used it) that learning ARM assembly seems to be a good investment.

    Thanks,
    Andrew

Children
No data