CPU/NewRec: Add AArch32 backend

This commit is contained in:
Stenzek
2023-10-21 16:23:01 +10:00
parent 8ddb0c4b23
commit b3cbe5a7ee
13 changed files with 2526 additions and 47 deletions

View File

@ -43,7 +43,7 @@ class CodeBuffer {
~CodeBuffer();
void Reset();
void Reset(byte* buffer, size_t capacity);
void Reset(byte* buffer, size_t capacity, bool managed = false);
#ifdef VIXL_CODE_BUFFER_MMAP
void SetExecutable();

View File

@ -156,10 +156,11 @@ void CodeBuffer::Reset() {
SetClean();
}
void CodeBuffer::Reset(byte* buffer, size_t capacity) {
void CodeBuffer::Reset(byte* buffer, size_t capacity, bool managed) {
buffer_ = buffer;
cursor_ = buffer;
capacity_ = capacity;
managed_ = managed;
}
void CodeBuffer::Grow(size_t new_capacity) {

View File

@ -1,2 +1,3 @@
add_library(xbyak INTERFACE)
target_include_directories(xbyak INTERFACE "${CMAKE_CURRENT_SOURCE_DIR}/xbyak")
target_compile_definitions(xbyak INTERFACE "XBYAK_NO_EXCEPTION=1")