jit: Instruction decoder temp

Signed-off-by: Ronald Caesar <github43132@proton.me>
This commit is contained in:
Ronald Caesar 2025-10-04 22:17:36 -04:00
parent ee9fbf5253
commit ccedf3b251
No known key found for this signature in database
GPG key ID: 04307C401999C596
5 changed files with 398 additions and 0 deletions

19
src/jit/decoder/arm32.cpp Normal file
View 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