|
From: | David Gay |
Subject: | Re: [avr-gcc-list] Using hardware multiplier on ATmega128L |
Date: | Fri, 22 Oct 2004 10:11:01 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040124 |
John Rehwinkel wrote:
In particular I have this kind of instruction on my NeSC program (NeSC is a "dialect" of C language ...):Good and bad news. The code you've written is already using the hardware multiply... (avr-gcc's 32-bit multiply routine for atmega128 uses the hardware multiply).Actually, I doubt it. AFAIK, gcc doesn't support NeSC, so he's probably using a different compiler.
I should've included more background: nesC compiles to C code which is then passed to avr-gcc (and I should know, given that I wrote the nesC compiler ;-)).
David Gay
[Prev in Thread] | Current Thread | [Next in Thread] |