[...@gnu-6 avx-abi]$ cat x5.i
typedef long long __m256i __attribute__ ((__vector_size__ (32),
__may_alias__));


__m256i
bar (__m256i x)
{
  return x;
}
[...@gnu-6 avx-abi]$ /export/build/gnu/gcc-avx/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc-avx/build-x86_64-linux/gcc/ -mavx 
-fno-asynchronous-unwind-tables -O2 x5.i -S -o x5.s
[...@gnu-6 avx-abi]$ cat x5.s
        .file   "x5.i"
        .text
        .p2align 4,,15
.globl bar
        .type   bar, @function
bar:
        pushq   %rbp
        movq    %rsp, %rbp
        andq    $-32, %rsp
        leave
        ret
        .size   bar, .-bar

Is that possible to avoid stack alignment here?


-- 
           Summary: Unnecessary stack alignment
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hjl dot tools at gmail dot com


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

Reply via email to