avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] efficiency of assigning bits


From: Douglas Dotson
Subject: Re: [avr-gcc-list] efficiency of assigning bits
Date: Mon, 14 Mar 2005 06:48:59 -0800 (PST)

--- Joerg Wunsch <address@hidden> wrote:

> 
> Parthasaradhi Nayani <address@hidden>
> wrote:
> 
> > Also please the binary suffix is implemented in
> the
> > recent past (gcc). Please check the version you
> have.
> 
> Actually, it's not officially supported by GCC at
> all.  But as it was
> a frequently requested item, I once wrote a patch
> for GCC, and Eric
> since includes that patch in his builds of AVR-GCC
> in WinAVR (starting
> with the 200407xx release, I think).  (I do include
> it into the
> FreeBSD port of AVR-GCC as well.)
> 
> I'll try to see whether I can convince the GCC folks
> that it would be
> a worthwhile official addition to GCC, but it's not
> yet clear whether
> they will accept it (although I've got a couple of
> arguments for it).
> I first have to port the patch to GCC's CVS version
> though.
> 
My experience is that most anyone that has been
programming in C for more than a few weeks can
pretty much instantly look at a hex constant and
see the bit pattern. Even though binary constants
are supported in avr-gcc I don't use them for
portability reasons.

Doug

> -- 
> cheers, J"org               .-.-.   --... ...--  
> -.. .  DL8DTL
> 
> http://www.sax.de/~joerg/                       
> NIC: JW11-RIPE
> Never trust an operating system you don't have
> sources for. ;-)
> 
> 
> _______________________________________________
> AVR-GCC-list mailing list
> address@hidden
>
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
> 





reply via email to

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