-
-
Notifications
You must be signed in to change notification settings - Fork 294
Open
Description
Current Limitation with Xbyak Code Generation Mode
In Xbyak, emitting code for 64-bit mode requires defining XBYAK64 at compile time. While this approach works for single-target use cases, it limits flexibility in more complex scenarios. For instance, a JIT compiler running in a 64-bit environment may need to generate 32-bit code dynamically. Since the emit mode is fixed at compile time, supporting multiple target architectures within the same application becomes cumbersome.
A more adaptable design would allow the code generation mode (32-bit vs. 64-bit) to be specified at runtime—ideally through the CodeGenerator constructor—enabling more versatile use cases such as cross-mode JIT compilation and hybrid execution environments.
Metadata
Metadata
Assignees
Labels
No labels