------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-27 
22:36 -------
Subject: Bug 19293

CVSROOT:        /cvs/gcc
Module name:    gcc
Branch:         gcc-3_4-branch
Changes by:     [EMAIL PROTECTED]       2005-01-27 22:36:00

Modified files:
        gcc            : ChangeLog 
        gcc/config/avr : avr.c avr.md 

Log message:
        PR target/19293
        PR target/19329
        * config/avr/avr.c (notice_update_cc): Only set condition code for
        ashrqi3 if shift count > 0.
        (out_shift_with_cnt): Handle shift count <= 0 as a no-op.
        (ashlqi3_out, ashlhi3_out, ashlsi3_out, ashrqi3_out, ashrhi3_out,
        ashrsi3_out, lshrqi3_out, lshrhi3_out, lshrsi3_out): Handle shift
        count <= 0 as a no-op, and shift count >= width by copying zero
        or sign bit to all bits of the result.
        * config/avr/avr.md (all shifts): Add alternatives for zero shift
        count, with attribute "length" set to 0 and "cc" set to "none".

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=2.2326.2.785&r2=2.2326.2.786
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/avr/avr.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.108.4.3&r2=1.108.4.4
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config/avr/avr.md.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.42.4.1&r2=1.42.4.2



-- 


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

Reply via email to