amicommon: GetLocalTime correct millisecond value

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28526 3ad0048d-3df7-0310-abae-a5850022a9f2
* merged new changes to avx2 branch (AVX2 vectory-memory support) by Torsten Grundke

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28527 3ad0048d-3df7-0310-abae-a5850022a9f2
* Moved handling of emulated floating point negation into new virtual method tcgunaryminusnode.second_float_emulated. Also changed it into simple flipping of the sign bit, which is how it is defined by IEEE 754, and already done for ARM targets. Relevant ARM-specific parts can now be removed, and m68k code gets significantly better without further efforts.


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28528 3ad0048d-3df7-0310-abae-a5850022a9f2
* MIPS: optimized conversion of unsigned 32-bit integers to float, now uses one integer register instead of two and does not generate redundant move.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28529 3ad0048d-3df7-0310-abae-a5850022a9f2
+ MIPS: support replacement spilling for mov.s, mov.d and (partially) mtc1 instructions.


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28530 3ad0048d-3df7-0310-abae-a5850022a9f2
fcl-db: base: if either MinValue or MaxValue is <> 0 then use range MinValue-MaxValue instead of MinRange-MaxRange (for TLongintField). It is compatible with other Fields and allows set range 0-X or X-0. Bug #26606

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28531 3ad0048d-3df7-0310-abae-a5850022a9f2
* store the tiny heap free block size in a TP7-compatible way (as a normalized
  segment:offset pair, instead of a longint) in the i8086 far data memory models



git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28532 3ad0048d-3df7-0310-abae-a5850022a9f2
amicommon: AOS_heapPool renamed to ASYS_heapPool. common stuff should start with ASYS, to avoid confusion on AmigaOS, so more to come

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28533 3ad0048d-3df7-0310-abae-a5850022a9f2
ARM: Thumb is an ugly mess, but this at least makes fcl-image package to build with -Ooregvar. someone with more clue is welcomed to review and come up with a better patch.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28534 3ad0048d-3df7-0310-abae-a5850022a9f2
+ MIPS: support floating point conditions in its emulated flags, on MIPS4+ convert such flags to registers using conditional move instructions (i.e. without branching). For older cores generated code remains the same.


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28535 3ad0048d-3df7-0310-abae-a5850022a9f2
+ MIPS: implemented more peephole optimizations.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28536 3ad0048d-3df7-0310-abae-a5850022a9f2
amicommon: fixed sysdir.inc/do_chdir() to actually work on AROS
- fixed all Amiga-like system units to not leak the last directory
  lock while changing back to the original dir in System_exit;
  (a bug found by Marcus Sackrow, thanks!)
* renamed AOS_origDir to ASYS_origDir


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28537 3ad0048d-3df7-0310-abae-a5850022a9f2
* improved r28534: LDR/STR on thumb do not support registers >r7 as destination/source

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28538 3ad0048d-3df7-0310-abae-a5850022a9f2
* stabn writing code simplified
* write 0 instead of "label-label" in stabn, arm thumb assemblers do not like "label-label", for other targets writing 0 should make no difference

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28539 3ad0048d-3df7-0310-abae-a5850022a9f2
* generate AND for small set comparions using the cg class, so it works for arm thumb as well

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28540 3ad0048d-3df7-0310-abae-a5850022a9f2
Amiga,AROS,MorphOS: IncludeTrailingPathDelimiter not adding DirectorySeparator after Driveseparator

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28541 3ad0048d-3df7-0310-abae-a5850022a9f2
* several issues with interface wrappers for thumb fixed


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28542 3ad0048d-3df7-0310-abae-a5850022a9f2
* thumb has no mla instruction support


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28543 3ad0048d-3df7-0310-abae-a5850022a9f2
+ amunits, morphunits: added PUBLICSCREEN_F define, which was missing (verified against NDK3.9 and MorphOS SDK)


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28544 3ad0048d-3df7-0310-abae-a5850022a9f2
* m68k: do not emit moves between same register, they end up in wrong code in some cases when register needs to be spilled (and entirely useless otherwise).

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28545 3ad0048d-3df7-0310-abae-a5850022a9f2