Commit Graph

42730 Commits

Author SHA1 Message Date
marco
eb32c54953 * minor cleanups makefile.
git-svn-id: trunk@27338 -
2014-03-29 17:34:29 +00:00
marco
67df7aebcf * minor updates
git-svn-id: trunk@27337 -
2014-03-29 17:31:00 +00:00
nickysn
d43d7e59b5 * partially converted the threadvar handling in tcgloadnode.pass_generate_code
to use the hlcg in order to support the i8086 far data memory models. Only the
  instructions that handle the case when there's no thread manager installed
  (FPC_THREADVAR_RELOCATE=nil) are converted, since that's what's used on the
  msdos target. The rest still uses the low level code generator.

git-svn-id: trunk@27336 -
2014-03-29 16:22:48 +00:00
marco
cee8a7c527 * cleaning out old makefile rules.
git-svn-id: trunk@27335 -
2014-03-29 16:12:40 +00:00
nickysn
409b047b59 * i8086 far data memory model fixes for the handling of dynamic (ansi/wide/
unicode) strings and dynarrays in tcgvecnode.pass_generate_code

git-svn-id: trunk@27334 -
2014-03-29 14:39:22 +00:00
nickysn
4e60d2316f * support implicit pointer types (classes, dynarrays, ansistrings, etc.) in
i8086's thlcgcpu.getaddressregister and thlcgcpu.reference_reset_base

git-svn-id: trunk@27333 -
2014-03-29 14:00:24 +00:00
nickysn
ce59c4616f * assume SS for the segment of references that have BP as base in
thlcgcpu.a_loadaddr_ref_reg

git-svn-id: trunk@27332 -
2014-03-29 13:25:11 +00:00
florian
a4b6e99db1 * increase refs of hidden high parameter if the corresponding open/const array is used
git-svn-id: trunk@27331 -
2014-03-29 13:10:54 +00:00
florian
601d210763 * formatting
git-svn-id: trunk@27330 -
2014-03-29 13:10:50 +00:00
reiniero
3065e3289b fcl-db: dbtestframework:
+ add support for logging test execution/sqldb log events to file. Enable by setting the the logfile= entry in database.ini

git-svn-id: trunk@27329 -
2014-03-29 10:17:31 +00:00
nickysn
10f9b5c6e4 + added all compiler files to the ppc8086 lazarus project for easier navigation
git-svn-id: trunk@27328 -
2014-03-29 09:33:40 +00:00
nickysn
7f014c5040 * replaced ifdef i8086 with hlcg.reference_reset_base in tcgloadnode.pass_generate_code
git-svn-id: trunk@27327 -
2014-03-28 23:38:57 +00:00
nickysn
891ab86254 * fixed ncgutil.gen_load_vmt_register and tcgloadvmtaddrnode.pass_generate_code
for i8086 far data memory models by using the high level code generator

git-svn-id: trunk@27326 -
2014-03-28 23:16:14 +00:00
nickysn
8b2cde4a99 * fixed tcgstringconstnode.pass_generate_code for i8086 far data memory models
by using the high level code generator

git-svn-id: trunk@27325 -
2014-03-28 22:34:30 +00:00
nickysn
0aab7fcc9c * fixed tcgtypeconvnode.second_cstring_to_pchar for i8086 far data memory models by using the high level code generator
git-svn-id: trunk@27324 -
2014-03-28 18:36:14 +00:00
nickysn
e465ab355b * converted tcgaddrnode.pass_generate_code to use the high level code generator,
which makes the i8086 overridden class unnecessary

git-svn-id: trunk@27323 -
2014-03-28 16:19:49 +00:00
pierre
85d09b62e9 Fix ugly gmake distclean problems for openbsd/netbsd x86_64 targets by enabling them as supported targets inside fpmkunit.pp unit
git-svn-id: trunk@27322 -
2014-03-28 15:56:45 +00:00
nickysn
ead05754b4 + implemented hlcg.a_loadaddr_ref_reg for i8086, which uses tosize to determine whether the destination is a far pointer, instead of using the presence of ref.segment
git-svn-id: trunk@27321 -
2014-03-28 14:49:43 +00:00
svenbarth
a08e8ff982 Fix for Mantis #25929
* ninl.pas, tinlinenode.handle_default.getdefaultvarsym:
    prefix the default variable's name with a "$zero" instead of a "zero" and use only the string from the second character on for comparisons so that findwithhash() and checkduplicates() generate consistent results

+ added test

git-svn-id: trunk@27320 -
2014-03-28 14:45:18 +00:00
svenbarth
e003e1773c Add implementation of HMAC-MD5 and HMAC-SHA1 from Silvio Clecio. Resolves Mantis #24136
git-svn-id: trunk@27319 -
2014-03-28 14:09:52 +00:00
pierre
e65da0deb8 Fix mipsel compilation by reinstalling rev27188 commit reverted in 27200
git-svn-id: trunk@27318 -
2014-03-28 13:51:47 +00:00
nickysn
e6c6bdf662 + added n8086mem.pas to the ppc8086 lazarus project
git-svn-id: trunk@27317 -
2014-03-28 13:00:16 +00:00
sergei
e4819e863b + Consider target_info.cprefix in symbol names.
git-svn-id: trunk@27315 -
2014-03-28 09:07:58 +00:00
sergei
ebdbf21650 * tx86addnode.second_cmpfloatsse and tx86addnode.second_cmpfloatavx are identical except instruction opcodes -> merged into second_cmpfloatvector, cleaned up, and allowed constant operands at both sides.
git-svn-id: trunk@27314 -
2014-03-28 09:04:28 +00:00
nickysn
b1f69349f8 * use voidpointertype.size to obtain the current data (self) pointer size,
instead of checking the i8086 memory model manually in tprocvardef.size

