This series of patch adds support for the missing ldc & stc privileged instructions with the sgr register. In order to take the difference of support between SH4A and SH4 (which does not recognize ldc with sgr), the LDST macro has been split into two simpler macros.
[PATCH 1/2] target-sh4: Split the LDST macro into 2 sub-macros [PATCH 2/2] target-sh4: Add support for ldc & stc with sgr