aarch64: move cpu files to a new folder

The aarch64 folder will hold all cpu code from now on.

Signed-off-by: Ronald Caesar <github43132@proton.me>
This commit is contained in:
Ronald Caesar 2025-08-10 02:25:47 -04:00
parent b41e8b9d4f
commit 59e812bc63
No known key found for this signature in database
GPG key ID: 04307C401999C596
2 changed files with 33 additions and 7 deletions

View file

@ -1,20 +0,0 @@
#include "cpu.h"
#include "JIT/jit.h"
void cpuTest()
{
CPU cpu;
cpu.pc = 0;
// Simple ARMv8 program in memory (MOVZ X0, #5; ADD X0, X0, #3; RET)
// These are placeholders; real encoding will be parsed later
cpu.write_byte(0, 0x05); // MOVZ placeholder
cpu.write_byte(4, 0x03); // ADD placeholder
cpu.write_byte(8, 0xFF); // RET placeholder
LOG_INFO(ARM, "{}", cpu.read_byte(0));
JIT jit;
//jit.translate_and_run(cpu);
cpu.print_debug_information();
}