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
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
this compiler flag?Thanks,Matt[EMAIL PROTECTED] wrote: -To: "Matthew J Whelan" [EMAIL PROTECTED]From: "Joe Polastre" [EMAIL PROTECTED]Sent by: [EMAIL PROTECTED]Date: 07/19/2006 05:15PMcc: tinyos-help@millennium.berkeley.eduSubject: Re: [Tinyos-help] MSP430 Hardware
]
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 would not recommend using it. Unfortunately no one here is
a compiler expert, so
Hi,
Is it possible to use msp430 hardware multiplier with -mdisable-hwmul?
When I set -minline-hwmul, I always get segmentation fault. Can anyone
share some experience?
An Liu
___
Tinyos-help mailing list
Tinyos-help@Millennium.Berkeley.EDU