Adding Xmm Select table, GetRawXMM

This commit is contained in:
chrisps 2020-01-15 16:11:54 -08:00 committed by illusion
parent 8f1e6f3980
commit 0fba30768b
1 changed files with 3 additions and 0 deletions

View File

@ -114,6 +114,8 @@ enum XmmConst {
XMMIntMaxPD, XMMIntMaxPD,
XMMPosIntMinPS, XMMPosIntMinPS,
XMMQNaN, XMMQNaN,
XMMSelectTableBase,
XMMSelectTableLast,
}; };
// Unfortunately due to the design of xbyak we have to pass this to the ctor. // 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); void MovMem64(const Xbyak::RegExp& addr, uint64_t v);
Xbyak::Address GetXmmConstPtr(XmmConst id); Xbyak::Address GetXmmConstPtr(XmmConst id);
uintptr_t GetXmmRawAddress(XmmConst id);
void LoadConstantXmm(Xbyak::Xmm dest, float v); void LoadConstantXmm(Xbyak::Xmm dest, float v);
void LoadConstantXmm(Xbyak::Xmm dest, double v); void LoadConstantXmm(Xbyak::Xmm dest, double v);
void LoadConstantXmm(Xbyak::Xmm dest, const vec128_t& v); void LoadConstantXmm(Xbyak::Xmm dest, const vec128_t& v);