Place all XMM constants in memory so we can avoid clobbering rax.
This commit is contained in:
@@ -33,6 +33,7 @@ class X64Backend : public Backend {
|
||||
~X64Backend() override;
|
||||
|
||||
X64CodeCache* code_cache() const { return code_cache_; }
|
||||
uint32_t emitter_data() const { return emitter_data_; }
|
||||
HostToGuestThunk host_to_guest_thunk() const { return host_to_guest_thunk_; }
|
||||
GuestToHostThunk guest_to_host_thunk() const { return guest_to_host_thunk_; }
|
||||
ResolveFunctionThunk resolve_function_thunk() const {
|
||||
@@ -48,6 +49,8 @@ class X64Backend : public Backend {
|
||||
private:
|
||||
X64CodeCache* code_cache_;
|
||||
|
||||
uint32_t emitter_data_;
|
||||
|
||||
HostToGuestThunk host_to_guest_thunk_;
|
||||
GuestToHostThunk guest_to_host_thunk_;
|
||||
ResolveFunctionThunk resolve_function_thunk_;
|
||||
|
||||
Reference in New Issue
Block a user