Op Thu, 15 Sep 2005, schreef [EMAIL PROTECTED]:
> I have some questions regarding porting of FPC to another machine type.
> One of the things I am considering doing is the "pushing" of more of the
> code processing onto the assembler, and whether this might be a better
> idea, or if it was thought about and rejected for some reasons and it
> might be worth noting if it was thought about.
>
> For example, I am thinking that code such as
>
> if xray = 5 then
> do_something
> else
> do_something_else;
The compiler already does use such a structure, i.e. the highlevel
(node) code generator calls routines in the backend codegenerator which
output the actual assembler instructions.
If you would output a macro instead of the indivudual instructions you
would get what you describe. The current approach is at least as flexible
though, so I see little benefit.
Daniël
_______________________________________________
fpc-devel maillist - [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel