mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
Transactions: move loops inside
Rewrite loops in assembler (minor optimization)
This commit is contained in:
parent
f6f45b8699
commit
33a1c743a4
4 changed files with 81 additions and 106 deletions
|
@ -12,8 +12,8 @@ namespace asmjit
|
|||
// Should only be used to build global functions
|
||||
JitRuntime& get_global_runtime();
|
||||
|
||||
// Emit xbegin and adjacent loop
|
||||
void build_transaction_enter(X86Assembler& c, Label fallback);
|
||||
// Emit xbegin and adjacent loop, return label at xbegin
|
||||
Label build_transaction_enter(X86Assembler& c, Label fallback);
|
||||
|
||||
// Emit xabort
|
||||
void build_transaction_abort(X86Assembler& c, unsigned char code);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue