[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] SBI an CBI optimizations
From: |
Trampas |
Subject: |
[avr-gcc-list] SBI an CBI optimizations |
Date: |
Thu, 7 Jul 2005 10:39:58 -0400 |
I am using WinAvr GCC 3.4.3 so this may have been fixed in 4.0, but I have
noticed that the compiler does not optimize the following:
#define DISABLE_INTO_ISR() {GIMSK=GIMSK & ~(1<<INT0);}
176:rs485.c **** DISABLE_INTO_ISR();
247 .LM24:
248 0086 8BB7 in r24,91-0x20
249 0088 8F7B andi r24,lo8(-65)
250 008a 8BBF out 91-0x20,r24
That is unless I am mistaken this can be done with a CBI instruction?
Thanks
Trampas
- [avr-gcc-list] double precision bit representation, Kitts, 2005/07/06
- [avr-gcc-list] Re: double precision bit representation, Volkmar Dierkes, 2005/07/06
- Re: [avr-gcc-list] double precision bit representation, Parthasaradhi Nayani, 2005/07/06
- Re: [avr-gcc-list] double precision bit representation, Bjarne Laursen, 2005/07/07
- [avr-gcc-list] SBI an CBI optimizations,
Trampas <=
- Re: [avr-gcc-list] SBI an CBI optimizations, Jeff Barlow, 2005/07/07
- RE: [avr-gcc-list] SBI an CBI optimizations, Trampas, 2005/07/07