/[qemu]
ViewVC logotype

Revision 6966


Jump to revision: Previous Next
Author: edgar_igl
Date: Wed Apr 1 23:10:46 2009 UTC (14 years, 7 months ago)
Changed paths: 5
Log Message:
SH: Improve movca.l/ocbi emulation.

Author: Vladimir Prus <vladimir@codesourcery.com>

    Fix movcal.l/ocbi emulation.

        * target-sh4/cpu.h (memory_content): New.
        (CPUSH4State): New fields movcal_backup and movcal_backup_tail.
        * target-sh4/helper.h (helper_movcal)
        (helper_discard_movcal_backup, helper_ocbi): New.
        * target-sh4/op_helper.c (helper_movcal)
        (helper_discard_movcal_backup, helper_ocbi): New.
        * target-sh4/translate.c (DisasContext): New field has_movcal.
        (sh4_defs): Update CVS for SH7785.
        (cpu_sh4_init): Initialize env->movcal_backup_tail.
        (_decode_opc): Discard movca.l-backup.
        Make use of helper_movcal and helper_ocbi.
        (gen_intermediate_code_internal): Initialize has_movcal to 1.

Thanks to Shin-ichiro KAWASAKI and Paul Mundt for valuable feedback.

Acked-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>

Changed paths:

Path Details
Directorytrunk/target-sh4/cpu.h modified , text changed
Directorytrunk/target-sh4/helper.c modified , text changed
Directorytrunk/target-sh4/helper.h modified , text changed
Directorytrunk/target-sh4/op_helper.c modified , text changed
Directorytrunk/target-sh4/translate.c modified , text changed

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.5