This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: generate assembly mnemonic depending the resource allocation
- From: Ian Lance Taylor <iant at google dot com>
- To: aturjan at yahoo dot com
- Cc: "gcc\ at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Wed, 03 Dec 2008 08:01:53 -0800
- Subject: Re: generate assembly mnemonic depending the resource allocation
- References: <779850.17514.qm@web62402.mail.re1.yahoo.com>
Alex Turjan <aturjan@yahoo.com> writes:
> Im now looking the in gcc mainline to find when an instruction (with
> alternative resource utilizations) is issued which of the resources
> are used.
This is described using define_insn_reservation and so forth in the MD
file. This is well documented in the internals manual. This permits
a relatively simple form of VLIW scheduling. Real machines tend to
require additional tweaking in the machine-reorg pass or the final
pass.
Ian