From b2e9086932469a0207c037bc1c645ad59f0cf9f7 Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Tue, 28 Jan 2014 20:39:44 -0800 Subject: [PATCH] Reserving volatile XMM registers (so long as we are calling tracers). --- src/alloy/backend/x64/x64_emitter.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/alloy/backend/x64/x64_emitter.cc b/src/alloy/backend/x64/x64_emitter.cc index 5e5a9eecd..1e20c84f4 100644 --- a/src/alloy/backend/x64/x64_emitter.cc +++ b/src/alloy/backend/x64/x64_emitter.cc @@ -113,7 +113,10 @@ int X64Emitter::Emit(HIRBuilder* builder) { GetRegBit(r8) | GetRegBit(r9) | GetRegBit(r10) | - GetRegBit(r11); + GetRegBit(r11) | + GetRegBit(xmm1) | + GetRegBit(xmm2) | + GetRegBit(xmm3); // Function prolog. // Must be 16b aligned.