|
From: Florian K. <br...@ac...> - 2012-09-17 18:39:36
|
On 09/17/2012 08:18 AM, Petar Jovanovic wrote: > Hi everyone, > > Loongson platform has some specifics which diverge from MIPS32 spec. > This mostly relates to usage of odd registers in FPU instructions, and thus > we should (mostly) avoid use of odd single precision FP registers for Loongson. > > Thus, a fix (see down below) for this can be made in getAllocableRegs_MIPS. > It would be, however, nice to have that change conditional to Loongson platform, > but VexArchInfo is not available at that point. > So this is a 64-bit architecture, right? Then you would have another architecture entry: VexArchMIPS64 -- similar to what is done for PPC. If you do that then you can have a specific getAllocableRegs function for that architecture and use that in main_main.c Florian |