Thursday, June 29, 2006

More programs compiled!

Today I got more programscompiled correctly. One of the problems that was happening was that I was not saving the caller save registers. I have discovered this after talking to my mentor and to Mr. Lattner. Now I am trying not to use the caller save registers to allocate data. This allows me to compile correctly the programs in the test directory. Check them out. They include the famous "Hello, world!", and many of its variations, such as "Hello, there!" and "Hello, darling". The last one was this one here. Thank you, Daniel, and Chris. But, up to know, my register allocator does not spill, nor destroy phi functions. This means that I only can compile strait line code, and the register pressure cannot be very high. I will address spilling and phi elimination in the coming days. PHI elimination will come first.

0 Comments:

Post a Comment

<< Home