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

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

Re: [avr-libc-dev] What is '__AVR_HAVE_MUL__'?


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] What is '__AVR_HAVE_MUL__'?
Date: Tue, 30 Jan 2007 10:25:13 +0100
User-agent: Mutt/1.5.11

As Dmitry K. wrote:

> What is the necessity of occurrence __AVR_HAVE_MUL__
> in common/macros.inc? Is it not the same as
> __AVR_ENHANCED__?

Anatoly recently introduced two new AVR categories into GCC: avr25 and
avr35.  They should be though of as avr2.5 and avr3.5: while they
share almost everything with avr2 and avr3 respectively, they add the
MOVW instruction.  This is e.g. the case for all recent ATtinys: they
do have MOVW but they don't feature a hardwar multiplier.

I believe the change to __AVR_HAVE_MUL__ is part of that change.
Anatoly might correct me if I'm wrong.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

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