diff options
| author | 2015-08-23 17:56:35 -0400 | |
|---|---|---|
| committer | 2015-08-23 17:56:35 -0400 | |
| commit | 83c214f6d8b1434503b6d8219bdac7064b8df2ca (patch) | |
| tree | 8762cf0a0399b5fff978f098504dc9f918d2b4ee /src/common/x64/emitter.cpp | |
| parent | Merge pull request #1057 from aroulin/shader-dph-dphi (diff) | |
| parent | Shader: Use std::sqrt for float instead of sqrt (diff) | |
| download | yuzu-83c214f6d8b1434503b6d8219bdac7064b8df2ca.tar.gz yuzu-83c214f6d8b1434503b6d8219bdac7064b8df2ca.tar.xz yuzu-83c214f6d8b1434503b6d8219bdac7064b8df2ca.zip | |
Merge pull request #1062 from aroulin/shader-rcp-rsq
Shader: RCP and RSQ computes only the 1st component
Diffstat (limited to 'src/common/x64/emitter.cpp')
| -rw-r--r-- | src/common/x64/emitter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/x64/emitter.cpp b/src/common/x64/emitter.cpp index 749a75b72..939df210e 100644 --- a/src/common/x64/emitter.cpp +++ b/src/common/x64/emitter.cpp | |||
| @@ -1535,6 +1535,7 @@ void XEmitter::MAXSS(X64Reg regOp, const OpArg& arg) {WriteSSEOp(0xF3, sseMAX, | |||
| 1535 | void XEmitter::MAXSD(X64Reg regOp, const OpArg& arg) {WriteSSEOp(0xF2, sseMAX, regOp, arg);} | 1535 | void XEmitter::MAXSD(X64Reg regOp, const OpArg& arg) {WriteSSEOp(0xF2, sseMAX, regOp, arg);} |
| 1536 | void XEmitter::SQRTSS(X64Reg regOp, const OpArg& arg) {WriteSSEOp(0xF3, sseSQRT, regOp, arg);} | 1536 | void XEmitter::SQRTSS(X64Reg regOp, const OpArg& arg) {WriteSSEOp(0xF3, sseSQRT, regOp, arg);} |
| 1537 | void XEmitter::SQRTSD(X64Reg regOp, const OpArg& arg) {WriteSSEOp(0xF2, sseSQRT, regOp, arg);} | 1537 | void XEmitter::SQRTSD(X64Reg regOp, const OpArg& arg) {WriteSSEOp(0xF2, sseSQRT, regOp, arg);} |
| 1538 | void XEmitter::RCPSS(X64Reg regOp, const OpArg& arg) {WriteSSEOp(0xF3, sseRCP, regOp, arg);} | ||
| 1538 | void XEmitter::RSQRTSS(X64Reg regOp, const OpArg& arg) {WriteSSEOp(0xF3, sseRSQRT, regOp, arg);} | 1539 | void XEmitter::RSQRTSS(X64Reg regOp, const OpArg& arg) {WriteSSEOp(0xF3, sseRSQRT, regOp, arg);} |
| 1539 | 1540 | ||
| 1540 | void XEmitter::ADDPS(X64Reg regOp, const OpArg& arg) {WriteSSEOp(0x00, sseADD, regOp, arg);} | 1541 | void XEmitter::ADDPS(X64Reg regOp, const OpArg& arg) {WriteSSEOp(0x00, sseADD, regOp, arg);} |