diff options
| author | 2015-08-20 04:34:11 -0400 | |
|---|---|---|
| committer | 2015-08-20 04:45:31 -0400 | |
| commit | a796149c42f2ece4339ea08c106f02bc507cb609 (patch) | |
| tree | 572f060a5c403b1b06e5e8456c3479cb43c5e171 /src/common | |
| parent | emitter: Remove unused code (diff) | |
| download | yuzu-a796149c42f2ece4339ea08c106f02bc507cb609.tar.gz yuzu-a796149c42f2ece4339ea08c106f02bc507cb609.tar.xz yuzu-a796149c42f2ece4339ea08c106f02bc507cb609.zip | |
emitter: Remove unnecessary else keywords
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/x64/emitter.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/common/x64/emitter.cpp b/src/common/x64/emitter.cpp index 1229d0654..61fe197bd 100644 --- a/src/common/x64/emitter.cpp +++ b/src/common/x64/emitter.cpp | |||
| @@ -1376,22 +1376,22 @@ static int GetVEXmmmmm(u16 op) | |||
| 1376 | // Currently, only 0x38 and 0x3A are used as secondary escape byte. | 1376 | // Currently, only 0x38 and 0x3A are used as secondary escape byte. |
| 1377 | if ((op >> 8) == 0x3A) | 1377 | if ((op >> 8) == 0x3A) |
| 1378 | return 3; | 1378 | return 3; |
| 1379 | else if ((op >> 8) == 0x38) | 1379 | if ((op >> 8) == 0x38) |
| 1380 | return 2; | 1380 | return 2; |
| 1381 | else | 1381 | |
| 1382 | return 1; | 1382 | return 1; |
| 1383 | } | 1383 | } |
| 1384 | 1384 | ||
| 1385 | static int GetVEXpp(u8 opPrefix) | 1385 | static int GetVEXpp(u8 opPrefix) |
| 1386 | { | 1386 | { |
| 1387 | if (opPrefix == 0x66) | 1387 | if (opPrefix == 0x66) |
| 1388 | return 1; | 1388 | return 1; |
| 1389 | else if (opPrefix == 0xF3) | 1389 | if (opPrefix == 0xF3) |
| 1390 | return 2; | 1390 | return 2; |
| 1391 | else if (opPrefix == 0xF2) | 1391 | if (opPrefix == 0xF2) |
| 1392 | return 3; | 1392 | return 3; |
| 1393 | else | 1393 | |
| 1394 | return 0; | 1394 | return 0; |
| 1395 | } | 1395 | } |
| 1396 | 1396 | ||
| 1397 | void XEmitter::WriteAVXOp(u8 opPrefix, u16 op, X64Reg regOp1, X64Reg regOp2, const OpArg& arg, int extrabytes) | 1397 | void XEmitter::WriteAVXOp(u8 opPrefix, u16 op, X64Reg regOp1, X64Reg regOp2, const OpArg& arg, int extrabytes) |