This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug optimization/11259] [avr] gcc Double 'andi' missed optimization


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11259



------- Additional Comments From chris at westnet dot com  2003-07-06 03:03 -------
Subject: Re:  [avr] gcc Double 'andi' missed optimization


e.i

 --------------------------------

# 1 "e.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "e.c"
# 1 "/usr/local/avr/include/avr/io.h" 1 3
# 81 "/usr/local/avr/include/avr/io.h" 3
# 1 "/usr/local/avr/include/avr/sfr_defs.h" 1 3
# 82 "/usr/local/avr/include/avr/io.h" 2 3
# 189 "/usr/local/avr/include/avr/io.h" 3
# 1 "/usr/local/avr/include/avr/io8535.h" 1 3
# 190 "/usr/local/avr/include/avr/io.h" 2 3
# 2 "e.c" 2
# 1 "/usr/local/avr/include/inttypes.h" 1 3
# 60 "/usr/local/avr/include/inttypes.h" 3
typedef signed char int8_t;




typedef unsigned char uint8_t;
# 83 "/usr/local/avr/include/inttypes.h" 3
typedef int int16_t;




typedef unsigned int uint16_t;
# 99 "/usr/local/avr/include/inttypes.h" 3
typedef long int32_t;




typedef unsigned long uint32_t;
# 117 "/usr/local/avr/include/inttypes.h" 3
typedef long long int64_t;




typedef unsigned long long uint64_t;
# 134 "/usr/local/avr/include/inttypes.h" 3
typedef int16_t intptr_t;




typedef uint16_t uintptr_t;
# 3 "e.c" 2


int8_t test ()
{

        uint8_t Encoder;

        Encoder = ((*(volatile unsigned char *)((0x12) + 0x20)) >> 4) & 12;
        return(Encoder);

}


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]