This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/33353] Vector RTL arithmetic operations with constant arguments are not fully folded.
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 27 Aug 2011 08:11:22 +0000
- Subject: [Bug rtl-optimization/33353] Vector RTL arithmetic operations with constant arguments are not fully folded.
- Auto-submitted: auto-generated
- References: <bug-33353-4@http.gcc.gnu.org/bugzilla/>
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