git-svn-id: trunk@27313 -
2014-03-28 00:40:08 +00:00
nickysn
359bd9a13a * fixed class name in comment
git-svn-id: trunk@27312 -
2014-03-28 00:16:03 +00:00
nickysn
2644d7566c * refactored tcgtypeconvnode.second_pointer_to_array to use
hlcg.reference_reset_base, which removes the need for i8086-specific ifdefs

git-svn-id: trunk@27311 -
2014-03-28 00:10:29 +00:00
nickysn
81875346cf * fixed tcginlinenode.second_SizeOfTypeOf for i8086 far data memory models by
using the high level code generator for all operations, that involve pointers

git-svn-id: trunk@27310 -
2014-03-28 00:07:39 +00:00
nickysn
26b53607f8 + added method reference_reset_base with support for different pointer types to
the high level code generator. All hlcg code, except for the jvm code
  generator, updated to use the new method. I didn't update jvm (it still uses
  the method from cgutils), because I'm not familiar with that platform, so I
  might get the types wrong.

git-svn-id: trunk@27309 -
2014-03-28 00:01:18 +00:00
nickysn
7f88dc9d95 + added symdef.voidstackpointertype - the pointer type that will be used in the
high level code generator for obtaining references to parameters, local
  variables and temps on the stack.

git-svn-id: trunk@27308 -
2014-03-27 23:23:20 +00:00
pierre
0b8f6c621c Fix an error in rtlconsts$(PPU) rule
git-svn-id: trunk@27307 -
2014-03-27 23:18:28 +00:00
nickysn
7079f49832 * regenerated fcl-sound makefile with fpcmake from trunk, because it supports
the extra platforms that have been added to the fpc trunk since 2.6.x

git-svn-id: trunk@27306 -
2014-03-27 23:14:16 +00:00
pierre
9621e43bff Avoid RTE 219 if compiled with -CR, by using correct common ancestor
git-svn-id: trunk@27305 -
2014-03-27 22:55:45 +00:00
Tomas Hajny
9fb4db7a2f * add support for Latin-2 character sets (ISO & IBM)
git-svn-id: trunk@27304 -
2014-03-27 22:48:13 +00:00
Tomas Hajny
635a00266a + added fcl-sound
git-svn-id: trunk@27303 -
2014-03-27 22:36:34 +00:00
marco
3311ef4d48 * eventconnect/disconnect moved, Mantis #25888
git-svn-id: trunk@27302 -
2014-03-27 19:05:38 +00:00
marco
ec394b2495 * remove stale uses strutils;
git-svn-id: trunk@27301 -
2014-03-27 18:18:39 +00:00
sergei
31edfdc05f * i386: push references with size OS_F64 using less instructions.
git-svn-id: trunk@27300 -
2014-03-27 14:48:23 +00:00
sergei
965540eab3 * Let tx86addnode.check_left_and_right_fpureg() act as when its argument was=true (removed argument and renamed to force_left_and_right_fpureg). Its action when force_fpureg=false is now coded separately.
git-svn-id: trunk@27299 -
2014-03-27 11:42:24 +00:00
Károly Balogh
35ff3db46b fcl-sound: a tab to spaces fix in header, no functional changes
git-svn-id: trunk@27297 -
2014-03-27 11:00:41 +00:00
Károly Balogh
c28873fd79 fcl-sound: fixed fpmake.pp to make it actually build
git-svn-id: trunk@27296 -
2014-03-27 10:27:10 +00:00
Károly Balogh
b5eca42cc0 fcl-sound: no variable case in unit names please (can cause troubles on case-sensitive FS), compile w/o C-style operators enabled
git-svn-id: trunk@27295 -
2014-03-27 10:26:01 +00:00
florian
775ac591df * fix test: fma support does not necessarily mean that there is avx2 support
git-svn-id: trunk@27294 -
2014-03-27 09:41:59 +00:00
lacak
37e0aa202c fcl-db: sqldb: propagate LogEvents from TSQLConnector to proxy TSQLConnection
git-svn-id: trunk@27293 -
2014-03-27 07:26:51 +00:00
mazen
2ab3e8704d + fcl-sound: added new package for supporting sound processing.
git-svn-id: trunk@27292 -
2014-03-26 21:53:18 +00:00
Károly Balogh
3b9e2a620b added a remark about a possible QEMU issue with CMP/CMPI .W and .B on ColdFire
git-svn-id: trunk@27291 -
2014-03-26 17:08:16 +00:00
Károly Balogh
1af6d17b4d don't enforce BPL length, use SUBQ in g_concatcopy
git-svn-id: trunk@27290 -
2014-03-26 15:43:25 +00:00
Károly Balogh
9ae38cdc1c back to more conservative sign extension. this really needs separate handling for ColdFire and normal 68k, because the CF executes 32bit arithmetics only while normal 68k will do any size happily.
git-svn-id: trunk@27289 -
2014-03-26 15:02:50 +00:00
pierre
153a7d7357 Revert previous unwanted change to Makefile: restore normal Makefile generated using Makefile.fpc
git-svn-id: trunk@27288 -
2014-03-26 14:23:20 +00:00
pierre
555dcfd84f Add dependency on rtl-objpas package
git-svn-id: trunk@27287 -
2014-03-26 14:20:00 +00:00