avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] Re: [avr-gcc-list] ATTiny2313 GCC Support? (fwd)


From: Bob Paddock
Subject: Re: [avr-libc-dev] Re: [avr-gcc-list] ATTiny2313 GCC Support? (fwd)
Date: Sun, 30 Jan 2005 07:52:42 -0500
User-agent: KMail/1.7.2

On Tuesday 25 January 2005 01:05 am, E. Weddington wrote:

> The support for the tiny2313 is in a patch for binutils, and gcc which
> can be found in the Patch Manager of avr-libc, as a Closed patch:
> <http://savannah.nongnu.org/patch/index.php?func=detailitem&item_id=2923>

I thought this patch was broken?

+  { "attiny2313",  4, "__AVR_ATtiny2313__" },

+%{mmcu=atmega8*|mmcu=atmega48|mmcu=attiny13|mmcu=attiny2313:-m avr4}\

> You should only need the patch for binutils, and for gcc,

Aren't they broken too?:

+  {"attiny13",  AVR_ISA_TINY2,    bfd_mach_avr4},
+  {"attiny2313",AVR_ISA_TINY2,    bfd_mach_avr4},

Sorry I did not speak up before the 1.2.1 release but I thought this was fixed
when Marek brought it up.  I just discovered it when I went to try out  
Victoria's gentoo ebuild.

"I think it is important to move attiny2313 and attiny13 from avr4 to
avr2 first (at the same time in avr-libc, binutils and gcc), to fix
the recently reported bug (use of unsupported MUL instructions).
The fix is sub-optimal (MOVW not used, even though it is available),
but we probably can't do any better so close to the GCC 4.0 release..."

The 'Tiny' 2313, 13,  15, and 26 have no multiply instruction, that is what 
makes them 'Tiny'.  A Tiny Instruction Set.  I don't have datasheets for the 
11 and 12 at hand to check them, don't think they really count due to their 
limited RAM.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]