[Bug optimization/7061] Alpha: Access of bytes in struct parameters

dhazeghi@yahoo.com gcc-bugzilla@gcc.gnu.org
Sun Jun 8 05:11:00 GMT 2003


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

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


dhazeghi@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


------- Additional Comments From dhazeghi@yahoo.com  2003-06-08 05:11 -------
Falk,

I don't know Alpha assembly, but here's what gcc 3.3 branch produces. I take it this is still not 
optimal? Thanks,

Dara

        .set noat
        .set noreorder
        .arch pca56
        .text
        .align 2
        .align 4
        .globl f1
        .ent f1
$f1..ng:
f1:
        .frame $30,0,$26,0
        lda $30,-16($30)
        .prologue 0
        stw $16,0($30)
        ldbu $2,0($30)
        ldbu $3,1($30)
        addl $2,$3,$0
        lda $30,16($30)
        ret $31,($26),1
        .end f1
        .align 2
        .align 4
        .globl f2
        .ent f2
$f2..ng:
f2:
        .frame $30,0,$26,0
        .prologue 0
        bis $31,$16,$1
        and $16,0xff,$2
        extbl $1,1,$3
        addl $2,$3,$0
        ret $31,($26),1
        .end f2
        .ident  "GCC: (GNU) 3.3.1 20030608 (prerelease)"



More information about the Gcc-bugs mailing list