added native double round(double) function

This commit is contained in:
Alexander 2019-06-03 21:59:48 +07:00 committed by Christoph Oelckers
commit 380398bcd6
6 changed files with 10 additions and 0 deletions

View file

@ -985,6 +985,7 @@ void JitCompiler::EmitFLOP()
case FLOP_COSH: func = g_cosh; break;
case FLOP_SINH: func = g_sinh; break;
case FLOP_TANH: func = g_tanh; break;
case FLOP_ROUND: func = round; break;
}
auto result = newResultXmmSd();