[fpc-pascal] -OoASMCSE

Bernd prof7bit at googlemail.com
Mon Jan 2 17:56:11 CET 2012


This seems to work:

http://pastebin.com/E3LYfJCx  (used with 2.6.0)

Is this how it should look like or am I doing something completely
stupid or did I forget something important? With this code (as a
replacement for asmcse) the compiler would pass the complete bootstrap
cycles without errors and it is removing quite a lot redundant mov
instructions.

BTW: wouldn't it be possible to make it not generate this redundant
code in the first place or would this again be some kind of impossible
/ overly complicated thing?

It seems to me the code is not really meant for performing complicated
analysis and operations on the generated assembly code, even the
simplest things like comparing two instructions or getting a list of
input and output registers seems so incredibly cumbersome, or is this
only my impression because I am not very familiar with this kind of
things?

Bernd



More information about the fpc-pascal mailing list