The sources of the Free Pascal compiler, RTL, packages and utilities. See https://www.freepascal.org/ for more info.
Go to file
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
compiler 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
ide Fix option passing for freebsd ans netbsd, add -Xd for linux also 2013-08-13 14:10:34 +00:00
installer Regenerate all Makefiles with an up-to-date fpcmake binary 2013-04-29 12:38:48 +00:00
packages fcl-db: tests: fix TestStreamingNullFieldsXML (only fields which are not required and not readonly can be set to Null) 2013-09-11 12:05:20 +00:00
rtl * GetScreenCursor (and all places where it's called) var parameters changed to smallint, which is more optimal on i8086 2013-09-11 14:51:59 +00:00
tests + added an i8086 test tfarcal1.pp, which tests calling a far procedure from within inline asm code 2013-09-08 13:43:52 +00:00
utils * synchronized with trunk up to and including r25430 2013-09-06 10:09:26 +00:00
.gitattributes + added an i8086 test tfarcal1.pp, which tests calling a far procedure from within inline asm code 2013-09-08 13:43:52 +00:00
.gitignore * more finegrained parallelism support for testsuite runs: the tests are no 2012-06-03 17:56:28 +00:00
fpmake_add1.inc * Handle the location of each package at run-time, not at compilation time 2013-06-02 17:55:23 +00:00
fpmake_proc1.inc * Handle the location of each package at run-time, not at compilation time 2013-06-02 17:55:23 +00:00
fpmake.pp * Handle the location of each package at run-time, not at compilation time 2013-06-02 17:55:23 +00:00
Makefile * Fixed cross-installation after r24625. 2013-05-28 12:55:25 +00:00
Makefile.fpc * Fixed cross-installation after r24625. 2013-05-28 12:55:25 +00:00