fcl-db: tests: Add test for Master-detail (see rev.25055)

git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@25065 3ad0048d-3df7-0310-abae-a5850022a9f2
* MIPS: div/mod and 32-bit shifts: don't bother reusing argument locations, always allocate new register and emit 3-address instructions.
* Fixed possible overwrite of LOC_CREGISTER numerator in optimized division by power of 2.


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