From 0fba30768badf0ebeb71978e5ee6e57dd1fc7f58 Mon Sep 17 00:00:00 2001 From: chrisps Date: Wed, 15 Jan 2020 16:11:54 -0800 Subject: [PATCH] Adding Xmm Select table, GetRawXMM --- src/xenia/cpu/backend/x64/x64_emitter.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/xenia/cpu/backend/x64/x64_emitter.h b/src/xenia/cpu/backend/x64/x64_emitter.h index 4f661a331..4f4af11f6 100644 --- a/src/xenia/cpu/backend/x64/x64_emitter.h +++ b/src/xenia/cpu/backend/x64/x64_emitter.h @@ -114,6 +114,8 @@ enum XmmConst { XMMIntMaxPD, XMMPosIntMinPS, XMMQNaN, + XMMSelectTableBase, + XMMSelectTableLast, }; // Unfortunately due to the design of xbyak we have to pass this to the ctor. @@ -210,6 +212,7 @@ class X64Emitter : public Xbyak::CodeGenerator { void MovMem64(const Xbyak::RegExp& addr, uint64_t v); Xbyak::Address GetXmmConstPtr(XmmConst id); + uintptr_t GetXmmRawAddress(XmmConst id); void LoadConstantXmm(Xbyak::Xmm dest, float v); void LoadConstantXmm(Xbyak::Xmm dest, double v); void LoadConstantXmm(Xbyak::Xmm dest, const vec128_t& v);