Skip to content

Commit

Permalink
JitArm64::fctiwzx
Browse files Browse the repository at this point in the history
  • Loading branch information
weihuoya committed Jan 16, 2019
1 parent 7e96a86 commit 8beb147
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions Data/Sys/wiitdb-zh_CN.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3928,6 +3928,12 @@ GL8D4F = 古墓丽影 传奇(德)
GL8E4F = 古墓丽影 传奇(美)
GL8F4F = 古墓丽影 传奇(法)
GL8P4F = 古墓丽影 传奇(欧)
GEDE01 = 永恒黑暗(美)
GEDJ01 = 永恒黑暗(日)
GEDP01 = 永恒黑暗(欧)
GXXE01 = 口袋妖怪XD 暗之旋风(美)
GXXJ01 = 口袋妖怪XD 暗之旋风(日)
GXXP01 = 口袋妖怪XD 暗之旋风(欧)
NACE = 塞尔达传说 时之笛(美)
NACJ = 塞尔达传说 时之笛(日)
NACP = 塞尔达传说 时之笛(欧)
Expand Down
2 changes: 2 additions & 0 deletions Source/Core/Core/PowerPC/JitArm64/JitArm64_FloatingPoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,8 @@ void JitArm64::fcmpX(UGeckoInstruction inst)
SetJumpTarget(continue1);
}

// fctiw: Floating Convert to Integer Word
// fctiwz: Floating Convert to Integer Word with Round toward Zero
void JitArm64::fctiwzx(UGeckoInstruction inst)
{
INSTRUCTION_START
Expand Down
2 changes: 1 addition & 1 deletion Source/Core/Core/PowerPC/JitArm64/JitArm64_Tables.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ constexpr GekkoOPTemplate table63[] = {
{32, &JitArm64::fcmpX}, // fcmpo
{0, &JitArm64::fcmpX}, // fcmpu
{14, &JitArm64::FallBackToInterpreter}, // fctiwx
{15, &JitArm64::fctiwzx}, // fctiwzx
{15, &JitArm64::FallBackToInterpreter}, // fctiwzx
{72, &JitArm64::fp_logic}, // fmrx
{136, &JitArm64::fp_logic}, // fnabsx
{40, &JitArm64::fp_logic}, // fnegx
Expand Down

0 comments on commit 8beb147

Please sign in to comment.