[Mono-dev] Building Mono on Linux/Alpha

Sergey Tikhonov tsv at solvo.ru
Thu Sep 7 09:48:19 EDT 2006


Zoltan Varga wrote:

>                                Hi,
>
>  The local register allocator can't do instruction scheduling. I think 
> the

Yes, I understand that. I was not expecting register allocator to do 
instruction scheduling. :)
My first question was - is there way to ask it to use different physical 
registers
for next instruction or reserve it for next n (where in n - 
configuriable) instructions. In my example it
would not use the same register (from 2nd instruction) for 3rd 
instuction. As far as I recall it is called
read/write dependency and if it was defferent register alpha would 
schedule the 3rd instruction with the 2nd
at the same time. I think it might be true for other arches too. This is 
just a thought.

> OP_LCONV_TO_I4 rule is wrong, it should use OP_ISHR_IMM. For some reason
> it seems to work on the existing 64 bit ports.

I guess this is because the next instructions is one of store to memory 
or move to another register as 32bit integer.
I stepped on it because alpha doesn't have 32bit compare and my 
not-negative 64 int wasn't converted and long
compare failed.

Regards,

-- 
Sergey Tikhonov

Solvo Ltd.
Saint-Petersburg, Russia
tsv at solvo.ru




More information about the Mono-devel-list mailing list