Commit Graph

48741 Commits

Author SHA1 Message Date
florian
35b18fbf85 * change address related variables from aint to PInt to avoid range check errors
git-svn-id: trunk@33701 -
2016-05-16 19:24:09 +00:00
michael
8e75ac64f1 * Patch from Graeme GeldenHuys to implement UnicodeString versions of MatchStr() and IndexStr() (bug ID 30113)
git-svn-id: trunk@33700 -
2016-05-16 16:40:27 +00:00
michael
5e3b22ab15 * Patch to Split AdvancedIPC and AdvancedSingleInstance, by Luiz Americo (Bug ID 30141)
git-svn-id: trunk@33699 -
2016-05-16 16:25:50 +00:00
michael
5f8fd810b8 * Test programs for crashing IPC server
git-svn-id: trunk@33698 -
2016-05-16 16:22:39 +00:00
michael
d53c4b4153 * Fix compilation of pipesipc
git-svn-id: trunk@33697 -
2016-05-16 16:18:44 +00:00
michael
7c91516b24 * Remove old stale file checking mechanism
git-svn-id: trunk@33696 -
2016-05-16 15:33:23 +00:00
michael
a5d38c7ba6 * Added TStringBuilder
git-svn-id: trunk@33695 -
2016-05-16 15:23:40 +00:00
florian
6f9d74b83e + define FPC_NO_DEFAULT_HEAP for the embedded target as well
git-svn-id: trunk@33694 -
2016-05-16 13:26:39 +00:00
florian
b2f15e2736 * first check for ait_instruction before checking opcode
git-svn-id: trunk@33693 -
2016-05-16 13:10:20 +00:00
florian
f950dca8a5 * use PUInt for passing around sizes in ogbase as the width of the data type should dependent on the address size and not the ALU size
git-svn-id: trunk@33692 -
2016-05-16 07:55:09 +00:00
marco
d67dee1d2d * remove win9xmanager also from .fpcmake
git-svn-id: trunk@33689 -
2016-05-14 10:42:05 +00:00
pierre
47a10f0b18 Fix build error after commit 33687
git-svn-id: trunk@33688 -
2016-05-14 09:33:13 +00:00
marco
dd2aae023e * delete win9xwsmanager, conform bugreport #29108
git-svn-id: trunk@33687 -
2016-05-13 18:52:02 +00:00
svenbarth
b5d984da7a pkgutil.pas, createimportlibfromexternals:
* only process a unit's imports if the unit is not already from a package

git-svn-id: trunk@33686 -
2016-05-13 15:20:08 +00:00
svenbarth
a67fe62caa fmodule.pas, tmodule:
* reset: also free and reinstantiate unitimportsyms

