This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug rtl-optimization/7061] Access of bytes in struct parameters



------- Comment #5 from rth at gcc dot gnu dot org  2005-11-02 08:09 -------
And there is nothing Alpha specific about this.  Any target which passes
structures in registers can show it.  For instance, ia64:

f1:
        .prologue
        .body
        .mmi
        st2 [r12] = r32
        nop 0
        mov r14 = r12
        ;;
        .mmi
        ld1 r15 = [r14], 1
        ;;
        ld1 r8 = [r14]
        nop 0
        ;;
        .mib
        nop 0
        add r8 = r8, r15
        br.ret.sptk.many b0
        .endp f1#
        .align 16
        .global f2#
        .proc f2#
f2:
        .prologue
        .body
        .mii
        nop 0
        extr.u r8 = r32, 8, 8
        zxt1 r32 = r32
        ;;
        .mib
        nop 0
        add r8 = r8, r32
        br.ret.sptk.many b0


-- 

rth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   GCC host triplet|alphapca56-*-linux-gnu      |
 GCC target triplet|alphapca56-*-linux-gnu      |
            Summary|Alpha: Access of bytes in   |Access of bytes in struct
                   |struct parameters           |parameters


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]