Fixed incorrect sqrt results on 32bit targets using x87 math

Cleaner implementation of FSWAP
This commit is contained in:
tevador
2019-05-15 13:23:50 +02:00
parent 1aa7865619
commit afaeff6066
3 changed files with 33 additions and 13 deletions
+1 -1
View File
@@ -139,7 +139,7 @@ namespace randomx {
} break;
case InstructionType::FSWAP_R: {
*ibc.fdst = rx_shuffle_vec_f128(*ibc.fdst, *ibc.fdst, 1);
*ibc.fdst = rx_swap_vec_f128(*ibc.fdst);
} break;
case InstructionType::FADD_R: {