Remy Saissy wrote:
>I've looked for a target specific callback to modify but I've found
>nothing, even in the gcc internals info pages. Do you mean I would
>have to modify some code outside of the i386 directory ? Or maybe to
>add such a callback if it doesn't exist ;)
You'ld have to modify code in the main GCC directory, probably a lot
of code. Since it's target dependent, you'ld need to implement it using
a hook or hooks.
>In which file does the tree to RTL conversion code is located ?
There are several files that do this jobs. See the internals
documentation.
>Does it mean that an RTL expression which use reg: force gcc to use a
>particular pseudo register ?
Pseudo registers aren't real registers. They either get changed to real
hard registers, or memory references to stack slots. See the internals
documentation for more details.
Ross Ridge