This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Include facility for .md files - altivec patches
On Wed, 14 Nov 2001, Aldy Hernandez wrote:
> >>>>> "Geoff" == Geoff Keating <geoffk@geoffk.org> writes:
>
> alan can you provide an example on how to use this. I want to move
> all the altivec stuff outside of the .md file.
>
It's pretty simple.
My i386.md contains:
;; Scheduling
(include "sched.inc")
;; Compare instructions.
(include "compare.inc")
sched contains
(include "SCHED/part1.inc")
(include "SCHED/part2.inc")
(include "SCHED/part3.inc")
(include "SCHED/part4.inc")
(include "SCHED/part5.inc")
There is a subdirectory gcc/config/i386/SCHED
that contains part1.inc etc..
You can also specify the directories with -Ipathname as usual when you invoke
the gen* tools if you like.
Alan Matsuoka
GCC Engineering
Red Hat Canada, Ltd
mailto:alanm@redhat.com Tel: (416) 482-2661 x250 / Fax: (416) 482-6299