frontend/TranslateArm: Just interpret all ARM instructions
This commit is contained in:
parent
1410221b47
commit
f85b86486b
1 changed files with 6 additions and 2 deletions
|
@ -7,14 +7,18 @@
|
||||||
#include "common/assert.h"
|
#include "common/assert.h"
|
||||||
#include "frontend/arm_types.h"
|
#include "frontend/arm_types.h"
|
||||||
#include "frontend/ir/ir.h"
|
#include "frontend/ir/ir.h"
|
||||||
|
#include "frontend/ir_emitter.h"
|
||||||
#include "frontend/translate.h"
|
#include "frontend/translate.h"
|
||||||
|
|
||||||
namespace Dynarmic {
|
namespace Dynarmic {
|
||||||
namespace Arm {
|
namespace Arm {
|
||||||
|
|
||||||
IR::Block TranslateArm(LocationDescriptor descriptor, MemoryRead32FuncType memory_read_32) {
|
IR::Block TranslateArm(LocationDescriptor descriptor, MemoryRead32FuncType memory_read_32) {
|
||||||
ASSERT_MSG(0, "Unimplemented");
|
// Just interpret everything.
|
||||||
return IR::Block(descriptor);
|
IREmitter ir{descriptor};
|
||||||
|
ir.SetTerm(IR::Term::Interpret{ir.current_location});
|
||||||
|
ir.block.cycle_count++;
|
||||||
|
return ir.block;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // namespace Arm
|
} // namespace Arm
|
||||||
|
|
Loading…
Reference in a new issue