Adding Xmm Select table, GetRawXMM

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

View File

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