From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9579 invoked by alias); 8 Aug 2002 00:36:02 -0000 Mailing-List: contact gcc-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-prs-owner@gcc.gnu.org Received: (qmail 9560 invoked by uid 71); 8 Aug 2002 00:36:01 -0000 Date: Wed, 07 Aug 2002 20:16:00 -0000 Message-ID: <20020808003601.9559.qmail@sources.redhat.com> To: nobody@gcc.gnu.org Cc: gcc-prs@gcc.gnu.org, From: Dick Wesseling Subject: Re: target/7533: gcc 3.0.2 h8300 right shift 15 is wrong Reply-To: Dick Wesseling X-SW-Source: 2002-08/txt/msg00152.txt.bz2 List-Id: The following reply was made to PR target/7533; it has been noted by GNATS. From: Dick Wesseling To: gcc-gnats@gcc.gnu.org, nobody@gcc.gnu.org Cc: Subject: Re: target/7533: gcc 3.0.2 h8300 right shift 15 is wrong Date: Thu, 08 Aug 2002 02:32:26 +0200 This is a multipart MIME message. --==_Exmh_-7999550880 Content-Type: text/plain; charset=us-ascii I hate to admit this, but I was a bit too trigger-happy with my patch. That 'r' should have been a 'T'. Here is the correct patch --==_Exmh_-7999550880 Content-Type: text/plain ; name="h8300-gcc-3.0.2-patch"; charset=us-ascii Content-Description: h8300-gcc-3.0.2-patch Content-Transfer-Encoding: quoted-printable *** gcc-3.0.2/gcc/config/h8300/h8300.c.orig Wed Nov 21 18:09:08 2001 --- gcc-3.0.2/gcc/config/h8300/h8300.c Thu Aug 8 01:48:15 2002 *************** *** 2477,2487 **** { case SHIFT_ASHIFT: info->special =3D "shlr.w\t%e0\n\tmov.w\t%f0,%e0\n\txor.w\t%f0,%= f0\n\trotxr.l\t%S0"; goto end; case SHIFT_LSHIFTRT: ! info->special =3D "shll.w\t%e0\n\tmov.w\t%e0,%f0\n\txor.w\t%e0,%= e0\n\trotxl.l\t%S0"; goto end; } } else if ((TARGET_H8300 && count =3D=3D 16) || (TARGET_H8300H && 16 <=3D count && count <=3D 19) --- 2477,2487 ---- { case SHIFT_ASHIFT: info->special =3D "shlr.w\t%e0\n\tmov.w\t%f0,%e0\n\txor.w\t%f0,%= f0\n\trotxr.l\t%S0"; goto end; case SHIFT_LSHIFTRT: ! info->special =3D "shll.w\t%T0\n\tmov.w\t%e0,%f0\n\txor.w\t%e0,%= e0\n\trotxl.l\t%S0"; goto end; } } else if ((TARGET_H8300 && count =3D=3D 16) || (TARGET_H8300H && 16 <=3D count && count <=3D 19) --==_Exmh_-7999550880--