mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-24 21:09:50 +01:00
fixes a couple of arm-embedded stuff, adds some controllers, start of fpv4_s16 support, for a complete list of changes see below: ------------------------------------------------------------------------ r22787 | laksen | 2012-10-20 22:00:36 +0200 (Sa, 20 Okt 2012) | 1 line Properly do NR_DEFAULTFLAGS detection/allocation/deallocation ------------------------------------------------------------------------ r22782 | laksen | 2012-10-20 07:44:55 +0200 (Sa, 20 Okt 2012) | 1 line Fixed flags detections code for wide->short optimization code for Thumb-2 ------------------------------------------------------------------------ r22778 | laksen | 2012-10-19 20:23:14 +0200 (Fr, 19 Okt 2012) | 1 line Added coprocessor registers, and support for 6 operands(MCR/MRC instructions, etc) ------------------------------------------------------------------------ r22647 | laksen | 2012-10-14 21:28:08 +0200 (So, 14 Okt 2012) | 1 line Added register specifications to lpc1768.pp. From Joan Duran ------------------------------------------------------------------------ r22646 | laksen | 2012-10-14 21:10:20 +0200 (So, 14 Okt 2012) | 4 lines Fixed some minor formating issues Implemented a small heap mananger Implemented console IO Changed default LineEnding to CrLf(to ease console IO parsing) ------------------------------------------------------------------------ r22599 | laksen | 2012-10-09 08:58:58 +0200 (Di, 09 Okt 2012) | 1 line Added all STM32F1 configurations ------------------------------------------------------------------------ r22597 | laksen | 2012-10-08 22:10:45 +0200 (Mo, 08 Okt 2012) | 1 line Added initial support for the Cortex-M4F FPv4_S16 FPU ------------------------------------------------------------------------ r22596 | laksen | 2012-10-08 22:04:14 +0200 (Mo, 08 Okt 2012) | 1 line Added FPv4_d16 FPU instructions, and a few extra registers ------------------------------------------------------------------------ r22592 | laksen | 2012-10-08 16:07:40 +0200 (Mo, 08 Okt 2012) | 2 lines Added support for IT block merging Added a peephole pattern check for UXTB->UXTH chains ------------------------------------------------------------------------ r22590 | laksen | 2012-10-08 14:30:00 +0200 (Mo, 08 Okt 2012) | 3 lines Add CBNZ/CBZ instructions Create preliminary Thumb-2 PeepHoleOptPass2 code, hacked together from the ARM mode code Added a number of simple size optimizations for common Thumb-2 instructions ------------------------------------------------------------------------ r22582 | laksen | 2012-10-08 06:49:39 +0200 (Mo, 08 Okt 2012) | 3 lines Fix optimizations of Thumb-2 code Fix problem with loading of condition operand for IT instructions Properly split IT blocks when register allocator tries to spill inside a block. ------------------------------------------------------------------------ r22581 | laksen | 2012-10-08 05:15:40 +0200 (Mo, 08 Okt 2012) | 4 lines Fixed assembler calling command line for cpus>ARMv5TE. EDSP instructions will generate errors while assembling, due to RTL assembler routines Updated boot code for all Cortex-M3 controllers, and sc32442b to use weak linking for exception tables. Cortex-M3 devices now also share initialization routine to simplify maintenance STM32F10x classes now have specific units which fit the interrupt source names and counts ------------------------------------------------------------------------ r22580 | laksen | 2012-10-08 05:10:44 +0200 (Mo, 08 Okt 2012) | 2 lines Added support for .section, .set, .weak, and .thumb_set directive for GAS assembler reader IFDEF'ed JVM specific assembler directives, to prevent ait_* set to exceed 32 elements ------------------------------------------------------------------------ r22579 | laksen | 2012-10-08 02:10:52 +0200 (Mo, 08 Okt 2012) | 3 lines Remove all traces of the interrupt vector table generation mechanism Clean up cpuinfo tables Fixed ARMv7M bug(BLX <label> doesn't exist on that version) git-svn-id: trunk@22792 - |
||
|---|---|---|
| .. | ||
| alpha | ||
| arm | ||
| avr | ||
| generic | ||
| html | ||
| i386 | ||
| ia64 | ||
| jvm | ||
| m68k | ||
| mips | ||
| msg | ||
| powerpc | ||
| powerpc64 | ||
| ppcgen | ||
| sparc | ||
| systems | ||
| utils | ||
| vis | ||
| x86 | ||
| x86_64 | ||
| aasmbase.pas | ||
| aasmdata.pas | ||
| aasmsym.pas | ||
| aasmtai.pas | ||
| aggas.pas | ||
| agjasmin.pas | ||
| aopt.pas | ||
| aoptbase.pas | ||
| aoptcs.pas | ||
| aoptda.pas | ||
| aoptobj.pas | ||
| asmutils.pas | ||
| assemble.pas | ||
| browcol.pas | ||
| bsdcompile | ||
| catch.pas | ||
| ccharset.pas | ||
| cclasses.pas | ||
| cfidwarf.pas | ||
| cfileutl.pas | ||
| cg64f32.pas | ||
| cgbase.pas | ||
| cghlcpu.pas | ||
| cgobj.pas | ||
| cgutils.pas | ||
| cmsgs.pas | ||
| comphook.pas | ||
| compiler.pas | ||
| compinnr.inc | ||
| comprsrc.pas | ||
| constexp.pas | ||
| COPYING.txt | ||
| cp437.pas | ||
| cp646.pas | ||
| cp850.pas | ||
| cp866.pas | ||
| cp1251.pas | ||
| cp1252.pp | ||
| cp8859_1.pas | ||
| cp8859_5.pas | ||
| cpid.pas | ||
| crefs.pas | ||
| cresstr.pas | ||
| cstreams.pas | ||
| cutils.pas | ||
| cwindirs.pp | ||
| dbgbase.pas | ||
| dbgdwarf.pas | ||
| dbgstabs.pas | ||
| dbgstabx.pas | ||
| defcmp.pas | ||
| defutil.pas | ||
| export.pas | ||
| expunix.pas | ||
| finput.pas | ||
| fmodule.pas | ||
| fpccrc.pas | ||
| fpcdefs.inc | ||
| fppu.pas | ||
| gendef.pas | ||
| globals.pas | ||
| globstat.pas | ||
| globtype.pas | ||
| hlcg2ll.pas | ||
| hlcgobj.pas | ||
| htypechk.pas | ||
| impdef.pas | ||
| import.pas | ||
| ldscript.pas | ||
| link.pas | ||
| macho.pas | ||
| machoutils.pas | ||
| Makefile | ||
| Makefile.fpc | ||
| MPWMake | ||
| msgidx.inc | ||
| msgtxt.inc | ||
| nadd.pas | ||
| nbas.pas | ||
| ncal.pas | ||
| ncgadd.pas | ||
| ncgbas.pas | ||
| ncgcal.pas | ||
| ncgcnv.pas | ||
| ncgcon.pas | ||
| ncgflw.pas | ||
| ncginl.pas | ||
| ncgld.pas | ||
| ncgmat.pas | ||
| ncgmem.pas | ||
| ncgnstld.pas | ||
| ncgnstmm.pas | ||
| ncgobjc.pas | ||
| ncgopt.pas | ||
| ncgrtti.pas | ||
| ncgset.pas | ||
| ncgutil.pas | ||
| ncnv.pas | ||
| ncon.pas | ||
| nflw.pas | ||
| ngenutil.pas | ||
| ngtcon.pas | ||
| ninl.pas | ||
| nld.pas | ||
| nmat.pas | ||
| nmem.pas | ||
| nobj.pas | ||
| nobjc.pas | ||
| node.pas | ||
| nopt.pas | ||
| nset.pas | ||
| nstate.pas | ||
| nutils.pas | ||
| objcdef.pas | ||
| objcgutl.pas | ||
| objcutil.pas | ||
| ogbase.pas | ||
| ogcoff.pas | ||
| ogelf.pas | ||
| oglx.pas | ||
| ogmacho.pas | ||
| ogmap.pas | ||
| ognlm.pas | ||
| optbase.pas | ||
| optcse.pas | ||
| optdead.pas | ||
| optdfa.pas | ||
| options.pas | ||
| optloop.pas | ||
| opttail.pas | ||
| optutils.pas | ||
| optvirt.pas | ||
| owar.pas | ||
| owbase.pas | ||
| parabase.pas | ||
| paramgr.pas | ||
| parser.pas | ||
| pass_1.pas | ||
| pass_2.pas | ||
| pbase.pas | ||
| pdecl.pas | ||
| pdecobj.pas | ||
| pdecsub.pas | ||
| pdecvar.pas | ||
| pexports.pas | ||
| pexpr.pas | ||
| pgenutil.pas | ||
| pinline.pas | ||
| pmodules.pas | ||
| pp.lpi | ||
| pp.pas | ||
| pparautl.pas | ||
| ppc68k.lpi | ||
| ppcarm.lpi | ||
| ppcavr.lpi | ||
| ppcmips.lpi | ||
| ppcmipsel.lpi | ||
| ppcppc64.lpi | ||
| ppcppc.lpi | ||
| ppcsparc.lpi | ||
| ppheap.pas | ||
| ppu.pas | ||
| ppx86_64.lpi | ||
| procinfo.pas | ||
| pstatmnt.pas | ||
| psub.pas | ||
| psystem.pas | ||
| ptconst.pas | ||
| ptype.pas | ||
| raatt.pas | ||
| rabase.pas | ||
| rasm.pas | ||
| rautils.pas | ||
| README.txt | ||
| regvars.pas | ||
| rescmn.pas | ||
| rgbase.pas | ||
| rgobj.pas | ||
| scandir.pas | ||
| scanner.pas | ||
| script.pas | ||
| switches.pas | ||
| symbase.pas | ||
| symconst.pas | ||
| symcreat.pas | ||
| symdef.pas | ||
| symnot.pas | ||
| symsym.pas | ||
| symtable.pas | ||
| symtype.pas | ||
| symutil.pas | ||
| systems.inc | ||
| systems.pas | ||
| tgobj.pas | ||
| tokens.pas | ||
| verbose.pas | ||
| version.pas | ||
| widestr.pas | ||
| wpo.pas | ||
| wpobase.pas | ||
| wpoinfo.pas | ||
This directory contains the sources of the Free Pascal Compiler
If you want to compile/modify the compiler, please read first the
programmers manual.
To recompile the compiler, you can use the batch files :
+ mppc386.bat if you want to build a cross compiler from i386 to m68k
+ mppcsparc if you want to build a cross compiler from i386 to SPARC
or
Use the make utility as following
make OS_TARGET="compiler OS target" \
CPU_TARGET="compiler CPU target" \
FPCCPUOPT="Optimization level" \
PP="compiler used to compile FPC" \
COMPILER_OPTIONS="Options passed to compiler" \
If an option is omitted, then target CPU/OS will be same as current CPU/OS
Possibles targets are : linux go32v2 win32 os2 freebsd beos netbsd amiga haiku
atari sunos qnx netware openbsd wdosx palmos macos macosx emx
Possible compiler switches (* marks a currently required switch):
-----------------------------------------------------------------
GDB* support of the GNU Debugger
I386 generate a compiler for the Intel i386+
x86_64 generate a compiler for the AMD x86-64 architecture
M68K generate a compiler for the M68000
SPARC generate a compiler for SPARC
POWERPC generate a compiler for the PowerPC
VIS generate a compile for the VIS
DEBUG version with debug code is generated
EXTDEBUG some extra debug code is executed
SUPPORT_MMX only i386: releases the compiler switch
MMX which allows the compiler to generate
MMX instructions
EXTERN_MSG Don't compile the msgfiles in the compiler, always
use external messagefiles, default for TP
NOAG386INT no Intel Assembler output
NOAG386NSM no NASM output
NOAG386BIN leaves out the binary writer, default for TP
NORA386DIR No direct i386 assembler reader
TEST_GENERIC Test Generic version of code generator
(uses generic RTL calls)
-----------------------------------------------------------------
cpuflags The target processor has status flags (on by default)
cpufpemu The target compiler will also support emitting software
floating point operations
cpu64bitaddr The targets use a 64-bit address space (pointers and
the default integer type are 64 bit)
cpu64bitalu The target cpu has 64-bit registers available (unless
cpu64bitaddr is also defined, pointers and default
integer type remain 32 bit, but the cpu can perform
64 bit calculations directly without needing helpers)
-----------------------------------------------------------------
Required switches for a i386 compiler be compiled by Free Pascal Compiler:
GDB;I386
to build a compiler to SPARC target using a Win32/i386 you just use :
make CPU_TARGET=SPARC