mirror of
https://github.com/asmjit/asmjit.git
synced 2025-12-17 20:44:37 +03:00
[ABI] Updated instruction DB, operands, and minor API changes
This changeset contains an updated instruction database that brings ARM32 instructions for the first time. It also updates instruction database tooling especially for ARM64, which will also be used by ARM32 generator. Additionally, new operan has been added, which represents a register list as used by ARM32 instruction set. Other minor changes are related to ARM - some stuff had to be moved to a64 namespace from arm namespace as it's incompatible between 32-bit and 64-bit ISA.
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
namespace {
|
||||
|
||||
ASMJIT_MAYBE_UNUSED
|
||||
const char* asmjitArchAsString(asmjit::Arch arch) noexcept {
|
||||
static inline const char* asmjitArchAsString(asmjit::Arch arch) noexcept {
|
||||
switch (arch) {
|
||||
case asmjit::Arch::kX86 : return "X86";
|
||||
case asmjit::Arch::kX64 : return "X64";
|
||||
@@ -39,7 +39,7 @@ const char* asmjitArchAsString(asmjit::Arch arch) noexcept {
|
||||
}
|
||||
|
||||
ASMJIT_MAYBE_UNUSED
|
||||
void printIndented(const char* str, size_t indent) noexcept {
|
||||
static inline void printIndented(const char* str, size_t indent) noexcept {
|
||||
const char* start = str;
|
||||
while (*str) {
|
||||
if (*str == '\n') {
|
||||
|
||||
Reference in New Issue
Block a user