mirror of
https://github.com/pound-emu/pound.git
synced 2025-12-16 04:36:57 +00:00
jit: Instruction decoder temp
Signed-off-by: Ronald Caesar <github43132@proton.me>
This commit is contained in:
parent
ee9fbf5253
commit
ccedf3b251
5 changed files with 398 additions and 0 deletions
19
src/jit/decoder/arm32.cpp
Normal file
19
src/jit/decoder/arm32.cpp
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
#include "arm32.h"
|
||||
namespace pound::jit::decoder
|
||||
{
|
||||
arm32_decoder_t g_arm32_decoder = {};
|
||||
|
||||
void arm32_add_instruction(arm32_decoder_t* decoder, const char* nane, arm32_opcode_t mask, arm32_opcode_t expected,
|
||||
arm32_handler_fn handler)
|
||||
{
|
||||
}
|
||||
|
||||
void arm32_ADD_imm_handler(arm32_decoder_t* decoder, arm32_instruction_t instruction) {}
|
||||
|
||||
void arm32_init(arm32_decoder_t* decoder)
|
||||
{
|
||||
#define INST(fn, name, bitstring) arm32_add_instruction(decoder, name, 0, 0, &arm32_##fn##_handler);
|
||||
#include "./arm32.inc"
|
||||
#undef INST
|
||||
}
|
||||
} // namespace pound::jit::decoder
|
||||
Loading…
Add table
Add a link
Reference in a new issue