x64Emitter: Add the xmm, xmm form of PSRLQ instruction.

This commit is contained in:
Scott Mansell 2014-02-06 20:39:57 +13:00 committed by Tillmann Karras
parent 1f34ed2c25
commit 1eb8168488
2 changed files with 5 additions and 0 deletions

View File

@ -1390,6 +1390,10 @@ void XEmitter::PSRLQ(X64Reg reg, int shift) {
Write8(shift);
}
void XEmitter::PSRLQ(X64Reg reg, OpArg arg) {
WriteSSEOp(64, 0xd3, true, reg, arg);
}
void XEmitter::PSLLW(X64Reg reg, int shift) {
WriteSSEOp(64, 0x71, true, (X64Reg)6, R(reg));
Write8(shift);

View File

@ -636,6 +636,7 @@ public:
void PSRLW(X64Reg reg, int shift);
void PSRLD(X64Reg reg, int shift);
void PSRLQ(X64Reg reg, int shift);
void PSRLQ(X64Reg reg, OpArg arg);
void PSLLW(X64Reg reg, int shift);
void PSLLD(X64Reg reg, int shift);