Place all XMM constants in memory so we can avoid clobbering rax.

This commit is contained in:
Ben Vanik
2015-06-15 18:47:53 -07:00
parent 329a03e7c4
commit 0ffd8bbedd
6 changed files with 63 additions and 10 deletions

View File

@@ -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_;