ARM: Hook up 32 bit thumb load/store multiple.
authorGabe Black <gblack@eecs.umich.edu>
Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)
committerGabe Black <gblack@eecs.umich.edu>
Wed, 2 Jun 2010 17:58:02 +0000 (12:58 -0500)
src/arch/arm/isa/decoder/thumb.isa

index 7fb8dd8545257eb78fe89a0621879d1ff919040f..dfaca8f4292791890029af2ac63bc9868d35e129 100644 (file)
                         default: WarnUnimpl::ldrd(); // immediate
                     }
                 }
-                0x2: decode HTOPCODE_4 {
-                    0x0: WarnUnimpl::stm(); // stmia, stmea
-                    0x1: decode HTRN {
-                        0xd: WarnUnimpl::pop();
-                        default: WarnUnimpl::ldm(); // ldmia, ldmfd
-                    }
-                }
+                // This uses the same encoding as regular ARM.
+                0x2: ArmMacroMem::armMacroMem();
                 0x3: decode HTOPCODE_5_4 {
                     0x0: decode LTOPCODE_7_4 {
                         0x4: WarnUnimpl::strexb();
                         default: WarnUnimpl::ldrd(); // immediate
                     }
                 }
-                0x4: decode HTOPCODE_4 {
-                    0x0: decode HTRN {
-                        0xd: WarnUnimpl::push();
-                        default: WarnUnimpl::stmdb(); // stmfd
-                    }
-                    0x1: WarnUnimpl::ldmdb(); // ldmea
-                }
+                // This uses the same encoding as regular ARM.
+                0x4: ArmMacroMem::armMacroMem();
                 0x5, 0x7: decode HTOPCODE_4 {
                     0x0: WarnUnimpl::strd(); // immediate
                     0x1: decode HTRN {