Fixed FSCAL instruction causing group F registers to exceed their intended maximum value

This commit is contained in:
tevador
2019-05-15 22:07:26 +02:00
parent 2a04dfdd4f
commit 2b3a03a9dc
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ namespace randomx {
} break;
case InstructionType::FSCAL_R: {
const rx_vec_f128 mask = rx_set1_vec_f128(0x81F0000000000000);
const rx_vec_f128 mask = rx_set1_vec_f128(0x80F0000000000000);
*ibc.fdst = rx_xor_vec_f128(*ibc.fdst, mask);
} break;