summaryrefslogtreecommitdiff
path: root/Source/Core/Common/x64Emitter.cpp
diff options
context:
space:
mode:
authorScott Mansell <phiren@gmail.com>2014-02-06 20:39:57 +1300
committerTillmann Karras <tilkax@gmail.com>2014-02-12 23:12:16 +0100
commit1eb8168488d14be4f982caef2c0abfaf2a0e640c (patch)
tree0c75c1608c37691cadc33d4f53d9ced0d9dfe8ce /Source/Core/Common/x64Emitter.cpp
parent1f34ed2c25be0b1770cc2699681cff4aa4994212 (diff)
x64Emitter: Add the xmm, xmm form of PSRLQ instruction.
Diffstat (limited to 'Source/Core/Common/x64Emitter.cpp')
-rw-r--r--Source/Core/Common/x64Emitter.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/Core/Common/x64Emitter.cpp b/Source/Core/Common/x64Emitter.cpp
index 12985e8a0c..5cba748727 100644
--- a/Source/Core/Common/x64Emitter.cpp
+++ b/Source/Core/Common/x64Emitter.cpp
@@ -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);