>Submitter-Id: net >Originator: "Falk Hueffner" <[EMAIL PROTECTED]> >Organization: The Debian Project >Confidential: no >Synopsis: >Severity: non-critical >Priority: low >Category: target >Class: pessimizes-code >Release: 3.2.1 (Debian) (Debian unstable) >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 [EMAIL PROTECTED] 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: [EMAIL PROTECTED]:/tmp% cat test.c int f(int x, int y) { return 4 * x + y; } int g(int x) { return 3 * x; } [EMAIL PROTECTED]:/tmp% gcc-3.2 -O3 -c test.c [EMAIL PROTECTED]:/tmp% objdump -d test.o test.o: file format elf64-alpha Disassembly of section .text: 0000000000000000 <f>: 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 <g>: 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: