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 17:58:57 +0100
User-agent: Mutt/1.5.11

As Anatoly Sokolov wrote:

> New ATtiny devices also have LPM Rx, Z+ instruction.  When I added
> avr25 architecture in GCC, I have introduced two gcc macros
> __AVR_HAVE_MOVW__ and __AVR_HAVE_LPMX__. Now I have added
> __AVR_HAVE_MUL__ macro in GCC for avr4 and avr5 architectures.

Does that mean __AVR_ENHANCED__ will eventually become obsolete then?

How are the different compiler and library versions playing together?
Say, we have an older compiler that doesn't know anything about the
new macros but only sets __AVR_ENHANCED__, will the library code then
assume all of __AVR_HAVE_MOVW__, __AVR_HAVE_LPMX__, and
__AVR_HAVE_MUL__?

-- 
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]