On Wed, October 17, 2012 16:25, Pierre Free Pascal wrote: > You are right: > muller@deluxe:~/pas/test$ ppcsparc hello > muller@deluxe:~/pas/test$ ppcsparc hello -CpXX > Error: Illegal parameter: -CpXX > muller@deluxe:~/pas/test$ ppcsparc hello -Cp"sparc v7" > muller@deluxe:~/pas/test$ ppcsparc hello -Cp"sparc v8" > muller@deluxe:~/pas/test$ ppcsparc hello -Cp"sparc v9" > muller@deluxe:~/pas/test$ ppcsparc hello -Cp"sparc v19" > Error: Illegal parameter: -Cpsparc v19 > > But I didn't find any use of cputype current_settings field > in compiler/sparc directory sources, > so the generated result should not change...
If the field/value isn't used yet, wouldn't it make sense to change the texts so that they use an underscore instead of space? I believe that it makes life easier for everyone and helps to avoid similar questions in the future. It seems that GCC uses just v7/v8/v9 (without "SPARC") so that the space doesn't seem to come from an attempt for alignment with GCC or something like that. Regarding Marks attempt - if I understand it correctly (based on information in Wikipedia ;-) ), Sparc v7 supports no HW multiplication / division. So a simple check may be to write a one liner containing multiplication, compiling it with any ppcsparc (or ppccrosssparc) while using the -s parameter and then checking the generated assembly for use of the mul/div asm instructions... Tomas _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel