Re: [fpc-devel] about mips/mipsel chaos

2012-06-09 Thread Jonas Maebe
On 08 Jun 2012, at 17:57, Fuxin Zhang wrote: Since mipsel/mips has most of the code equal(code is endian free or use endian setting in target_info), I would like to propose make such conventions: define mips, cpumips, mips32 for use of common mips related code define mipsel/mipsel32

[fpc-devel] about mips/mipsel chaos

2012-06-08 Thread Fuxin Zhang
hi buddys, Current trunk code use both CPUMIPS/CPUMIPS32/CPUMIPSEL etc. which make it easy to be wrong. For example, now the rtl code use only CPUMIPS, so for mipsel something will be wrong. It brings me some troubles while trying to integrate patches already. Since mipsel/mips has most of

Re: [fpc-devel] about mips/mipsel chaos

2012-06-08 Thread Mark Morgan Lloyd
Fuxin Zhang wrote: hi buddys, Current trunk code use both CPUMIPS/CPUMIPS32/CPUMIPSEL etc. which make it easy to be wrong. For example, now the rtl code use only CPUMIPS, so for mipsel something will be wrong. It brings me some troubles while trying to integrate patches already. Since

Re: [fpc-devel] about mips/mipsel chaos

2012-06-08 Thread Fuxin Zhang
define mips, cpumips, mips32 for use of common mips related code define mipsel/mipsel32 for little endian cpus define mipseb/mipseb32 for big endian cpus to avoid code like if defined(mips) or defined(mipsel) ... everywhere. What do you think? If ok, I will go on to make the