Commit Graph

47182 Commits

Author SHA1 Message Date
yury
1127689dba * tinterlockedmt test: Reduced the thread count.
git-svn-id: trunk@32148 -
2015-10-25 17:35:36 +00:00
joost
61409cd9a8 * Add include files to fpmake.pp
git-svn-id: trunk@32147 -
2015-10-25 16:29:23 +00:00
joost
74e9510476 * Add include file to fpmake.pp
git-svn-id: trunk@32146 -
2015-10-25 13:12:54 +00:00
joost
26f0d7a8a9 * Add include file to fpmake.pp
git-svn-id: trunk@32145 -
2015-10-25 12:57:22 +00:00
joost
bfd1e4a861 * Add include files to fomake.pp
git-svn-id: trunk@32144 -
2015-10-25 12:00:18 +00:00
joost
7798d639a9 Add include files to fpmake.pp
git-svn-id: trunk@32143 -
2015-10-25 11:30:51 +00:00
joost
c0bdce1330 * Fixed problem with search-masks in fpmake.pp-files in subdirectories
git-svn-id: trunk@32142 -
2015-10-24 22:09:06 +00:00
nickysn
1491d9655c + fixed the emitting of non-nil far and huge pointer constptrs in typed
constants on i8086

git-svn-id: trunk@32141 -
2015-10-24 20:25:49 +00:00
marcus
2f83eeba39 AROS: shortname in system description to uppercase (usual form)
git-svn-id: trunk@32140 -
2015-10-24 09:01:05 +00:00
joost
18f37f783d * Add include file to fpmake.pp
git-svn-id: trunk@32139 -
2015-10-23 20:26:41 +00:00
joost
7c41b9dbf6 * Add include file to fpmake.pp
git-svn-id: trunk@32138 -
2015-10-23 20:20:53 +00:00
lacak
e4369ba51b fcl-db: implement CompareBookmarks in Delphi compatible way.
"value less than 0 if Bookmark1 is less than Bookmark2, 0 if the bookmarks are identical, and a value greater than 0 if Bookmark1 is greater than Bookmark2."
Also FPC documentation: "It returns a negative value if Bookmark1 is located before Bookmark2, zero if they refer to the same record, and a positive value if the second bookmark appears before the first bookmark."
Special case is if one of bookmarks is nil:
 nil, "not nil" returns  1
 "not nil", nil returns -1
Bug #28730

git-svn-id: trunk@32131 -
2015-10-23 08:57:23 +00:00
joost
fa1eacb387 * Add include-files to fpmake.pp
git-svn-id: trunk@32129 -
2015-10-22 20:33:35 +00:00
joost
4e1e8777a1 * Add include-files to fpmake.pp
git-svn-id: trunk@32128 -
2015-10-22 19:48:07 +00:00
joost
5439ceab06 * Add include-files to fpmake.pp
git-svn-id: trunk@32127 -
2015-10-22 19:27:28 +00:00
joost
b37995cbfa * Add include-files to fpmake.pp
git-svn-id: trunk@32126 -
2015-10-22 19:10:09 +00:00
florian
0ffe6157a8 * cast hsym with the correct type, should resolve issue #28862
git-svn-id: trunk@32125 -
2015-10-22 19:07:31 +00:00
joost
ad28a21b45 * Add gdbver_nogdb.inc to fpmake.inc
git-svn-id: trunk@32124 -
2015-10-22 17:19:14 +00:00
joost
6926ae8cae * Fixed some dependencies in fpmake.pp
git-svn-id: trunk@32123 -
2015-10-22 17:08:13 +00:00
nickysn
863daace35 + implemented correct simplification of far pointer comparison of two pointer const nodes
git-svn-id: trunk@32122 -
2015-10-22 14:07:45 +00:00
joost
7ce5b39e23 * Added chmobjinstconst.inc to fpmake.pp
git-svn-id: trunk@32121 -
2015-10-21 22:38:26 +00:00
joost
9969da8aa9 * Added some include files to fpmake.pp
git-svn-id: trunk@32120 -
2015-10-21 21:51:30 +00:00
joost
c3c2fa1ede * Added aspelltypes.inc to fpmake.pp
git-svn-id: trunk@32119 -
2015-10-21 21:31:03 +00:00
joost
502eee8f80 * Fixed building fpmkunit with tar-support, but without zstream
git-svn-id: trunk@32118 -
2015-10-21 21:17:13 +00:00
nickysn
b0130c008d + show the full segment:offset value of far and huge pointer const nodes in the node tree generated by -vp
git-svn-id: trunk@32117 -
2015-10-21 16:53:41 +00:00
nickysn
e325cf1126 * fixed internconsts with two arguments. This allows compile time evaluation of ptr(const,const) on i8086 and i386.
git-svn-id: trunk@32116 -
2015-10-21 16:00:12 +00:00
yury
6537b99ac3 * i386: Fixed detection of a peephole optimization using CMOV.
git-svn-id: trunk@32115 -
2015-10-21 15:59:12 +00:00
yury
5771073e0b * Fixed general peephole optimization of conditional jumps after r30446. It has been broken, since r30446 had added some IsJumpToLabel() checks, which tests for unconditional jump, but the optimization code expects also conditional jumps.
- Renamed IsJumpToLabel() to IsJumpToLabelUncond() to avoid confusions.
  - Added IsJumpToLabel() to check for any jump to a label.
  - Added comments.

