* tcg.a_load_ref_reg_unaligned: if loading signed 16-bit value, treat upper half as signed 8-bit to ensure that result is properly extended. This routine is used only by SPARC target (other CPUs use specific implementations), and it generates pretty inefficient code, therefore it's probably worth to drop it altogether and implement SPARC-specific version. Mantis #25440.


git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@26255 3ad0048d-3df7-0310-abae-a5850022a9f2
* Use typed pointer to store address of x when processing inc(x)/dec(x) with range checking enabled. This preserves alignment of x and prevents generating unaligned code on alignment-sensitive targets.


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