SH: Implement MOVCO.L and MOVLI.L

* target-sh4/cpu.h (struct CPUSH4State): New field ldst.
* target-sh4/translate.c (cpu_ldst): New.
  (sh4_translate_init): Initialize cpu_ldst.
  (_decode_opc): Support MOVCO.L and MOVLI.L.

(Vladimir Prus)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6666 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
aurel32 2009-03-02 17:13:21 +00:00
parent c7eb95e118
commit 66c7c80657
2 changed files with 36 additions and 1 deletions

View file

@ -140,6 +140,8 @@ typedef struct CPUSH4State {
uint32_t prr; /* Processor Revision Register */
uint32_t cvr; /* Cache Version Register */
uint32_t ldst;
CPU_COMMON tlb_t utlb[UTLB_SIZE]; /* unified translation table */
tlb_t itlb[ITLB_SIZE]; /* instruction translation table */
void *intc_handle;