Andre Sodermans wrote:

Ok, I now understand the versioning issue, however it seems that the
code then has been compiled incorrectly because the actual stream that
gets generated is the one with the following compile time conditional:
 #if defined(L_muldi3) && !defined(MSP430_HAS_HWMUL)

If you look further down, the correct stream is inside the following
conditional:
 #if defined(L_muldi3) && defined(MSP430_HAS_HWMUL)

I am 100% sure that I used the -mforce-hwmul, so why is this happening?

Even if I would call the routine, it would still go to the wrong one.

-Andre

You should not have to specify -mforce-hwmul, but you do have to  have:

-mmcu=msp430x149
Then, during your compile, you see:
-DMSP430_HAS_HWMUL
Showing up.

Garst






Reply via email to