This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: [PATCH, Aarch64] Add FMA steering pass for Cortex-A57


> From: pinskia@gmail.com [mailto:pinskia@gmail.com]
> Sent: Wednesday, January 28, 2015 6:18 PM
> > +
> > +  int get_id ();
> > +  std::list<fma_root_node *> *get_roots ();
> 
> Why use std::list rather than vec?

When I experimented I realized that better code was generated
if the forests were ordered as they were encountered in the dfs.
That said children could indeed use vec as they should all be
renamed the same way, except when not possible (due to lack
of registers).

Best regards,

Thomas





Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]