[Lazarus] Help needed for issue #20311: IDE always tailors "Target processor" options for Intel CPUs

Sven Barth pascaldragon at googlemail.com
Fri Sep 13 10:48:12 CEST 2013


Am 13.09.2013 10:37, schrieb Mark Morgan Lloyd:
> Sven Barth wrote:
>> Am 13.09.2013 09:50, schrieb Juha Manninen:
>>> On Fri, Sep 13, 2013 at 12:10 AM, Mark Morgan Lloyd
>>> <markMLl.lazarus at telemetry.co.uk> wrote:
>>>> What do you need for this: fpc -i output?
>>> Yes, running on different CPUs. It is this section:
>>>    Supported CPU instruction sets:
>
>> Alternatively you can just take a look at the 
>> compiler/$cpu/cpuinfo.pas units where there is a tcpuinfo enum and a 
>> cputypestr array. The latter is what you can pass using -Cp.
>
> In any event, I'll work through the various compilers (running 
> natively) that I've got available to me. They won't be the most recent 
> in some cases since my "fast" Qemu system blew up, so e.g. somebody 
> else could usefully check e.g. 68k and in particular ARM.
m68k has (since a few days) the following:
68000
68020
isaa
isaa+
isab
isac
>
> Is there anything else that I could usefully grab at the same time, 
> e.g. ABI types? In particular, noting that you've fixed 
> http://bugs.freepascal.org/view.php?id=20310 but is there some variant 
> of  fpc -i  etc. that lists applicable assembler styles?
>
The assembler styles are reported in the "-h" output at "-R". They are 
adjusted for each target. The FPU type for -Cf might also be interesting 
(especially for ARM). The output is available in fpc -i as well.

Regards,
Sven




More information about the Lazarus mailing list