Re: Extending a backend

2008-10-03 Thread Gobaan_Raveendran
I basically need to test the retarget ability of named address spaces, and it was determined that the best way to do this was to attempt to have the SPU implementation spit out a few assembly mnemonics that resemble what our architecture uses to handle multiple address spaces(hence the loads and s

Re: Extending a backend

2008-10-02 Thread Ben Elliston
> Load rt, s2(s18) > Store s2(s18), rc > > However after searching and reading a lot of documentation, I still cannot > figure out all the files that need to be editted in order for gcc to output > an instruction and understand how that instruction works. Currently I have > it detecting the 'store

Extending a backend

2008-10-02 Thread Gobaan_Raveendran
Hello everyone, As a proof of concept, I am trying to extend the gcc spu backend to produce a few new assembly instructions, specifically loads and stores of the form Load rt, s2(s18) Store s2(s18), rc However after searching and reading a lot of documentation, I still cannot figure out all the