fpc/compiler
florian 535c990233 + OptPass1MOVAP
git-svn-id: trunk@36203 -
2017-05-13 21:48:44 +00:00
..
aarch64 * fixed check to determine whether a record parameter can be subscripted 2017-04-26 19:43:35 +00:00
arm * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
avr * unified usage of MatchOpType 2017-05-07 16:18:33 +00:00
generic
html
i386 + OptPass1MOVAP 2017-05-13 21:48:44 +00:00
i8086 * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
jvm * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
llvm * fix for Mantis #31464: add an entry for the WebAssembly CPU (this is already the target name that LLVM uses) 2017-03-03 16:14:52 +00:00
m68k m68k: removed silly debug writeln accidentally left in r35671 2017-03-28 11:57:17 +00:00
mips * fixed check to determine whether a record parameter can be subscripted 2017-04-26 19:43:35 +00:00
msg Add -Wh command line option to enable HugeCode (equivalent of $F+) 2017-05-12 22:49:50 +00:00
powerpc * fixed powerpc compiler compilation with -dEXTDEBUG 2017-04-27 17:25:33 +00:00
powerpc64 * fixed check to determine whether a record parameter can be subscripted 2017-04-26 19:43:35 +00:00
ppcgen Fix powerpc cycle for AIX target 2017-01-10 23:21:49 +00:00
sparc * fixed check to determine whether a record parameter can be subscripted 2017-04-26 19:43:35 +00:00
systems * Enabling crosscompiling from Windows towards Darwin. Patch from Alfred (mantis 31099). Thanks! :) 2017-05-10 07:53:43 +00:00
utils * better text format for management operators in ppudump.pp 2017-05-13 17:46:58 +00:00
x86 + OptPass1MOVAP 2017-05-13 21:48:44 +00:00
x86_64 + OptPass1MOVAP 2017-05-13 21:48:44 +00:00
aasmbase.pas * add ability to disable the generation of an indirect symbol if needed (useful if that's done by the constant builder) 2017-01-29 17:42:00 +00:00
aasmcnst.pas * extend tai_typedconstbuilder with the ability to add an indirect symbol to the same section as the one that's generated for the constant data (at least if it's also rodata) 2017-01-29 17:39:52 +00:00
aasmdata.pas * keep track of the sections that are created in the asmlists 2017-02-10 14:38:53 +00:00
aasmdef.pas * add ability to disable the generation of an indirect symbol if needed (useful if that's done by the constant builder) 2017-01-29 17:42:00 +00:00
aasmsym.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
aasmtai.pas * keep track of the sections that are created in the asmlists 2017-02-10 14:38:53 +00:00
aggas.pas Fix section alignment code for GNU assembler for smartlinked objects on aix system 2017-04-22 08:48:23 +00:00
aopt.pas * removed unused units 2017-05-09 19:53:14 +00:00
aoptbase.pas * removed unused units 2017-05-09 19:53:14 +00:00
aoptda.pas * removed unused units 2017-05-09 19:53:14 +00:00
aoptobj.pas * removed unused units 2017-05-09 19:53:14 +00:00
aoptutils.pas * unified usage of MatchOpType 2017-05-07 16:18:33 +00:00
assemble.pas * removed unused units 2017-05-09 19:53:14 +00:00
blockutl.pas * removed unused units 2017-05-09 19:53:14 +00:00
browcol.pas
catch.pas
ccharset.pas
cclasses.pas + placeholder function to check whether two tdynamicarray instances have the same contents (needs to be implemented for COMDAT selection with same content to work) 2017-05-12 15:52:07 +00:00
cfidwarf.pas
cfileutl.pas Rectify display of shell command, do it if -vx option is used even without -vu 2016-08-28 13:02:34 +00:00
cg64f32.pas + implemented the in_neg_assign_x and in_not_assign_x inline nodes, which will 2017-04-07 16:02:40 +00:00
cgbase.pas + added individual bits of the x86 flags register as subregisters 2017-04-26 13:52:52 +00:00
cghlcpu.pas
cgobj.pas * removed unused units 2017-05-09 19:53:14 +00:00
cgutils.pas + added volatility information to all memory references 2016-11-27 18:17:37 +00:00
cmsgs.pas
comphook.pas
compiler.pas * removed unused units 2017-05-09 19:53:14 +00:00
compinnr.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
comprsrc.pas
constexp.pas Fix cycle for x86_64-win64 target with -Cr option 2016-01-28 15:07:40 +00:00
COPYING.txt * updated FSF address (mantis #30198, patch by Paul Gevers) 2016-10-02 12:56:59 +00:00
cpid.pas
crefs.pas
cresstr.pas * removed unused units 2017-05-09 19:53:14 +00:00
cstreams.pas Merged revision(s) 32302-32305, 32310 from branches/svenbarth/packages: 2016-02-19 17:13:58 +00:00
cutils.pas + align(<int64>,<int64>) and align(<qword>,<qword>), resolves an issue reported on the mailing list with large records 2017-03-26 09:35:56 +00:00
cwindirs.pp
dbgbase.pas * removed unused units 2017-05-09 19:53:14 +00:00
dbgdwarf.pas * use create_int_dataptr_unaligned instead of create_pint_unaligned in TDebugInfoDwarf.appendsym_absolute 2016-11-07 15:41:44 +00:00
dbgstabs.pas * don't write or reference debug information for a unit if it belongs to a/another package 2016-08-26 15:09:24 +00:00
dbgstabx.pas - removed default value of _typ parameter of TAsmData.(Weak)RefAsmSymbol(): 2016-08-05 07:09:16 +00:00
defcmp.pas * fix for Mantis #31756: have array constructors prefer open array parameters instead of dynamic array parameters for backwards compatibility 2017-05-10 21:01:23 +00:00
defutil.pas + added helper function are_equal_ints() 2017-04-10 13:22:50 +00:00
dirparse.pas - disable -Ooregvar for the LLVM-based x86-64 code generator, as it causes 2016-12-04 11:15:12 +00:00
elfbase.pas
entfile.pas fix build with generic_cpu defined after r35497 2017-03-01 15:32:12 +00:00
export.pas * removed unused units 2017-05-09 19:53:14 +00:00
expunix.pas * removed unused units 2017-05-09 19:53:14 +00:00
finput.pas
fmodule.pas * removed unused units 2017-05-09 19:53:14 +00:00
fpccrc.pas
fpcdefs.inc + enable using the cg64 ops OP_SHR/OP_SHL/OP_SAR on i386 for implementing the 2017-04-18 14:36:41 +00:00
fpcp.pas * removed unused units 2017-05-09 19:53:14 +00:00
fpkg.pas Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 2016-04-15 14:42:24 +00:00
fppu.pas * write full path name when ppu crc checks fail/conflict (patch by 2017-04-17 20:42:03 +00:00
gendef.pas
globals.pas * compilation fixed after last cleanup 2017-05-09 20:06:36 +00:00
globstat.pas
globtype.pas * moved the conversion of "x:=x op k" to inline nodes to a separate optimization 2017-04-26 22:44:01 +00:00
hlcg2ll.pas * removed unused units 2017-05-09 19:53:14 +00:00
hlcgobj.pas * removed unused units 2017-05-09 19:53:14 +00:00
htypechk.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
impdef.pas
import.pas * removed unused units 2017-05-09 19:53:14 +00:00
ldscript.pas
link.pas * removed unused units 2017-05-09 19:53:14 +00:00
macho.pas macho.pas: 2016-03-19 12:18:16 +00:00
machoutils.pas
Makefile Regenerate all Makefile's after changes related to FPCDIR checks 2017-04-18 14:15:47 +00:00
Makefile.fpc Revert Makefile changes unrelated to last commit about powerpc-aix cycle fix 2017-01-10 23:36:32 +00:00
MPWMake
msgidx.inc Add -Wh command line option to enable HugeCode (equivalent of $F+) 2017-05-12 22:49:50 +00:00
msgtxt.inc Add -Wh command line option to enable HugeCode (equivalent of $F+) 2017-05-12 22:49:50 +00:00
nadd.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
nbas.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncal.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
ncgadd.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncgbas.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncgcal.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncgcnv.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncgcon.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncgflw.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncghlmat.pas
ncginl.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
ncgld.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncgmat.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncgmem.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncgnstfl.pas * fixed interprocedural gotos for llvm 2016-11-21 07:39:13 +00:00
ncgnstld.pas
ncgnstmm.pas
ncgobjc.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncgopt.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncgrtti.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncgset.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncgutil.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncgvmt.pas * removed unused units 2017-05-09 19:53:14 +00:00
ncnv.pas * remove the redundant equal typeconv, left over as an artifact after removing 2017-05-12 11:40:06 +00:00
ncon.pas * removed unused units 2017-05-09 19:53:14 +00:00
nflw.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
ngenutil.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
ngtcon.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
ninl.pas * use current node's localswitches field for checking whether range and overflow 2017-05-12 14:07:13 +00:00
nld.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
nmat.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
nmem.pas * removed unused units 2017-05-09 19:53:14 +00:00
nobj.pas * removed unused units 2017-05-09 19:53:14 +00:00
nobjc.pas * removed unused units 2017-05-09 19:53:14 +00:00
node.pas - removed some dataconstn remenants 2017-01-16 21:27:20 +00:00
nopt.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
nset.pas * removed unused units 2017-05-09 19:53:14 +00:00
nutils.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
objcasm.pas * fixed bootstrap for Darwin/ppc with FPC 3.0 (workaround for 2016-05-03 09:01:55 +00:00
objcdef.pas * removed unused units 2017-05-09 19:53:14 +00:00
objcgutl.pas * use .create_int_dataptr instead of .create_pint in the remaining two places where .create_pint is used 2016-11-07 15:09:07 +00:00
objcutil.pas * removed unused units 2017-05-09 19:53:14 +00:00
ogbase.pas + correctly handle COMDAT sections in COFF files (at least as long as the COMDAT selection isn't IMAGE_COMDAT_SELECT_ASSOCIATIVE or IMAGE_COMDAT_SELECT_EXACT_MATCH), fixes the .refptr problems mentioned in Mantis #30614 2017-05-12 15:57:31 +00:00
ogcoff.pas + correctly handle COMDAT sections in COFF files (at least as long as the COMDAT selection isn't IMAGE_COMDAT_SELECT_ASSOCIATIVE or IMAGE_COMDAT_SELECT_EXACT_MATCH), fixes the .refptr problems mentioned in Mantis #30614 2017-05-12 15:57:31 +00:00
ogelf.pas * removed unused units 2017-05-09 19:53:14 +00:00
oglx.pas
ogmacho.pas + AT_METADATA symbol type for data that is unrelated to the program 2016-07-19 11:57:31 +00:00
ogmap.pas * removed unused units 2017-05-09 19:53:14 +00:00
ognlm.pas
ogomf.pas + write name of segment/group which is too large 2017-02-19 19:15:18 +00:00
omfbase.pas * removed unused units 2017-05-09 19:53:14 +00:00
optbase.pas
optconstprop.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
optcse.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
optdead.pas * removed unused units 2017-05-09 19:53:14 +00:00
optdeadstore.pas * removed unused units 2017-05-09 19:53:14 +00:00
optdfa.pas * removed unused units 2017-05-09 19:53:14 +00:00
options.pas Add -Wh command line option to enable HugeCode (equivalent of $F+) 2017-05-12 22:49:50 +00:00
optloadmodifystore.pas * use current node's localswitches field for checking whether range and overflow 2017-05-12 14:07:13 +00:00
optloop.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
opttail.pas
optutils.pas + PrintNodeDFA writes also the defsum 2016-03-13 18:19:52 +00:00
optvirt.pas * removed unused units 2017-05-09 19:53:14 +00:00
owar.pas
owbase.pas
owomflib.pas * removed unused units 2017-05-09 19:53:14 +00:00
parabase.pas * removed unused units 2017-05-09 19:53:14 +00:00
paramgr.pas * removed unused units 2017-05-09 19:53:14 +00:00
parser.pas * removed unused units 2017-05-09 19:53:14 +00:00
pass_1.pas * removed unused units 2017-05-09 19:53:14 +00:00
pass_2.pas * removed unused units 2017-05-09 19:53:14 +00:00
pbase.pas * removed unused units 2017-05-09 19:53:14 +00:00
pcp.pas Merged revision(s) 31988, 31991-31993, 32136, 32308-32309, 32312, 32318 from branches/svenbarth/packages: 2016-04-15 13:39:41 +00:00
pdecl.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
pdecobj.pas * removed unused units 2017-05-09 19:53:14 +00:00
pdecsub.pas * removed unused units 2017-05-09 19:53:14 +00:00
pdecvar.pas * removed unused units 2017-05-09 19:53:14 +00:00
pexports.pas Merged revision(s) 28691, 31914 from branches/svenbarth/packages: 2016-01-15 16:06:06 +00:00
pexpr.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
pgentype.pas
pgenutil.pas * removed unused units 2017-05-09 19:53:14 +00:00
pinline.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
pkgutil.pas * removed unused units 2017-05-09 19:53:14 +00:00
pmodules.pas * fix for Mantis #31795: append a $ to internal functions init, finalize, init_implicit and finalize_implicit as their section names otherwise look the same as those of user declared functions with the same name 2017-05-12 13:32:37 +00:00
pp.lpi - removed missing file from project 2017-04-30 20:48:35 +00:00
pp.pas * set pe flag on win32 for the pp executable that it is "large aware" (tested by allocating 1.5 GB before real compilation starts, no regressions found), resolves #31517 2017-03-11 14:59:37 +00:00
pparautl.pas * use sizesinttype instead of ptrsinttype for the index and high parameter of 2016-10-08 13:56:24 +00:00
ppc68k.lpi
ppc8086.lpi * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
ppcaarch64.lpi * fixed exe output path 2016-03-28 20:44:08 +00:00
ppcarm.lpi
ppcavr.lpi
ppcjvm.lpi
ppcmips.lpi
ppcmipsel.lpi
ppcppc64.lpi
ppcppc.lpi
ppcsparc.lpi
ppheap.pas Always write filename, truncate directory part if needed 2016-08-21 22:24:07 +00:00
ppu.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
ppx86_64.lpi
procinfo.pas * removed unused units 2017-05-09 19:53:14 +00:00
pstatmnt.pas * removed unused units 2017-05-09 19:53:14 +00:00
psub.pas * removed unused units 2017-05-09 19:53:14 +00:00
psystem.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
ptconst.pas * removed unused units 2017-05-09 19:53:14 +00:00
ptype.pas * removed unused units 2017-05-09 19:53:14 +00:00
raatt.pas * fixed check to determine whether a record parameter can be subscripted 2017-04-26 19:43:35 +00:00
rabase.pas
rasm.pas * removed unused units 2017-05-09 19:53:14 +00:00
rautils.pas * fixed check to determine whether a record parameter can be subscripted 2017-04-26 19:43:35 +00:00
README.txt
rescmn.pas
rgbase.pas + added individual bits of the x86 flags register as subregisters 2017-04-26 13:52:52 +00:00
rgobj.pas * removed unused units 2017-05-09 19:53:14 +00:00
scandir.pas atari: enable apptype directive, and change exe extension when compiling a GUI app 2016-12-30 10:27:27 +00:00
scanner.pas * Move global variable in_preproc_comp_expr into tscannerfile class. 2017-05-06 12:12:50 +00:00
script.pas * fix some more occured->occured 2016-12-13 12:55:32 +00:00
switches.pas Add new Delphi compatible switch {$G+/-}, {$IMPORTEDDATA ON/OFF} which handles generation of indirect references for cross unit variable accesses if needed for the target. 2016-03-18 22:04:57 +00:00
symbase.pas
symconst.pas * Rtti info about Management Operators (MO) in init table for records. Note: commit contains minimal changes for RTL (for proper "make") no functional changes. More RTL changes for fully functionally MO in next commits. 2017-02-19 00:22:59 +00:00
symcreat.pas * removed unused units 2017-05-09 19:53:14 +00:00
symdef.pas * removed unused units 2017-05-09 19:53:14 +00:00
symsym.pas * use an enum instead of integer constants to represent inline numbers 2017-05-10 14:41:43 +00:00
symtable.pas * Move global variable in_preproc_comp_expr into tscannerfile class. 2017-05-06 12:12:50 +00:00
symtype.pas * removed unused units 2017-05-09 19:53:14 +00:00
symutil.pas * removed unused units 2017-05-09 19:53:14 +00:00
syscinfo.pas * removed unused units 2017-05-09 19:53:14 +00:00
systems.inc webassembly: reserve a system id and cpu id slot for the platform 2017-03-01 15:15:58 +00:00
systems.pas * only rtl needed fix. 2017-05-09 17:10:42 +00:00
tgobj.pas * removed unused units 2017-05-09 19:53:14 +00:00
tokens.pas * symtable.pas: 2017-02-18 19:27:53 +00:00
verbose.pas
version.pas
widestr.pas
wpo.pas
wpobase.pas * fix warnings which were caused by last changes to for node generation 2016-11-05 23:05:44 +00:00
wpoinfo.pas * removed unused units 2017-05-09 19:53:14 +00:00

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