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 "frontend/arm_types.h"
|
||||
#include "frontend/ir/ir.h"
|
||||
#include "frontend/ir_emitter.h"
|
||||
#include "frontend/translate.h"
|
||||
|
||||
namespace Dynarmic {
|
||||
namespace Arm {
|
||||
|
||||
IR::Block TranslateArm(LocationDescriptor descriptor, MemoryRead32FuncType memory_read_32) {
|
||||
ASSERT_MSG(0, "Unimplemented");
|
||||
return IR::Block(descriptor);
|
||||
// Just interpret everything.
|
||||
IREmitter ir{descriptor};
|
||||
ir.SetTerm(IR::Term::Interpret{ir.current_location});
|
||||
ir.block.cycle_count++;
|
||||
return ir.block;
|
||||
}
|
||||
|
||||
} // namespace Arm
|
||||
|
|
Loading…
Reference in a new issue