Commit Graph

43233 Commits

Author SHA1 Message Date
Jonas Maebe
b0ff41406a * grouped all tai_real* types into a single tai_realconst type,
to free up space for more ait_* types in taitype (can't have
    more than 32 because they have to fit in a small set)
   o factored out writing of floating point numbers as an array of
     byte in the external assemblers

git-svn-id: branches/hlcgllvm@28105 -
2014-07-01 16:29:58 +00:00
Jonas Maebe
a24c81a5f8 * added llvmdatalayout for mipsel-android
git-svn-id: branches/hlcgllvm@28104 -
2014-07-01 16:29:54 +00:00
Jonas Maebe
bacd303208 * synchronized with trunk up to r27758
git-svn-id: branches/hlcgllvm@27779 -
2014-05-12 16:12:34 +00:00
Jonas Maebe
362ff5ad01 * only check for _PROPERTY as a regular token, so that
{$modeswitch properties-} also affects global properties
    (mantis #25861)

git-svn-id: trunk@27758 -
2014-05-10 16:03:02 +00:00
michael
dc17b7ef46 * Extention -> extension (By Reinier, bug ID #25979)
git-svn-id: trunk@27757 -
2014-05-10 15:56:37 +00:00
michael
7c9d6184a1 * Extention -> extension (By Reinier, bug ID #25979)
git-svn-id: trunk@27756 -
2014-05-10 15:53:50 +00:00
michael
75c6d67bc7 * Extention -> extension (By Reinier, bug ID #25979)
git-svn-id: trunk@27755 -
2014-05-10 15:31:41 +00:00
michael
a1c9a98e68 * Extention -> extension (By Reinier, bug ID #25979)
git-svn-id: trunk@27754 -
2014-05-10 15:31:22 +00:00
michael
bbfd061dcf * Extention -> extension (By Reinier, bug ID #25979)
git-svn-id: trunk@27753 -
2014-05-10 15:30:57 +00:00
michael
478f1a2c5f * Extention -> extension (By Reinier, bug ID #25979)
git-svn-id: trunk@27752 -
2014-05-10 15:30:33 +00:00
michael
b26e9cc201 * Extention -> extension (By Reinier, bug ID #25979)
git-svn-id: trunk@27751 -
2014-05-10 15:30:09 +00:00
michael
36c662f69f * Extention -> extension (By Reinier, bug ID #25979)
git-svn-id: trunk@27750 -
2014-05-10 15:29:29 +00:00
michael
8d4e81702e * Extention -> extension (By Reinier, bug ID #25979)
git-svn-id: trunk@27749 -
2014-05-10 15:28:22 +00:00
michael
89c4255ab8 * test for subrangeset
git-svn-id: trunk@27748 -
2014-05-10 15:24:31 +00:00
michael
c861384366 * Fixed bug #26117, as proposed by reporter
git-svn-id: trunk@27747 -
2014-05-10 14:45:03 +00:00
michael
eb32f7bc2e * Fixed bug #26130
git-svn-id: trunk@27746 -
2014-05-10 14:37:52 +00:00
michael
47fd732236 * Fix StrToDate incompatibility with delphi in case of trailing whitespace
git-svn-id: trunk@27745 -
2014-05-10 13:41:06 +00:00
Jonas Maebe
2075bf157e * insert JVM checkcast instructions when a voidpointer is implicitly
converted to an incompatible type

git-svn-id: trunk@27744 -
2014-05-10 12:47:34 +00:00
Jonas Maebe
675498a53e * javaa -> java
git-svn-id: trunk@27743 -
2014-05-10 12:47:31 +00:00
Jonas Maebe
ea0b9efd20 + support for simplifying empty try-except statements
o required for the JVM target, as exception tables with start=end
     are invalid there

git-svn-id: trunk@27742 -
2014-05-10 12:47:28 +00:00
Jonas Maebe
5fa09fa2f4 * changed tcallnode.fforcedprocname from shortstring into tsymstr,
so it doesn't truncate mangled names for the JVM target (it's
    used there since r27149)
   o adapted a number of WPO helpers to use tsymstr instead of
     shortstring, but the WPO devirtualization functionality is
     still limited to shortstrings internally

git-svn-id: trunk@27741 -
2014-05-10 12:47:25 +00:00
Jonas Maebe
9f6d6f4aa8 * copy tcallnode.fforcedprocname field
git-svn-id: trunk@27740 -
2014-05-10 12:47:22 +00:00
michael
6d43208e44 * Fixed memory leak, context and SSL object must be freed
git-svn-id: trunk@27739 -
2014-05-08 11:06:17 +00:00
lacak
aa62089fb3 fcl-db: sqldb: TSQLTransaction.EndTransaction should end transaction (a do not leave it active). So caCommitRetaining and caRollbackRetaining are only aliases of caCommit, caRollback in this case. Bug #26068
git-svn-id: trunk@27738 -
2014-05-05 10:36:22 +00:00
Károly Balogh
2d38cf0dbd assemble: don't include exec directly, but use GetProcessID to generate the unique file ID, because that maps to exec/FindTask on Amiga anyway
git-svn-id: trunk@27737 -
2014-05-04 23:16:52 +00:00
Károly Balogh
fbc7b3d89a fixed some recently added external vs. public mixup, so Amiga binaries even link again
git-svn-id: trunk@27736 -
2014-05-04 23:11:38 +00:00
Károly Balogh
633eeb79ed m68k/ra68kmot.pas: fixed a pointer to signed int cast warning, so it now compiles with warnings on
git-svn-id: trunk@27735 -
2014-05-04 22:22:03 +00:00
Károly Balogh
3b787b7187 m68k/ra68k.pas: fixed some multi level comment warnings, so it now compiles with warnings on
git-svn-id: trunk@27734 -
2014-05-04 22:21:24 +00:00
Károly Balogh
94d1a04422 m68k/cpuasm.pas was an empty and unused file since the first SVN commit. other platforms also doesn't have such file, so removed.
git-svn-id: trunk@27733 -
2014-05-04 21:51:15 +00:00
Jonas Maebe
13fbf5b6ef * fixup for r27725: limit change to subn
git-svn-id: trunk@27732 -
2014-05-04 11:40:32 +00:00
Tomas Hajny
fab4a91f4d * package openssl supported for OS/2 now
git-svn-id: trunk@27731 -
2014-05-03 22:35:50 +00:00
Tomas Hajny
20545a79dc * package supported for OS/2 now
git-svn-id: trunk@27730 -
2014-05-03 22:31:46 +00:00
Tomas Hajny
b101438eb7 * OS/2 support previously added to Synapse merged in
git-svn-id: trunk@27729 -
2014-05-03 22:27:32 +00:00
nickysn
89e9fac562 * TVMTBuilder.intf_allocate_vtbls: fixed the Ioffset calculation in i8086 far
data memory models

git-svn-id: trunk@27728 -
2014-05-03 17:05:50 +00:00
reiniero
15275795da * fcl-db: adjust blob type test to match narrowed number of allowed blob types in r27682
git-svn-id: trunk@27727 -
2014-05-03 16:18:47 +00:00
Jonas Maebe
20b8ade8ce * added readbarriers as counterparts for the writebarriers (see
"SMP BARRIER PAIRING"
    in https://www.kernel.org/doc/Documentation/memory-barriers.txt ), should
    fix sporadic crashes of the test

git-svn-id: trunk@27726 -
2014-05-03 16:16:17 +00:00
Jonas Maebe
e704dd8d74 * treat "u32bit-u32bit" as a signed value when removing automatic
64 bit upcasts, as the result can be negative when evaluated in
    64 bit (reported on irc, please file bug reports)

git-svn-id: trunk@27725 -
2014-05-03 15:06:16 +00:00
nickysn
4f4e00e758 + i8086 far data memory model fixes in tinterfaceentry and tinterfacetable
git-svn-id: trunk@27724 -
2014-05-03 14:38:00 +00:00
Jonas Maebe
35c64a7a69 * properly order all operations in TMultiReadExclusiveWriteSynchronizer
using memory barriers, rather than half-heartedly using atomic
    operations. Fixes random failures in trwsync on POWER7 processors
    (and probably other weakly ordered architectures)

git-svn-id: trunk@27723 -
2014-05-03 14:19:54 +00:00
nickysn
791cd932fd + support i8086 far data memory models in tcg8086.g_intf_wrapper
git-svn-id: trunk@27722 -
2014-05-03 14:17:54 +00:00
florian
8207e0ef22 + make use of vfnmsub*/vfmsub*/vfnmadd* instructions if possible
git-svn-id: trunk@27721 -
2014-05-02 21:07:46 +00:00
nickysn
6e7dd647fd * Tcgx86.g_concatcopy: optimization for the case where source.segment is
specified, but equal to DS in the current memory model

git-svn-id: trunk@27720 -
2014-05-02 13:07:54 +00:00
lacak
1004c8db6f fcl-db: base: implement TParam.AsBCD + test
git-svn-id: trunk@27719 -
2014-05-02 11:15:20 +00:00
lacak
b4f2f47f49 fcl-db: mysql: when MySQL reports field type as VARCHAR map to ftString and do not try remap to ftMemo.
git-svn-id: trunk@27718 -
2014-05-02 09:12:54 +00:00
lacak
54c09051a0 fcl-db: base: when copying character data use MaxLen up to Size (not DataSize), because buffer size is = DataSize, o we can copy max. DataSize-1 which is Size.
+ better test TestInsertLargeStrFields

git-svn-id: trunk@27717 -
2014-05-02 09:08:53 +00:00
nickysn
906d828ee0 * tcg8086.g_copyvaluepara_openarray: fix for the case where ref.segment is
specified, but equal to DS in the current memory model -> call the high level
  code generator with a near pointer type in order to force the segment to be
  ignored

git-svn-id: trunk@27716 -
2014-05-01 22:28:07 +00:00
nickysn
c9c29a3cd4 + ignore the source segment, when the destination cgpara is a near pointer in
tcg8086.a_loadaddr_ref_cgpara

git-svn-id: trunk@27715 -
2014-05-01 21:56:04 +00:00
nickysn
c9f8703679 + set ref.segment to NR_SS for all temps/localvars on i8086. This allows the
segment to survive e.g. several nested vecnodes, which cause the base register
  to change from BP to something else. In the cases where the ss: prefix is not
  needed, it is removed by make_simple_ref.
+ remove the ss: prefix in the several cases where make_simple_ref isn't called
  (namely spilling and tcg8086.a_call_reg_far)

git-svn-id: trunk@27714 -
2014-05-01 21:18:47 +00:00
nickysn
38aec68d6f * ti8086vecnode.update_reference_reg_mul: remove the segment before calling
base, because base may in some cases call cg.a_loadaddr_ref_reg, which will
  overwrite the next register, if the source reference contains a segment

git-svn-id: trunk@27713 -
2014-05-01 19:39:52 +00:00
florian
2fa066b003 * optimize vmovaps/vmovapd after avx instructions
git-svn-id: trunk@27712 -
2014-05-01 19:20:35 +00:00