Nikolay Nikolov 924c917276 * fixed compilation of ppudump 6 månader sedan
..
aarch64 d71f823373 * cleanup 6 månader sedan
arm 490c431bf9 * make use of not_zero in tbasecgarm.a_bit_scan_reg_reg 6 månader sedan
armgen 2a50d5abf8 * ARMv7A / A64: Constant writes to memory merged to larger forms where possible 10 månader sedan
avr a685e2aa5a + avrsim6 controller type 11 månader sedan
generic ff3acfb8cd * cleanup of 2.7.0 defines 3 år sedan
html fa0d3d79e0 no message 23 år sedan
i386 5b54ab2040 + zen5 architecture for completeness 8 månader sedan
i8086 8520dabebb * x86: New RET/lbl/RET optimisation 10 månader sedan
jvm b2f6214b33 + a_bit_scan_reg_reg gets a flag if src cannot be zero: this simplifies the generated code 6 månader sedan
llvm b2f6214b33 + a_bit_scan_reg_reg gets a flag if src cannot be zero: this simplifies the generated code 6 månader sedan
loongarch64 b2f6214b33 + a_bit_scan_reg_reg gets a flag if src cannot be zero: this simplifies the generated code 6 månader sedan
m68k 0730e86c9d m68k: refactor - use the new CPUM68K_HAS_TSTAREG capability where applicable 6 månader sedan
mips 46dcffed42 * MIPS64: make use of DMTC1 instruction 10 månader sedan
msg 32c1f78dc1 * wasi renamed wasip1 in the compiler help screen 6 månader sedan
powerpc 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 år sedan
powerpc64 da683ade18 Add dwarf CFI for powerpc64 cpu 1 år sedan
ppcgen b2f6214b33 + a_bit_scan_reg_reg gets a flag if src cannot be zero: this simplifies the generated code 6 månader sedan
riscv 70591f6449 * factor out TRVCpuAsmOptimizer.OptPass1Andi 6 månader sedan
riscv32 b2f5f6ac7d + RiscV32: use sext.b if available 6 månader sedan
riscv64 831a46eb2f + more sext.b usage 6 månader sedan
sparc 5e00358f13 + cs_opt_consts for sparc 1 år sedan
sparc64 1fa83a91ab + cs_opt_consts for sparc64 1 år sedan
sparcgen f49da05633 * unified g_concatcopy_move 1 år sedan
systems 4340d03ba9 + compiler support for a new target: wasip1threads 6 månader sedan
utils 924c917276 * fixed compilation of ppudump 6 månader sedan
wasm32 e20466ffd1 * system_wasm32_wasi renamed system_wasm32_wasip1 6 månader sedan
x86 83c9b17ec5 * x86: Fixed oversight in LeaLea2LeaLea optimisations where bad code is 6 månader sedan
x86_64 9355e703d7 * change some getglobaldatalabel into getlocaldatalabel to simplify code if pic is used 7 månader sedan
xtensa b2f6214b33 + a_bit_scan_reg_reg gets a flag if src cannot be zero: this simplifies the generated code 6 månader sedan
z80 eae74aaee0 Follow sdas documentation for .ascii limitations by using only printable chars and .byte for others 1 år sedan
.gitignore e14692f594 git ignore msg2inc binary 2 år sedan
COPYING.txt e5a1231931 * updated FSF address (mantis #30198, patch by Paul Gevers) 9 år sedan
MPWMake 43c50d0a32 Remove unused, obsolete -dBROWSERLOG option 4 år sedan
Makefile 12c494cc0f * update makefiles 6 månader sedan
Makefile.fpc 76d155d872 - removed wasm32 from the NO_NATIVE_COMPILER_CPU_LIST 6 månader sedan
README.txt 4bf254bc32 * added .txt extensions to all README, TODO and COPYING files 16 år sedan
aasmbase.pas 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 år sedan
aasmcfi.pas 5d28e2156b + support for generating Dwarf CFI using .cfi_* directives 6 år sedan
aasmcnst.pas 28b080d9bc + emit a size directive for the internal dynarray const label. This fixes 1 år sedan
aasmdata.pas b367d7c905 + introduced TAsmData.WeakRefAsmSymbolByClass 1 år sedan
aasmdef.pas 04984e9af9 * also generate indirect symbols for AB_PRIVATE_EXTERN symbols as these might be used from a unit in another package due to inlining 5 år sedan
aasmsym.pas 281b3ad276 * fix case completeness and unreachable code warnings in compiler that would 6 år sedan
aasmtai.pas 1a07e13c02 Disable high(taitype)<=31 check for LLVM compiler 6 månader sedan
aggas.pas e20466ffd1 * system_wasm32_wasi renamed system_wasm32_wasip1 6 månader sedan
aopt.pas 9ec85f940e * do not remove register deallocations/allocation pairs if the register is written 4 år sedan
aoptbase.pas 32d0531c71 * patch by lag programming: Code cleanup at function TAOptBase.RegInInstruction, resolves #40952 10 månader sedan
aoptda.pas b1dff29cbf * removed unused units 8 år sedan
aoptobj.pas a7be888255 + add optimizer units (empty for now) for the WebAssembly target 11 månader sedan
aoptutils.pas 05d6e20acc * New Boolean "SetAndTest" utility function 1 år sedan
assemble.pas a16f2ae35d * tai_eabi_attribute -> tai_attribute so it can be used by other architectures 8 månader sedan
blockutl.pas 7f3a5eb9ab * extend tabstractprocdef.getcopyas by a parameter to control whether the copy should be registered or not 3 år sedan
browcol.pas 7cb2e5a180 Browser information for generic records 6 månader sedan
catch.pas fd070544db - disabled installation of SIGINT signal handler for Darwin, because 16 år sedan
ccharset.pas cb44d7d4e2 * some cleanup 5 år sedan
cclasses.pas 8784dbc095 Outline freeing TFPList with disposing its items into TFPList.FreeAndNilDisposing. 10 månader sedan
cepiktimer.pas 99d88b91a9 * do not include fpcdefs in the cepiktimer unit 4 år sedan
cfidwarf.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 år sedan
cfileutl.pas 87d4c18992 Every compile gets actual current directory (fix for Textmode IDE) 7 månader sedan
cg64f32.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 3 år sedan
cgbase.pas 2e65a5d458 + introduced cgbase.topcg2str and topcmp2str for converting TOpCg and TOpCmp to strings (useful for debug logging, etc) 1 år sedan
cgexcept.pas fe57cd3536 * fix LLVM after r48828 4 år sedan
cghlcpu.pas b2f6214b33 + a_bit_scan_reg_reg gets a flag if src cannot be zero: this simplifies the generated code 6 månader sedan
cgobj.pas b2f6214b33 + a_bit_scan_reg_reg gets a flag if src cannot be zero: this simplifies the generated code 6 månader sedan
cgutils.pas a71cc71585 + function needs_check_for_fpu_exceptions to unify fpu exception handling 1 år sedan
cmsgs.pas c6c05f8395 Check that index value is not below lower bound in TMessage.Valid method 7 månader sedan
comphook.pas 83abe1fb15 * oc_blue properly named as noted by Don Siders 1 år sedan
compiler.pas 51f5726343 * (hopefully) more consistent message when the compiler is stopped during showing the help screen, resolves #39455 1 år sedan
compinnr.pas 2c5a070959 + random bits for quad support on RiscV 7 månader sedan
comprsrc.pas 44282acecb * Allow to process .fmx files just as .lfm/.dfm files 6 månader sedan
comptty.pas 682e29c4ff + enable colored output on darwin, resolves #38693 4 år sedan
constexp.pas 078e2eabf9 Simplify constexp.pas and fix certain edge cases. 9 månader sedan
cprofile.pas 6612bb4434 * proper naming 5 år sedan
crefs.pas 4d5119bf1c * fixes several issues which cause warnings by the dfa code when using it to detect uninitialized variables 11 år sedan
cresstr.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 år sedan
cscript.pas f5e5f9645c Add fForceUseForwardSlash to TLinkRes class, used for vlink linker on hosts using backslashes 4 år sedan
cstreams.pas e4ee8fa6a2 * patch by Rika to pass some strings by reference, resolves #39338 3 år sedan
ctask.pas 564597a573 * Fix access violation: module can be reset while loading dependent units. Fixes issue #40705 1 år sedan
cutils.pas 6631f83ccf Change CompareChar uses inside compiler/RTL to CompareByte. 6 månader sedan
dbgbase.pas cf4d02ef92 Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit 2 år sedan
dbgcodeview.pas 04727844b5 * Fixed value of the LF_PAD13 enum element. 4 år sedan
dbgdwarf.pas beee98e246 * WebAssembly debug info: make wasmtime happy by not emitting line info end 11 månader sedan
dbgdwarfconst.pas b797bbf5dc * spelling fixed 2 år sedan
dbgstabs.pas a401898139 * spelling fixes 3 år sedan
dbgstabx.pas 3d81dd0b00 * ReplaceForbiddenAsmSymbolChars renamed ApplyAsmSymbolRestrictions, because now it also applies the 5 år sedan
defcmp.pas 9de0025394 * fix #41074: adjust conversion level of class/interface to pointer and class to interface conversions so that sub class to class conversions take precedence 8 månader sedan
defutil.pas 2c5a070959 + random bits for quad support on RiscV 7 månader sedan
dirparse.pas 7ce2f95db0 - disallow enabling regvars for WebAssembly, because it's not supported, yet 1 år sedan
dwarfbase.pas 1fc54dd8bb * improve dwarf cfi on avr 2 år sedan
elfbase.pas 245b58c249 + support for arm attributes 5 år sedan
entfile.pas 7ec9d2bf9f Fix compilation with -dDEBUG_PPU 1 år sedan
export.pas 2f1ccd6f2a + support 'promising last' exports 2 år sedan
expunix.pas 1a0ffbc82b * fixed llvm compiler compilation with -O3/-Oodfa 6 år sedan
finput.pas c96ef4902b * Handle finish state separately 1 år sedan
fmodule.pas db83f9c696 * keep track of the current specialization state of the current module 8 månader sedan
fpcdefs.inc 5d100fd2c6 cpuNbitalu is not the correct type for fpc_atomic_cmp_xchg_alu on webassembly 7 månader sedan
fpchash.pas 0e0c4bd621 * make UpdateFnv64 closer to the original algorithm as proposed by Gareth 11 månader sedan
fpcp.pas 7163a893e9 * search using the real package name instead of the uppercased one so that an as-is cased package will be found as well 1 år sedan
fpkg.pas e8ede4c3e2 Merged revision(s) 32508-32510, 32512 from branches/svenbarth/packages: 9 år sedan
fppu.pas 167b5213d1 Rename conditional: INTFPPU => DEBUG_GENERATE_INTERFACE_PPU 1 år sedan
gendef.pas ef16a99c08 * partial fix #40934: don't remove the DEF file if cs_link_deffile is set (thus if the user explicitly wants the file) 10 månader sedan
globals.pas 558a7ef1ed * store the current verbosity as part of the settings so that they're stored as part of a generic token stream as well 8 månader sedan
globstat.pas 9cc30829fa * Restore messages state 1 år sedan
globtype.pas d35a2f53e7 * the FPC_WASM_SATURATING_FLOAT_TO_INT_CONVERSIONS define shortened to FPC_WASM_SATURATING_FLOAT_TO_INT 6 månader sedan
hlcg2ll.pas b2f6214b33 + a_bit_scan_reg_reg gets a flag if src cannot be zero: this simplifies the generated code 6 månader sedan
hlcgobj.pas b2f6214b33 + a_bit_scan_reg_reg gets a flag if src cannot be zero: this simplifies the generated code 6 månader sedan
htypechk.pas 8498eacdeb Remove unused cutils functions. 10 månader sedan
impdef.pas 4431ba2c08 merged/updated AROS/i386 target to trunk from AROS branch, to support Marcus Sackrow's work on AROS support which will hopefully benefit all Amiga-like targets (classic, MorphOS) on the long run. Compiler only, RTL comes in the next run. 11 år sedan
import.pas b1dff29cbf * removed unused units 8 år sedan
ldscript.pas 70b0cb99d4 * SetString needs correctly typed argument 2 år sedan
link.pas 7887f46700 Try to compute correct page size for wlib call 1 år sedan
macho.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 år sedan
machoutils.pas 828a248287 Systematically include fpcdefs.inc at sart of all units used by compiler 6 år sedan
nadd.pas d147488133 * partly revert 8cd6606970c8fedda95a3411d684dbd57379b46d, resolves #41052 8 månader sedan
nbas.pas 9077954762 * "no_exit_statement_in_block" replaced with "not has_child_of_type(..., [exitn])" 10 månader sedan
ncal.pas 50b160651c * fix #38122 in a more correct way than previously done: instead of adjusting the methodpointer node when it's a deref node adjust what value is stored in a temp if a call node is encountered: store the pointer value, not the pointed to value to avoid the reference getting lost 8 månader sedan
ncgadd.pas 0f39633acc * generic second_addordinal can handle swapped nodes 1 år sedan
ncgbas.pas 0e5da37533 * Flags specific to TAsmNode have been moved to their own field 1 år sedan
ncgcal.pas e237da95d2 * most of tcgcallparanode.secondcallparan's code was moved into two new methods: 6 månader sedan
ncgcnv.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 år sedan
ncgcon.pas fd72ed8c56 * applied fix for #41161 as proposed by Pierre 6 månader sedan
ncgflw.pas 511beac49c * get rid of the hack that tlabelnode inherits from tunarynode and stores a statement in left, resolves #40964 10 månader sedan
ncghlmat.pas 0fc1fd6ac1 * replaced current_procinfo.currtrue/falselabel with storing the true/false 10 år sedan
ncginl.pas 99b71eafda * simplified code 6 månader sedan
ncgld.pas 9d7ea2c069 * revert check for boolean type when handling LOC_FLAG in tcgassignmentnode.pass_generate_code. This makes pas boolean the default, 11 månader sedan
ncgmat.pas 2dc0995067 - Bug fix to new ADD/SUB optimisation where conditions are concerned 3 år sedan
ncgmem.pas 4736cc2360 * Flags specific to TDerefNode have been moved to their own field 1 år sedan
ncgnstfl.pas d14fd51d0b * fix potential crash with copied goto nodes on nestedparentfp platforms 6 år sedan
ncgnstld.pas cf9596421b * fixed crashes on platforms using parentfpstructs with generic routines 6 år sedan
ncgnstmm.pas 627fcb4354 * Do not use the LOC_VOID location to indicate unused parameters. 5 år sedan
ncgobjc.pas b1dff29cbf * removed unused units 8 år sedan
ncgopt.pas b1dff29cbf * removed unused units 8 år sedan
ncgrtti.pas 5c4db7dbca Extended RTTI: more Objective-C handling 7 månader sedan
ncgset.pas a8b4c0772c * fixed bug that caused 'c in ['a'..'z']' to fail on the WebAssembly target, when code is compiled with {$packset 1} 1 år sedan
ncgutil.pas 2b7df4237b * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 1 år sedan
ncgvmt.pas 190b27ad45 * use proper value for Fnv64 initialization 11 månader sedan
ncnv.pas 29b3b09251 * allow absolutes on open arrays (use of this is doubtful though), resolves #41147 6 månader sedan
ncon.pas fe62b3ace8 * Introduce constwresourcestring - in unicode mode, resource strings are unicode strings, and must be streamed differently 1 år sedan
nflw.pas 7aae7a8d51 + min/max optimization support for RiscV 7 månader sedan
ngenutil.pas bff561063f Use TFPList.FreeAndNilDisposing in four more places. 10 månader sedan
ngtcon.pas a188322e76 Fixing bug where in const init no typecheck for symbol was performed 10 månader sedan
ninl.pas d3c3b79e79 * don't cast the succeeded node succn to a tcallparanode (it's usually a tloadnode or something similar instead) 7 månader sedan
nld.pas 798d793cdc Specialized fpc_copy_with_move_semantics for destructive copies. 9 månader sedan
nmat.pas f29ff58ab9 + get_int_value 1 år sedan
nmem.pas 4378319f87 * Added missing "override" directive for XML node dump routine on TDerefNode 1 år sedan
nobj.pas c3a3cfe80f * avoid range check error in TVMTBuilder.intf_optimize_vtbls by early bailing out if a class has no interfaces 1 år sedan
nobjc.pas 68eb921d46 * broken compilation after r39347 fixed 7 år sedan
node.pas 2b7df4237b * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 1 år sedan
nopt.pas 179fc5848b * Flags specific to TArrayConstructorNode have been moved to their own field 1 år sedan
nset.pas 4d732b44d4 * correctly calculate the number of labels of a c boolean in case statemnts, resolves #41025 9 månader sedan
nutils.pas d87ba06608 * improve complexity calculation for tempref nodes 6 månader sedan
objcasm.pas 6404478ea4 * cleanup of VER3_0 defines 3 år sedan
objcdef.pas 5d02c65425 objcdef: remove duplicate variant start check 3 år sedan
objcgutl.pas 327aac7f24 Add aarch64-iphonesim target 2 år sedan
objcutil.pas df3a0af7e0 objc: use compile-time macOS version checks 3 år sedan
ogbase.pas 9caabdc4e7 Immediately set the capacity 1 år sedan
ogcoff.pas 400094921c Handle cross-endian case inside TCoffObjData.writereloc method 11 månader sedan
ogelf.pas 9caabdc4e7 Immediately set the capacity 1 år sedan
oglx.pas d4a4b9a57b * refactored the internal linker ar object reader object creation to allow using 10 år sedan
ogmacho.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 år sedan
ogmap.pas 70b0cb99d4 * SetString needs correctly typed argument 2 år sedan
ognlm.pas a8fe46c0f5 + introduced labelmaxlen in tasminfo and added code in ReplaceForbiddenAsmSymbolChars that limits the 5 år sedan
ogomf.pas beca14334c * use NtoLE instead of LEtoN in OMF DoRelocationFixup when converting from native to little endian. No functional changes, just better readability. 1 år sedan
ogrel.pas 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 år sedan
ogwasm.pas e20466ffd1 * system_wasm32_wasi renamed system_wasm32_wasip1 6 månader sedan
omfbase.pas 4867d48e99 + support for .debug_loc and .debuc_loclist sections 1 år sedan
optbase.pas bcf320a76e * patch by Rika: Don’t pretend optinfo^.index can be aword(−1), resolves #40405 1 år sedan
optconstprop.pas ffe97bb7d9 * do_optconstpropagate and do_optdeadstoreelim now set their 11 månader sedan
optcse.pas e4af0fc1e9 * don't mess with boolean and/or operations in mixed short/full evaluated expressions, resolves #41012 9 månader sedan
optdead.pas b1dff29cbf * removed unused units 8 år sedan
optdeadstore.pas ffe97bb7d9 * do_optconstpropagate and do_optdeadstoreelim now set their 11 månader sedan
optdfa.pas 81d24975f0 * properly take care of tempinitcode when calculating def./use. sums of tempcreate nodes 9 månader sedan
options.pas 4340d03ba9 + compiler support for a new target: wasip1threads 6 månader sedan
optloadmodifystore.pas 07698050e5 * Before r35961 (back in 2017) some simple assignment optimizations, such as "x:=x+y" to "inc(x,y)", were performed when -O2 in tassignmentnode.simplify. In r35961 these optimizations were moved to a separate pass which is enabled only when -O3 by cs_opt_use_load_modify_store. This separate pass can benefit from other optimization. But worse code is generated with -O2 since then. 4 år sedan
optloop.pas 9d94ccdc38 * set types of start value calculation correctly when doing strength reduction, resolves #41054 8 månader sedan
opttail.pas dd6e6eb26a * disable tail recursion optimisation if there is a copy-back parameter 5 år sedan
optutils.pas 511beac49c * get rid of the hack that tlabelnode inherits from tunarynode and stores a statement in left, resolves #40964 10 månader sedan
optvirt.pas 540807c5c8 WPO: don't crash on TP-style objects with only abstract virtual methods 8 månader sedan
owar.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL 5 år sedan
owbase.pas d0beacc35f * return the correct size for files in ar archive. This is required by the REL 5 år sedan
owomflib.pas cf4d02ef92 Add globals to implementation _USES clause to prepare move of V_XXX constants to globals unit 2 år sedan
parabase.pas abfd975571 TCGParaLocation: remove alignment gap 3 år sedan
paramgr.pas 6404478ea4 * cleanup of VER3_0 defines 3 år sedan
parser.pas e20466ffd1 * system_wasm32_wasi renamed system_wasm32_wasip1 6 månader sedan
pass_1.pas 2641f65bb7 * compilation with -dEXTDEBUG fixed 1 år sedan
pass_2.pas 2b7df4237b * nf_pass1_done, nf_error, nf_processing and nf_do_not_execute 1 år sedan
pbase.pas 6ac14de986 * Properly handle finish state 1 år sedan
pcp.pas a4672fbd1c o based on a patch by Rika, resolves #39401: 3 år sedan
pdecl.pas 05b73f1523 Postponing building of VMT until inheritance chain is specialized 8 månader sedan
pdecobj.pas de8d54cfef * reset oo_is_forward object option for external classes after parsing the parent classes 8 månader sedan
pdecsub.pas 3d6710c0e3 * don't see illegal calling conventions for procedure variables, resolves #41041 9 månader sedan
pdecvar.pas b7edddf9d9 * do not eat the semicolon after an absolute expression to a symbol, noted in #40978 10 månader sedan
pexports.pas cc063e7a9c * add procsyms from exports also to deffile if user explicitly asked for one 10 månader sedan
pexpr.pas 310afcd783 * fix #41075: don't allow @<anonfunc> 8 månader sedan
pgentype.pas 8f81b213dc * keep track of the current generic def in the specialization state 8 månader sedan
pgenutil.pas ead882f58d * fix #40876: correctly check for generic constant parameters without concrete value 8 månader sedan
pinline.pas 4736cc2360 * Flags specific to TDerefNode have been moved to their own field 1 år sedan
pkgutil.pas 637976e83f * patch by Marģers to unify internal error numbers, resolves #37888 4 år sedan
pmodules.pas 22d7033d18 * Attributes for methods. Fixes issue 41001 9 månader sedan
pp.lpi 867786c953 * update version 5 år sedan
pp.pas 2a6fb32974 * don't use $MINSTACKSIZE and $MAXSTACKSIZE on non-Windows instead of disabling the warning 8 månader sedan
pparautl.pas 4a4eadc60e * throw an error if varargs is used without appropriate calling conventions, resolves #40342 1 år sedan
ppc68k.lpi 8192bf1b33 * version update 4 år sedan
ppc8086.lpi efc5e339d0 * use an enum instead of integer constants to represent inline numbers 8 år sedan
ppcaarch64.lpi a816fc2114 * update project file 1 år sedan
ppcarm.lpi 7909f00c83 * project files updated 2 år sedan
ppcavr.lpi 7909f00c83 * project files updated 2 år sedan
ppcjvm.lpi 7909f00c83 * project files updated 2 år sedan
ppcloongarch64.lpi 1ee9a39fe2 + lazarus project for a loongarch64 compiler 1 år sedan
ppcmips.lpi 7909f00c83 * project files updated 2 år sedan
ppcmips64el.lpi 7909f00c83 * project files updated 2 år sedan
ppcmipsel.lpi 7909f00c83 * project files updated 2 år sedan
ppcppc.lpi 7909f00c83 * project files updated 2 år sedan
ppcppc64.lpi 7909f00c83 * project files updated 2 år sedan
ppcppc64le.lpi 7909f00c83 * project files updated 2 år sedan
ppcriscv32.lpi 7909f00c83 * project files updated 2 år sedan
ppcriscv64.lpi 7909f00c83 * project files updated 2 år sedan
ppcsparc.lpi 7909f00c83 * project files updated 2 år sedan
ppcsparc64.lpi 7909f00c83 * project files updated 2 år sedan
ppcwasm32.lpi a7be888255 + add optimizer units (empty for now) for the WebAssembly target 11 månader sedan
ppcx64.lpi ed50a1941b * Unicode resource strings 2 år sedan
ppcx64llvm.lpi 7909f00c83 * project files updated 2 år sedan
ppcxtensa.lpi 7909f00c83 * project files updated 2 år sedan
ppcz80.lpi 7909f00c83 * project files updated 2 år sedan
ppheap.pas eefdf135a5 Always write filename, truncate directory part if needed 9 år sedan
ppu.pas 558a7ef1ed * store the current verbosity as part of the settings so that they're stored as part of a generic token stream as well 8 månader sedan
procdefutil.pas 155756f668 * if an outer capturer is required then that outer capturer must not be optimized into a register (fixes compilation with -Ooregvar enabled (e.g. in -O3)) 7 månader sedan
procinfo.pas ab5c5a7e9a * also keep track of captured def (necessary when functions are captured) 1 år sedan
psabiehpi.pas fe57cd3536 * fix LLVM after r48828 4 år sedan
pstatmnt.pas 2390e70a4e * inline nodes can specify whether their result needs to be used 8 månader sedan
psub.pas 599b187589 * fix #40979: don't recurse further into the nested hierarchy for code generation if the function is generic 7 månader sedan
psystem.pas 7f4b2f63b3 Switch from functions for the Atomic*-family to intrinsics 8 månader sedan
ptconst.pas 276f5bdef8 * ensure that nothing assembly related is generated for generics when a typed constant (this also includes local variable initializations) are parsed 5 år sedan
ptype.pas 0e9efd07ef * extend read_anon_type() so that it can take a genericdef as well 1 år sedan
raatt.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 år sedan
rabase.pas b7fe6797bf Merged revisions 2921-2922,2925 via svnmerge from 19 år sedan
rasm.pas 46fe2d486c * forgotten comment 7 år sedan
rautils.pas e749c81040 Disable limitation of nonlocal setting for LLVM compiler 6 månader sedan
rescmn.pas 440a635bce + initial compiler support for WebAssembly resources. Requires WebAssembly 1 år sedan
rgbase.pas 4abc498f2f + added the Z80 individual flag bits as subregisters 5 år sedan
rgobj.pas 5e6e24ec08 Rename fields of tspillregsinfo record to avoid having same field names as treginfo record 1 år sedan
scandir.pas 56fa196b03 * properly read +/- for the warn directive, resolves #41105 7 månader sedan
scanner.pas 558a7ef1ed * store the current verbosity as part of the settings so that they're stored as part of a generic token stream as well 8 månader sedan
switches.pas 59be46a6fb * reset the message state only inside flushpendingswitchesstate(), not during $POP itself 8 månader sedan
symbase.pas 1e9e533e6c * Replace object with record where possible 1 år sedan
symconst.pas 05b73f1523 Postponing building of VMT until inheritance chain is specialized 8 månader sedan
symcreat.pas d86e726e87 * Invoke helper also needs generic ids 6 månader sedan
symdef.pas 4185e1dc67 * fix typo in comment 8 månader sedan
symsym.pas 2596af84fa Optimize {$DEFINE x := y} and refactor tmacro.buftext. 10 månader sedan
symtable.pas 8023fffd3c * cosmetics 8 månader sedan
symtype.pas 44d9234f38 * properly unlink unused type symbols from their defs to avoid 11 månader sedan
symutil.pas 7f41bb4718 JVM: add typesym for anonymous record typed constants 2 år sedan
syscinfo.pas 439faf0da8 m68k: basic DOS syscall generation for human68k 1 år sedan
systems.inc 4340d03ba9 + compiler support for a new target: wasip1threads 6 månader sedan
systems.pas 4340d03ba9 + compiler support for a new target: wasip1threads 6 månader sedan
tgobj.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 år sedan
tokens.pas 4d62764fa3 + also allow declaring an external as 'suspending first' 2 år sedan
triplet.pas 327aac7f24 Add aarch64-iphonesim target 2 år sedan
verbose.pas 98ecfb1e41 Simplify SanitiseXMLString. 6 månader sedan
version.pas 12c4290ffe Add loongarch64 architecture support to compiler 2 år sedan
versioncmp.pas 68253e2a73 Missing file from b26703feaa9 3 år sedan
wasmbase.pas ffd461860b + added extra values to TWasmNameSubsectionType from the extended name section 11 månader sedan
widestr.pas 0b97f169b0 Remove conditionals that rely on not defined(FPC_HAS_CPSTRING). 10 månader sedan
wpo.pas 060d81b8fa Merged revisions 11878,11881-11882,11889,11891-11893,11895,11899-11902,11935,11938,12212,12304,12308-12310,12316,12330-12332,12334,12339-12340 via svnmerge from 16 år sedan
wpobase.pas 12bde4e903 WPO: fix dead code detection, and handle procvars 2 år sedan
wpoinfo.pas b1dff29cbf * removed unused units 8 år sedan

README.txt

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