[PR #1] [MERGED] Update asmjit to upstream master #1

Closed
opened 2026-02-15 16:03:06 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/RPCS3/asmjit/pull/1
Author: @sguo35
Created: 6/21/2022
Status: Merged
Merged: 7/10/2022
Merged by: @undefined

Base: masterHead: master


📝 Commits (10+)

  • 45b0114 [ABI] Added the possibility to retrieve stack locations of virtual registers and explicit stack allocations after compilation
  • 23ddf56 [ABI] Initial AArch64 support
  • 28c4d8c [Opt] Optimized memory footprint of Compiler when generating huge code
  • 62ffe59 [Bug] Fixed RM features reported by queryRWInfo (X86)
  • a4e1e88 [Bug] Do not link to pthread library on Android (there is no such library)
  • 6efd4d5 Added missing baseReg() and indexReg() to arm::Mem operand
  • f1a399c [Bug] Fixed invalid operand order in AArch64 register move (Compiler)
  • d754de5 [Bug] Fixed logging without ARM condition codes when logged via a64::Assembler
  • 21a31b8 [Bug] Fixed incorrect control flow information of 'b' instruction (AArch64) (Fixes #358)
  • 7342f7d Added a pseudo instruction 'loadAddressOf()' to load a memory address into a register (Compiler/AArch64)

📊 Changes

104 files changed (+24380 additions, -1994 deletions)

View changed files

📝 .github/workflows/build-config.json (+2 -2)
📝 .github/workflows/build.yml (+9 -1)
📝 CMakeLists.txt (+51 -4)
src/asmjit/a64.h (+62 -0)
src/asmjit/arm.h (+62 -0)
src/asmjit/arm/a64archtraits_p.h (+81 -0)
src/asmjit/arm/a64assembler.cpp (+5115 -0)
src/asmjit/arm/a64assembler.h (+72 -0)
src/asmjit/arm/a64builder.cpp (+51 -0)
src/asmjit/arm/a64builder.h (+57 -0)
src/asmjit/arm/a64compiler.cpp (+60 -0)
src/asmjit/arm/a64compiler.h (+247 -0)
src/asmjit/arm/a64emithelper.cpp (+464 -0)
src/asmjit/arm/a64emithelper_p.h (+50 -0)
src/asmjit/arm/a64emitter.h (+1228 -0)
src/asmjit/arm/a64formatter.cpp (+298 -0)
src/asmjit/arm/a64formatter_p.h (+59 -0)
src/asmjit/arm/a64func.cpp (+189 -0)
src/asmjit/arm/a64func_p.h (+33 -0)
src/asmjit/arm/a64globals.h (+1894 -0)

...and 80 more files

📄 Description

Our current version of asmjit is missing conditional branch instructions for aarch64 (seems like the Initial AAarch64 support commit was updated+overwritten by the asmjit author between December last year and Feb 9)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/RPCS3/asmjit/pull/1 **Author:** [@sguo35](https://github.com/sguo35) **Created:** 6/21/2022 **Status:** ✅ Merged **Merged:** 7/10/2022 **Merged by:** [@undefined](undefined) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`45b0114`](https://github.com/RPCS3/asmjit/commit/45b01147814594cca69d6cb9d93ed9eb049243cf) [ABI] Added the possibility to retrieve stack locations of virtual registers and explicit stack allocations after compilation - [`23ddf56`](https://github.com/RPCS3/asmjit/commit/23ddf56b00f47d8aa0c82ad225e4b3a92661da7e) [ABI] Initial AArch64 support - [`28c4d8c`](https://github.com/RPCS3/asmjit/commit/28c4d8c528527141955006f09124ce672ddfbe3f) [Opt] Optimized memory footprint of Compiler when generating huge code - [`62ffe59`](https://github.com/RPCS3/asmjit/commit/62ffe595a23e8a9c582aa2505468fafa8c2a7b06) [Bug] Fixed RM features reported by queryRWInfo (X86) - [`a4e1e88`](https://github.com/RPCS3/asmjit/commit/a4e1e88374142f4a842892f9c4bd0b0776fdcd0a) [Bug] Do not link to pthread library on Android (there is no such library) - [`6efd4d5`](https://github.com/RPCS3/asmjit/commit/6efd4d563dee6832224295fa3bbf1647964246c4) Added missing baseReg() and indexReg() to arm::Mem operand - [`f1a399c`](https://github.com/RPCS3/asmjit/commit/f1a399c4fe74d1535a4190a2b8727c51045cc914) [Bug] Fixed invalid operand order in AArch64 register move (Compiler) - [`d754de5`](https://github.com/RPCS3/asmjit/commit/d754de58c20ae6d0e3f7c3994b977fc8b79a6a80) [Bug] Fixed logging without ARM condition codes when logged via a64::Assembler - [`21a31b8`](https://github.com/RPCS3/asmjit/commit/21a31b8a338da3341d2b423f85913597b8ec3d63) [Bug] Fixed incorrect control flow information of 'b' instruction (AArch64) (Fixes #358) - [`7342f7d`](https://github.com/RPCS3/asmjit/commit/7342f7d78d8cd3088bb7b475c3f7ec52f7619980) Added a pseudo instruction 'loadAddressOf()' to load a memory address into a register (Compiler/AArch64) ### 📊 Changes **104 files changed** (+24380 additions, -1994 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/build-config.json` (+2 -2) 📝 `.github/workflows/build.yml` (+9 -1) 📝 `CMakeLists.txt` (+51 -4) ➕ `src/asmjit/a64.h` (+62 -0) ➕ `src/asmjit/arm.h` (+62 -0) ➕ `src/asmjit/arm/a64archtraits_p.h` (+81 -0) ➕ `src/asmjit/arm/a64assembler.cpp` (+5115 -0) ➕ `src/asmjit/arm/a64assembler.h` (+72 -0) ➕ `src/asmjit/arm/a64builder.cpp` (+51 -0) ➕ `src/asmjit/arm/a64builder.h` (+57 -0) ➕ `src/asmjit/arm/a64compiler.cpp` (+60 -0) ➕ `src/asmjit/arm/a64compiler.h` (+247 -0) ➕ `src/asmjit/arm/a64emithelper.cpp` (+464 -0) ➕ `src/asmjit/arm/a64emithelper_p.h` (+50 -0) ➕ `src/asmjit/arm/a64emitter.h` (+1228 -0) ➕ `src/asmjit/arm/a64formatter.cpp` (+298 -0) ➕ `src/asmjit/arm/a64formatter_p.h` (+59 -0) ➕ `src/asmjit/arm/a64func.cpp` (+189 -0) ➕ `src/asmjit/arm/a64func_p.h` (+33 -0) ➕ `src/asmjit/arm/a64globals.h` (+1894 -0) _...and 80 more files_ </details> ### 📄 Description Our current version of asmjit is missing conditional branch instructions for aarch64 (seems like the `Initial AAarch64 support` commit was updated+overwritten by the asmjit author between December last year and Feb 9) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 16:03:06 -05:00
yindo closed this issue 2026-02-15 16:03:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: RPCS3/asmjit#1