diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2016-02-27 13:45:26 +0100 |
---|---|---|
committer | MerryMage <MerryMage@users.noreply.github.com> | 2016-02-27 13:45:26 +0100 |
commit | f73c39d5730bb7f3403c4608250b92067f0c2f2f (patch) | |
tree | da179445660da73a6135cfe61d20e5d466a1e551 /src/common | |
parent | Merge pull request #1424 from MerryMage/lut_init (diff) | |
download | yuzu-f73c39d5730bb7f3403c4608250b92067f0c2f2f.tar yuzu-f73c39d5730bb7f3403c4608250b92067f0c2f2f.tar.gz yuzu-f73c39d5730bb7f3403c4608250b92067f0c2f2f.tar.bz2 yuzu-f73c39d5730bb7f3403c4608250b92067f0c2f2f.tar.lz yuzu-f73c39d5730bb7f3403c4608250b92067f0c2f2f.tar.xz yuzu-f73c39d5730bb7f3403c4608250b92067f0c2f2f.tar.zst yuzu-f73c39d5730bb7f3403c4608250b92067f0c2f2f.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/x64/emitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/x64/emitter.cpp b/src/common/x64/emitter.cpp index 939df210e..1dcf2416c 100644 --- a/src/common/x64/emitter.cpp +++ b/src/common/x64/emitter.cpp @@ -225,14 +225,14 @@ void OpArg::WriteVex(XEmitter* emit, X64Reg regOp1, X64Reg regOp2, int L, int pp // do we need any VEX fields that only appear in the three-byte form? if (X == 1 && B == 1 && W == 0 && mmmmm == 1) { - u8 RvvvvLpp = (R << 7) | (vvvv << 3) | (L << 1) | pp; + u8 RvvvvLpp = (R << 7) | (vvvv << 3) | (L << 2) | pp; emit->Write8(0xC5); emit->Write8(RvvvvLpp); } else { u8 RXBmmmmm = (R << 7) | (X << 6) | (B << 5) | mmmmm; - u8 WvvvvLpp = (W << 7) | (vvvv << 3) | (L << 1) | pp; + u8 WvvvvLpp = (W << 7) | (vvvv << 3) | (L << 2) | pp; emit->Write8(0xC4); emit->Write8(RXBmmmmm); emit->Write8(WvvvvLpp); |