Hi, I have found a previous post that states that I need to use the compiler option-mforce-hwmul to properly use the hardware multiplier on the MSP430. What I did wasadd the line NESC_FLAGS+=-mforce-hwmul to my makefile. However, now I see both -mforce-hwmul as well as -mdisable-hwmul in the comp
mspgcc's implementation of the hardware multiplier arbitration is very
buggy. I would not recommend using it. Unfortunately no one here is
a compiler expert, so it still hasn't been fixed.
-Joe
On 7/19/06, Matthew J Whelan <[EMAIL PROTECTED]> wrote:
Hi,
I have found a previous post that
Matthew,
You don't want to enable the hwmul for the compiler, because it's
broken. The problem is that a hwmul on the msp430 is a non-atomic
operation. But, the compiler does not generate code to disable
interrupts and conditionally re-enable them after each multiply. That
means an interrupt c
Joe, I have been using the Hardware multiplier through DMA transfers for a while now to implement digitial filtering. I have never used a compiler flag to do this, but everything seems to be working fine. Is there any reason to believe that there might be errors if I am using the multiplier witho
ot;Joe Polastre" <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
Date: 07/19/2006 05:15PM
cc: tinyos-help@millennium.berkeley.edu
Subject: Re: [Tinyos-help] MSP430 Hardware Multiplier Compiler Flag
mspgcc's implementation of the hardware multiplier arbitration is very
buggy. I wo