------- Comment #3 from hjl dot tools at gmail dot com  2009-03-12 15:47 -------
(In reply to comment #2)
> on x86_64/4.4.0 i see correct movups and weird aligned moves[*].
> 
> main:   subq    $24, %rsp
>         xorl    %edi, %edi
>         call    get_arg
>         movups  (%rax), %xmm1
>         xorl    %edi, %edi
>         movaps  %xmm1, (%rsp)               [*]

We can use movaps since stack is aligned at 16byte here.

>         call    get_arg
>         movaps  (%rsp), %xmm1               [*]

Same here.

>         movups  (%rax), %xmm0
>         call    sse_func
>         addq    $24, %rsp
>         ret
> 


-- 


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

Reply via email to