This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
RE: [PATCH, Aarch64] Add FMA steering pass for Cortex-A57
- From: "Thomas Preud'homme" <thomas dot preudhomme at arm dot com>
- To: <pinskia at gmail dot com>
- Cc: "GCC Patches" <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 29 Jan 2015 17:47:05 +0800
- Subject: RE: [PATCH, Aarch64] Add FMA steering pass for Cortex-A57
- Authentication-results: sourceware.org; auth=none
- References: <000401d03192$4901b7e0$db0527a0$ at arm dot com> <CA+=Sn1mUa++ZMuDGLWvT5iqr0GiqBV4ZYPzxck-V7TEuUsspFQ at mail dot gmail dot com> <000001d033e0$d9b14a30$8d13de90$ at arm dot com> <001601d03ae1$6fea40e0$4fbec2a0$ at arm dot com> <595A3A30-5E15-4A73-883B-81A5B67F0B9A at gmail dot com>
> 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