git-svn-id: trunk@32114 -
2015-10-21 15:35:54 +00:00
nickysn
3d2919acae + added an i8086 asm optimized implementation of fpc_pchar_length
git-svn-id: trunk@32113 -
2015-10-21 13:21:04 +00:00
yury
35ff024f03 * mips: Fixed internal error 2014061703 when optimization are enabled.
git-svn-id: trunk@32112 -
2015-10-21 12:14:49 +00:00
yury
4ae1d23909 * tinterlockedmt test: Increased timeout.
git-svn-id: trunk@32111 -
2015-10-21 09:02:16 +00:00
nickysn
520f7226aa + added test for i8086 inline asm far and near indirect jmps as well
git-svn-id: trunk@32110 -
2015-10-21 01:26:15 +00:00
nickysn
2fbcdaf7d5 * fix typo
git-svn-id: trunk@32109 -
2015-10-21 01:22:23 +00:00
nickysn
bdf719c4df * updated comment to inform that 'call far reg' is not a valid x86 instruction
at all, and not just that we don't expect it

git-svn-id: trunk@32108 -
2015-10-21 01:19:23 +00:00
nickysn
c5aa64bc2c + added an i8086 inline asm test for the indirect near and far call instructions
git-svn-id: trunk@32107 -
2015-10-21 01:07:00 +00:00
nickysn
09218c88aa + optimizations in tcg8086.g_flags2reg for the case where the carry flag or the
inverted carry flag is converted to int, using shorter branchless code and
  the adc/rcl/sbb instructions

git-svn-id: trunk@32106 -
2015-10-20 23:22:32 +00:00
michael
71a6138a17 * Patch from Silvio Clecio to update fpmake targets and properties
git-svn-id: trunk@32105 -
2015-10-20 21:13:36 +00:00
michael
4f649f34d0 * Patch from Silvio Clecio to update to 0.9.43 headers
git-svn-id: trunk@32104 -
2015-10-20 21:12:09 +00:00
nickysn
8eceb73dd4 * also use an 8-bit zero constant for string comparisons with the empty string.
This avoids the unnecessary 32-bit comparison on 16-bit and 8-bit CPUs

git-svn-id: trunk@32103 -
2015-10-20 15:50:02 +00:00
Jonas Maebe
9437d0e4d8 * Linux/AArch64 must also copy value parameters passed by reference on the
caller side, as this is an AArch64 ABI requirement (unrelated to Darwin).
    Fixes webtbs/tw3523 compiled with optimisations on Linux/AArch64

git-svn-id: trunk@32102 -
2015-10-20 12:58:53 +00:00
yury
9bece502a0 * tinterlockedmt test: Reworked test for InterlockedCompareExchange to be more robust.
git-svn-id: trunk@32101 -
2015-10-20 12:43:52 +00:00
Jeppe Johansen
eadd93dbae Most if not all instructions for thumb use only 2 operand rw forms. Changed get_oper_type to match that. It was previously creating bad spilling.
git-svn-id: trunk@32100 -
2015-10-20 03:45:22 +00:00
nickysn
a20428f246 * when doing a string comparison that calls an rtl helper, compare the function
result with an 8-bit zero constant (which will be expanded to the native
  integer size by the comparison node), instead of 32-bit zero. This avoids the
  unnecessary 32-bit comparison on 16-bit and 8-bit cpus.

git-svn-id: trunk@32099 -
2015-10-20 01:22:01 +00:00
nickysn
db7b743139 * yet another longint replaced with objpasint in fpc_shortstr_compare_equal
git-svn-id: trunk@32098 -
2015-10-19 16:53:40 +00:00
nickysn
b561b3c2ba * use objpasint (generates better code on 16-bit and 8-bit cpus) instead of
longint in several generic shortstr helpers

git-svn-id: trunk@32097 -
2015-10-19 16:36:12 +00:00
pierre
854d04bb46 Fix missing aarch64 CPU in ShowHistory for one test
git-svn-id: trunk@32096 -
2015-10-19 14:47:50 +00:00
yury
325a79b81b * tinterlockedmt test: Another fix to improve threads synchronization. Should fix slow execution on some systems.
git-svn-id: trunk@32095 -
2015-10-19 11:34:52 +00:00
pierre
89f5b65bbf New aarch64-linux gcc compiled objects generated on GCC Compile Farm gcc115 machine
git-svn-id: trunk@32094 -
2015-10-19 10:40:35 +00:00
blikblum
9aa6ea2255 Implement OnFilterRecord
git-svn-id: trunk@32093 -
2015-10-18 18:53:47 +00:00
sergei
72f60de3c4 * Added two test cases from Mantis #28584. The issue itself has been fixed with r31475 and r31582.
git-svn-id: trunk@32092 -
2015-10-18 14:48:36 +00:00