[fpc-devel] Testing MIPS: newbie questions
Mark Morgan Lloyd
markMLl.fpc-devel at telemetry.co.uk
Mon Oct 15 17:51:11 CEST 2012
Pierre Free Pascal wrote:
>> -----Message d'origine-----
>> De : fpc-devel-bounces at lists.freepascal.org [mailto:fpc-devel-
>> bounces at lists.freepascal.org] De la part de Mark Morgan Lloyd
>> Envoyé : lundi 15 octobre 2012 15:39
>> À : fpc-devel at lists.freepascal.org
>> Objet : [fpc-devel] Testing MIPS: newbie questions
>> In trunk, is there any particular reason why tbs/tb0072.pp refers to
>> CPUSMIPS rather than CPUMIPS?
> This is probably an error on my side :(
> Fixed in rev 22655,
> thanks for noticing!
>> I notice that in system.pp and in linux/ptypes.inc etc., conditionals
>> refer to CPUMIPS while in other places they refer to CPUMIPS32 and/or
>> CPUMIPSEL32. Is this correct?
> CPUMIPS is defined for both mips big endian and little endian targets,
> CPUMIPSEL is defined only for little endian mips target,
> CPUMIPSEB is defined only for big endian mips target.
> CPUMIPS32 is here to specify that it is a 32bit system,
> and to possibly separate out future 64bit specific code.
> (Nothing ready on this side yet...)
> I am not sure all of the uses in rtl are really correct
> (in the sense that they apply to the right sub-category of target...)
> Please do not hesitate to report all suspicious instances.
> There are still plenty of bug in the code generator,
> help would be most appreciated!
Thanks for that. What I actually started with this morning was
revisiting http://wiki.lazarus.freepascal.org/Native_MIPS_Systems and
trying to crossbuild the RTL. I'm afraid that I didn't get very far
which led me to look at the defines... should this work yet, or is a
full test run a prerequisite?
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk
[Opinions above are the author's, not those of his employers or colleagues]
More information about the fpc-devel