From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15620 invoked by alias); 16 Nov 2002 10:16:07 -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 15599 invoked by uid 71); 16 Nov 2002 10:16:04 -0000 Resent-Date: 16 Nov 2002 10:16:04 -0000 Resent-Message-ID: <20021116101604.15597.qmail@sources.redhat.com> Resent-From: gcc-gnats@gcc.gnu.org (GNATS Filer) Resent-Cc: gcc-prs@gcc.gnu.org, gcc-bugs@gcc.gnu.org, "Falk Hueffner" Resent-Reply-To: gcc-gnats@gcc.gnu.org, 161432@bugs.debian.org Received: (qmail 15413 invoked from network); 16 Nov 2002 10:14:20 -0000 Received: from unknown (HELO mail.cs.tu-berlin.de) (130.149.17.13) by sources.redhat.com with SMTP; 16 Nov 2002 10:14:20 -0000 Received: from smile.cs.tu-berlin.de (mail@smile.cs.tu-berlin.de [130.149.19.24]) by mail.cs.tu-berlin.de (8.9.3/8.9.3) with ESMTP id LAA08679; Sat, 16 Nov 2002 11:09:19 +0100 (MET) Received: from doko by smile.cs.tu-berlin.de with local (Exim 3.35 #1 (Debian)) id 18Czt9-0001i8-00; Sat, 16 Nov 2002 11:09:19 +0100 Message-Id: Date: Fri, 22 Nov 2002 08:03:00 -0000 From: Matthias Klose Reply-To: 161432@bugs.debian.org To: gcc-gnats@gcc.gnu.org, debian-gcc@lists.debian.org Cc: "Falk Hueffner" X-Send-Pr-Version: 3.113 X-GNATS-Notify: "Falk Hueffner" Subject: target/8603: Alpha: s?addl pattern doesn't work X-SW-Source: 2002-11/txt/msg00823.txt.bz2 List-Id: >Number: 8603 >Category: target >Synopsis: Alpha: s?addl pattern doesn't work >Confidential: no >Severity: non-critical >Priority: low >Responsible: unassigned >State: open >Class: pessimizes-code >Submitter-Id: net >Arrival-Date: Sat Nov 16 02:16:03 PST 2002 >Closed-Date: >Last-Modified: >Originator: "Falk Hueffner" >Release: 3.2.1 (Debian) (Debian unstable) >Organization: The Debian Project >Environment: System: Debian GNU/Linux (unstable) Architecture: alpha host: alpha-linux Configured with: /home/packages/gcc/3.2/gcc-3.2-3.2.1ds5/src/configure -v --enable-languages=c,c++,java,f77,proto,objc,ada --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm --enable-objc-gc alpha-linux >Description: [ Reported to the Debian BTS as report #161432. Please CC 161432@bugs.debian.org on replies. Log of report can be found at http://bugs.debian.org/161432 ] [ gcc version was gcc-3.2 branch 20020913 ] the s?addl and s?subl patterns don't work, as illustrated by these programs: falk@juist:/tmp% cat test.c int f(int x, int y) { return 4 * x + y; } int g(int x) { return 3 * x; } falk@juist:/tmp% gcc-3.2 -O3 -c test.c falk@juist:/tmp% objdump -d test.o test.o: file format elf64-alpha Disassembly of section .text: 0000000000000000 : 0: 41 04 11 42 s4addq a0,a1,t0 4: 00 00 3f 40 addl t0,zero,v0 8: 01 80 fa 6b ret c: 00 00 fe 2f unop 0000000000000010 : 10: 61 05 10 42 s4subq a0,a0,t0 14: 00 00 3f 40 addl t0,zero,v0 18: 01 80 fa 6b ret 1c: 00 00 fe 2f unop >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: >Unformatted: