public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Vectorize conversions directly
@ 2010-11-24 16:09 Dmitry Plotnikov
  2010-11-24 16:35 ` Dmitry Plotnikov
                   ` (2 more replies)
  0 siblings, 3 replies; 21+ messages in thread
From: Dmitry Plotnikov @ 2010-11-24 16:09 UTC (permalink / raw)
  To: gcc-patches; +Cc: rearnsha, IRAR, dm

Hi,

This patch enables vector conversions for ARM NEON architecture.  In its 
current state vectorizer can't handle type conversions in the hottest 
loop of libmp3lame on NEON since its backend doesn't have appropriate 
builtins for type conversion.  For x86_64 and rs6000 architectures that 
also can vectorize conversions the default behavior is retained.  We 
have rewritten condition in vectorizable_conversion() in 
tree-vect-stmts.c for the case of NONE modifier.  Now It first looks in 
convert_optab for suitable operation and then in builtins.  It's hard to 
make such fix in arm backend, because neon builtins are not saved and 
enumerated as it's done for x86_64 and rs6000.  Bootstrapped and 
regtested on x86_64 without any regressions.

Ok for trunk? 4.7?

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2011-12-22 13:44 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-24 16:09 [PATCH] Vectorize conversions directly Dmitry Plotnikov
2010-11-24 16:35 ` Dmitry Plotnikov
2010-11-27  4:12   ` Richard Henderson
2010-12-09 14:06     ` Dmitry Plotnikov
2010-12-10 16:05       ` Richard Henderson
     [not found]         ` <4EA04B20.1090009@ispras.ru>
2011-10-20 17:46           ` [PATCH][PING] " Richard Henderson
2011-10-21 12:23             ` Ramana Radhakrishnan
2011-10-24  9:25           ` Dmitry Plotnikov
2011-10-24 14:39             ` Joseph S. Myers
2011-10-24 15:48               ` Ramana Radhakrishnan
2011-10-24 17:11                 ` Joseph S. Myers
2011-10-28  8:51                   ` Dmitry Plotnikov
2011-10-28 15:25                     ` Richard Henderson
2011-11-08  9:16                     ` [PATCH][PING^2] " Dmitry Plotnikov
2011-11-22 13:40                       ` [PATCH][PING^3] " Dmitry Plotnikov
2011-11-22 14:04                     ` [PATCH][PING] " Ramana Radhakrishnan
2011-11-26 15:15                       ` Ira Rosen
2011-12-22 13:27                         ` Dmitry Plotnikov
2011-12-22 13:48                           ` Richard Earnshaw
2010-11-24 17:28 ` [PATCH] " Richard Guenther
2010-11-25 18:25 ` Ramana Radhakrishnan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).