>> 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 patches. > > That definitely needs comment from Jonas, Florian, or another core > developer. It's an issue I struggled with last Summer when I was trying > to work through David Zhang's code.
Yes, I agree. Some long term constants are involved. But anyway current situation needs a clean up. 64 bit MIPS processors become more popular, we might have need to support mips64 soon. el/eb * 32/64 will be a headache... > > -- > Mark Morgan Lloyd > markMLl .AT. telemetry.co .DOT. uk > > [Opinions above are the author's, not those of his employers or > colleagues] > _______________________________________________ > fpc-devel maillist - fpc-devel@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-devel > _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel