* Improved generic implementations of Bsf/Bsr. Existing ones were just ugly, BsfQword/BsrQWord producing total of 15 inline expansions 5 levels down and bloating into just a little less than a kilobyte of code (on MIPS). Now it is at most 3 expansions and 21 instructions (84 bytes), 16 and 32 bit routines are branchless.


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28575 3ad0048d-3df7-0310-abae-a5850022a9f2
 * Do not use sym.realname but sym.name in the mangledname for the Dwarf-3 debuginfo. This makes it possible to mix Dwarf-2 and Dwarf-3 debug info into one executable.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28576 3ad0048d-3df7-0310-abae-a5850022a9f2
Amiga: do not use tagsarray in rtl-console/video

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28577 3ad0048d-3df7-0310-abae-a5850022a9f2
amunits: some random functions syscall-ified. Mostly things used by rtl-console and FV.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28578 3ad0048d-3df7-0310-abae-a5850022a9f2
- MIPS: don't create reg.allocator for MM registers.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28579 3ad0048d-3df7-0310-abae-a5850022a9f2
* implementation of tiny heap's GetMem changed, so that it doesn't use FreeMem
  internally.



git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28580 3ad0048d-3df7-0310-abae-a5850022a9f2
* MIPS: added a couple of important capabilities and made them available for big-endian targets as well.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28581 3ad0048d-3df7-0310-abae-a5850022a9f2
m68k: support loading of refs to data registers, also when explicit paraloc is set and it's a register, use that directly, this fixes several syscall-related corner cases on Amiga

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28582 3ad0048d-3df7-0310-abae-a5850022a9f2
* improve ldr*/str* handling for arm thumb


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28583 3ad0048d-3df7-0310-abae-a5850022a9f2
Amiga: syscall-fied exec and intuition.library units

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28584 3ad0048d-3df7-0310-abae-a5850022a9f2
amunits: syscall-ified ASL

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28585 3ad0048d-3df7-0310-abae-a5850022a9f2
amunits: syscall-ified AGraphics, AmigaDos, Utility.library units

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28586 3ad0048d-3df7-0310-abae-a5850022a9f2
* MIPS: MOVE instruction cannot be changed into conditional move (MOVZ/MOVN) if it overwrites register used as condition.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28587 3ad0048d-3df7-0310-abae-a5850022a9f2
* MIPS: fixed O_MOVE_SOURCE and O_MOVE_DEST constants (they were swapped, amazing that it ever worked with such a mistake).
+ Spilling for SEB and SEH
* Another attempt to get spilling of 3-operand form DIV/DIVU be done correctly.


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28588 3ad0048d-3df7-0310-abae-a5850022a9f2
amicommon: GetEnv improved, EnvCount and EnvStr implemented

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28589 3ad0048d-3df7-0310-abae-a5850022a9f2
+ MIPS: make use of instructions MUL,SEB and SEH that are available in modern cores.


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28590 3ad0048d-3df7-0310-abae-a5850022a9f2
* MIPS peephole: refactored/simplified and added (another) couple of optimizations.


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28591 3ad0048d-3df7-0310-abae-a5850022a9f2
Amiga: moved the remnants of the old CRT unit from Amiga RTL to rtl-console package and made it to build at least. It's probably still very broken, and needs fixing.

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28592 3ad0048d-3df7-0310-abae-a5850022a9f2
+ fcl-db: mysql 5.6 connector: add support for MariaDB 10.0. Should fix isseu #26620. Needs testing.



git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@28593 3ad0048d-3df7-0310-abae-a5850022a9f2
fpmkunit: disable process unit and threading on Amiga and AROS for now

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