fpc/compiler/m68k
svenbarth 6f5a648516 Improve the cpu type handling for M68k just in case we should branch 2.8.0 before I can start working on M68k again.
Therefor the cpu type (-Cp...) "coldfire" was split up into "isaa", "isaa+", "isab" and "isac". The Linux RTL can currently compiled for "68020", "isab" and "isac". For the other three Bcc.L must be handled differently (only Bcc.B/W supported) and for "68000" also EXT.L needs to be handled differently.

fpcdefs.inc:
  + define CPUCAPABILITIES if capabilities can be set for a certain CPU type (currently ARM, AVR and M68k)
options.pas:
  * check for CPUCAPABILITIES instead of specific CPUs
assemble.pas:
  - the handling of the CPU type is already done in m68k/ag68kgas.pas, Tm68kGNUAssembler.MakeCmdLine (and thereby already using the gascputypestr array!)
m68k/cpuinfo.pas:
  - tcputype: remove "cpu_coldfire"
  + tcputype: add "cpu_isa_a", "cpu_isa_a_p", "cpu_isa_b" and "cpu_isa_c"
  + add "cpu_coldfire" constant which contains all Coldfire specific cpu types
  * adjust "cputypestr" and  "gascputypestr"
  + add tcpuflags and cpu_capabilities (DBRA restriction was checked with CPUCOLDFIRE, CAS/TAS will be needed for atomic operations and BRAL restriction was discovered during testing of new cpu types)
m68k/cgcpu.pas:
  * adjust checks for "cpu_coldfire"
m68k/n68kadd.pas:
  * don't use a BRA.L if it is not supported, but (at least for now) a BRA.W
aggas.pas:
  * adjusted check for Coldfire

git-svn-id: trunk@25457 -
2013-09-11 17:07:32 +00:00
..
aasmcpu.pas Fix comparisons (aka usage of flag/CCR register) 2013-01-14 20:31:15 +00:00
ag68kgas.pas Use GasCpuTypeStr array: GAS uses different names for cpu variants 2012-12-18 15:04:57 +00:00
aoptcpu.pas
aoptcpub.pas * RefsHaveIndexReg -> cpurefshaveindexreg 2012-03-10 19:43:52 +00:00
aoptcpud.pas
cgcpu.pas Improve the cpu type handling for M68k just in case we should branch 2.8.0 before I can start working on M68k again. 2013-09-11 17:07:32 +00:00
cpuasm.pas
cpubase.pas Use TRegNameTable instead of array[tregisterindex] of string[10] 2012-10-22 10:23:21 +00:00
cpuinfo.pas Improve the cpu type handling for M68k just in case we should branch 2.8.0 before I can start working on M68k again. 2013-09-11 17:07:32 +00:00
cpunode.pas
cpupara.pas * don't use the paracgsize in get_paraloc_def(), because it generally 2013-06-02 14:05:07 +00:00
cpupi.pas Use the correct frame pointer register: A6 on Unixes and A5 on everything else. The only 2012-10-18 20:11:49 +00:00
cputarg.pas Add debugging generation ability for m68k compiler 2012-12-18 15:57:40 +00:00
hlcgcpu.pas * create/destroy also the high level code generator for all architectures, 2011-08-20 07:21:16 +00:00
itcpugas.pas
m68kreg.dat
n68kadd.pas Improve the cpu type handling for M68k just in case we should branch 2.8.0 before I can start working on M68k again. 2013-09-11 17:07:32 +00:00
n68kcal.pas
n68kcnv.pas Also handle fpu_soft 2012-12-18 15:06:24 +00:00
n68kmat.pas m68k/n68kmat.pas, tm68kshlshrnode.first_shlshr64bitint: 2013-01-13 19:33:23 +00:00
r68kcon.inc
r68kgas.inc
r68kgri.inc
r68knor.inc
r68knum.inc
r68krni.inc
r68ksri.inc
r68ksta.inc
r68kstd.inc
r68ksup.inc
ra68k.pas
ra68kmot.pas - Removed ConcatPasString procedure, it duplicates ConcatString (it the past they probably used to differ, but today both preserve null characters). 2013-02-25 22:09:39 +00:00
rgcpu.pas