git-svn-id: trunk@33685 -
2016-05-13 14:51:02 +00:00
pierre
94d8d9927d Only add indirect symbol for constants if tf_supports_packages flag is set in target_info.flags
git-svn-id: trunk@33684 -
2016-05-12 07:05:58 +00:00
michael
ac1b59ef03 * Small fix from Laco to fix missinu ULONG type
git-svn-id: trunk@33683 -
2016-05-11 14:51:12 +00:00
pierre
fe6feb741b Use macros for msdos OS to translate SysGetMem into SysTinyGetMem and similar, fixes several RTE 203 isssues for msdos target OS
git-svn-id: trunk@33682 -
2016-05-11 14:38:46 +00:00
pierre
91595447c6 Add SysTinyGetHeapStatus and SysTinyGetFPCHeapStatus functions
git-svn-id: trunk@33681 -
2016-05-11 14:37:38 +00:00
pierre
4af209ac50 Add SysTinyGetMem and similar to interface to allow use in heaptrc unit
git-svn-id: trunk@33680 -
2016-05-11 14:36:19 +00:00
pierre
cbb29a7e5d Use FPC_NO_DEFAULT_HEAP to turn out RelocateHeap or MemoryManager.InitThread functions, used for msdos OS
git-svn-id: trunk@33679 -
2016-05-11 14:34:55 +00:00
pierre
effa0154c5 Use FPC_NO_DEFAULT_MEMORYMANAGER define to guard SysGetmem/SysFreemem functions, also used for msdos OS
git-svn-id: trunk@33678 -
2016-05-11 14:33:00 +00:00
pierre
c8ad916710 Use FPC_NO_DEFAULT_MEMORYMANAGER define to guard SysGetmem/SysFreemem function definitions, also used for msdos OS
git-svn-id: trunk@33677 -
2016-05-11 14:32:02 +00:00
pierre
01ea38a627 Implement basic SysOSAlloc using MSDOS Interrrupt 0x21, AH=0x48 function
git-svn-id: trunk@33676 -
2016-05-11 14:29:11 +00:00
pierre
2a3b5bec86 Add new FPC_NO_DEFAULT_MEMORYMANAGER define for msdos OS
git-svn-id: trunk@33675 -
2016-05-11 14:27:26 +00:00
Károly Balogh
23cf551bf3 m68k-amiga: fixed wrong define to test against softfpu (oops...)
git-svn-id: trunk@33672 -
2016-05-11 07:09:53 +00:00
Károly Balogh
424f329173 m68k: use inlined realconsts also during normal float calculations on '881/040/060. also optimize them where possible
git-svn-id: trunk@33671 -
2016-05-10 18:19:41 +00:00
Károly Balogh
7fff76d936 m68k-amiga: only compile softfpu code into system unit, when FPU_SOFT is defined
git-svn-id: trunk@33670 -
2016-05-10 16:08:17 +00:00
Károly Balogh
2dbfca4e8e m68k: optimize a few cases of comparisons against inlined realconsts
git-svn-id: trunk@33669 -
2016-05-10 15:39:08 +00:00
Károly Balogh
7710300c22 m68k: utilize FTST for comparing against float zero. also utilize FCMP realconst,fpreg on '881 for other realconst values
git-svn-id: trunk@33668 -
2016-05-10 15:38:13 +00:00
Károly Balogh
e7838dad39 m68k: initial asm-level infrastructure to let the codegenerator output float consts as operands, which is supported on 88x/040/060
git-svn-id: trunk@33667 -
2016-05-10 13:47:46 +00:00
lacak
8e2ac164f8 fcl-db: tests: preparation for BOOLEAN data type tests for Firebird 3
git-svn-id: trunk@33666 -
2016-05-10 13:37:23 +00:00
Károly Balogh
3e2319ff3a m68k: do not allocate/free the regset dynamically having it as a normal field is perfectly fine
git-svn-id: trunk@33665 -
2016-05-10 13:03:17 +00:00
florian
e4baf67722 * do not write any size suffix for cvt*ss2si, doing so makes no sense as the size of the single and the integer might be different on x86-64, resolves issue #30101
git-svn-id: trunk@33661 -
2016-05-08 18:50:53 +00:00
Jonas Maebe
a31530e532 * fixed some copy/paste errors in r16205 (MACOS instead of MORPHOS,
based on patch by Lychee, mantis #30102)

git-svn-id: trunk@33660 -
2016-05-08 08:54:06 +00:00
marcus
a414a8bded os4units: support for Cybergraphics gfx
git-svn-id: trunk@33659 -
2016-05-06 19:07:14 +00:00
marcus
b6f73bf1cf os4units: support for Picasso96 gfx
git-svn-id: trunk@33658 -
2016-05-06 16:33:56 +00:00
Károly Balogh
3b4822d320 m68k: utilize MVS and MVZ instructions to load values from references with zero/sign extend when they're available
git-svn-id: trunk@33656 -
2016-05-05 23:55:50 +00:00
Károly Balogh
bd17976cf1 m68k: added Coldfire CPU capability MVS/MVZ instructions. also fixed CFv4e capabilities
git-svn-id: trunk@33655 -
2016-05-05 23:54:37 +00:00
florian
cfd49ec708 + TAOptBase.SuperRegistersEqual
+ properly implemented TAOptObj.PrePeepHoleOpts
+ properly implemented TAOptObj.PeepHoleOptPass2

git-svn-id: trunk@33654 -
2016-05-05 12:38:19 +00:00
Károly Balogh
2e9ed396b4 m68k: convert non-int paraloc sizes to int in a_load_ref_cgpara, fixes build breaks with softfpu since r33651
git-svn-id: trunk@33653 -
2016-05-05 02:33:54 +00:00
Károly Balogh
1e6e5a1874 m68k: implemented a_load64_reg_ref and a_load64_ref_reg. avoids duplicated reference simplifications in the generated code during 64bit load/store
git-svn-id: trunk@33652 -
2016-05-05 00:58:21 +00:00
Károly Balogh
2b250a1b0a m68k: use a_load_ref_ref in a_load_ref_cgpara instead of a custom loading code which does the same. causes no changes in generated code
git-svn-id: trunk@33651 -
2016-05-05 00:55:52 +00:00
Károly Balogh
778a0b737e * removed ancient (since r5554) special handling code for m68k from tcgvecnode, which is no longer necessary
git-svn-id: trunk@33650 -
2016-05-04 21:39:37 +00:00
florian
0232a0d979 * several inlined math function do not need a non-constant register for the argument
git-svn-id: trunk@33649 -
2016-05-04 18:15:33 +00:00
Károly Balogh
88e14dc456 m68k: only extend the dest reg to tosize during reg-reg moves. this removes a large amount of unnecessary sign and zero extensions from the generated code. this was attempted before, but thanks to other fixes it no longer causes testsuite regressions
git-svn-id: trunk@33648 -
2016-05-04 09:52:27 +00:00
Károly Balogh
524659b341 m68k: if we have a symbol in the location reference, that will be base, so try to insert an index register instead, reduces the amount of data->address register shuffling in the generated code
git-svn-id: trunk@33647 -
2016-05-03 23:55:27 +00:00
nickysn
671eed3070 + added the GenericEvent type constant to unit X
git-svn-id: trunk@33646 -
2016-05-03 23:08:09 +00:00
nickysn
94e890a2cd + added data structures and functions for the X11 generic events extension
git-svn-id: trunk@33645 -
2016-05-03 22:29:57 +00:00
marcus
acd7b1f128 AmigaOS4: Library unit for icon.library part 2
git-svn-id: trunk@33644 -
2016-05-03 20:17:50 +00:00