From: Arthur Stoutchinin <Arthur.Stoutchinin@xxxxxx>
Good day,
We're trying to retarget the Pro64 for another processor than IA64.
We noticed that the WHIRL tree is built in parallel to the rtl
representation
of GCC. We do not really need the rtl but in order to build the compiler
one
needs to provide the gnu/config/TARG/TARG.md file based on which some
rtl structures are generated.
Question: what are the informations in the gnu/config/ia64/ia64.md
usefull
for the Pro64 WHIRL generation (if any). Would it create a problem if we
used the ia64.md in hope that the rtl is entirely dummy here ?
thank you,
Arthur Stoutchinin
In general, this is just dummy code that is created as part of the
gcc processing, but we do our translation from the parse trees, not the rtl.
So I think you could use the ia64 rtl definition (but I haven't tried
doing such a thing, so there might be problems). There are other
people on this list doing what you want to do, so they should know
what is involved. The one place where it might be important to
have your own rtl is if you wanted to support asm statements for
your processor.
-- Mike Murphy
-- mpm@xxxxxxx
-- quote of the day:
-- "Nearly all men can stand adversity, but if you want to test a
-- man's character, give him power." (Abraham Lincoln)
|