[Top][All Lists]

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

[avr-libc-dev] [Bug #2111] Enhancement of code in sfr_defs.h

From: nobody
Subject: [avr-libc-dev] [Bug #2111] Enhancement of code in sfr_defs.h
Date: Thu, 02 Jan 2003 12:36:03 -0500

=================== BUG #2111: FULL BUG SNAPSHOT ===================

Submitted by: None                      Project: AVR C Runtime Library          
Submitted on: 2003-Jan-02 12:36
Category:  Header                       Severity:  5 - Major                    
Bug Group:  None                        Resolution:  None                       
Assigned to:  None                      Originator Email:  address@hidden
Status:  Open                           

Summary:  Enhancement of code in sfr_defs.h

Original Submission:  In  sfr_defs.h, the bit_is_clear macro is declared as 
#define bit_is_clear(sfr, bit) (~inb(sfr) & _BV(bit))
 If I watch code generated by compiler, the code is not sufficient. But 
with this macro the size of code is decreazed (I ve just tested that on atmega 
#define bit_is_clear(sfr,bit)   !bit_is_set(sfr,bit)
Have you the same results and do you think it's interesting to replace the old 
version with this version ?

Best regards


No Followups Have Been Posted

CC list is empty

No files currently attached

For detailed info, follow this link:

reply via email to

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