Well from what I can tell the THUMB or 'THUMB-2' is interchangable with both ARM7 and ARM9 and even ARM10 architectures. So later optimizing for ARM7, 9 and 10 specific hardware features might improve some speed and codesize further along in the near future instead of trying to add the features that will become already available due to this work here.

In short, if we work towards implimenting THUMB-2 together with FPK now, we can get it working and later on leave the worrying about ARM sub-architectures optimizations later.

Thats how we did it with FPC4GBA, right?

The problem I have is, I've lost track of where we are with FPC's sources (haven't dabbled in the source since 1.9 of FPC and the first version of the FPC4GBA mod I made last year) and this part is out of my experience level. But I'm willing to learn if you are.

Worst case scenario, I we can all wait until I'm in my 3rd or 4th year of university and I'll start to learn how to make a completely new compiler from scratch let alone modify FPC. :lol: