[Bug rtl-optimization/33353] Vector RTL arithmetic operations with constant arguments are not fully folded.
ubizjak at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Aug 27 08:16:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33353
Uros Bizjak <ubizjak at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
Target Milestone|--- |4.6.2
--- Comment #1 from Uros Bizjak <ubizjak at gmail dot com> 2011-08-27 08:11:22 UTC ---
This is fixed at least from gcc version 4.6.2 20110827 (prerelease) onward:
f:
.LFB0:
.cfi_startproc
subq $40, %rsp
.cfi_def_cfa_offset 48
movq %rsp, %rdi
movl $0, (%rsp)
movl $2, 4(%rsp)
movl $4, 8(%rsp)
movl $6, 12(%rsp)
movl $8, 16(%rsp)
movl $10, 20(%rsp)
movl $12, 24(%rsp)
movl $14, 28(%rsp)
call g
movq %rsp, %rdi
movl $0, (%rsp)
movl $2, 4(%rsp)
movl $4, 8(%rsp)
movl $6, 12(%rsp)
movl $8, 16(%rsp)
movl $10, 20(%rsp)
movl $12, 24(%rsp)
movl $14, 28(%rsp)
call g
addq $40, %rsp
.cfi_def_cfa_offset 8
ret
More information about the Gcc-bugs
mailing list