[arm64] use opcode emulation for fconv/rconv
authorBernhard Urban <lewurm@gmail.com>
Mon, 26 Aug 2019 20:00:06 +0000 (16:00 -0400)
committerLarry Ewing <lewing@microsoft.com>
Wed, 28 Aug 2019 01:35:42 +0000 (20:35 -0500)
commit12088df8e98cc865010f6ba1c95a0a896f5e7e85
tree313358fabec9cfa3ab3c40fa7b1d5424531c674f
parent3345f832b14b6333d1d8e2ccf1b8193f1514a5b1
[arm64] use opcode emulation for fconv/rconv

LLVM eagerly optimizes constants such as NaN in a way that does not align with .NET behaviour. In the future we can change it so that we only do opcode emulation when LLVM is used.

Fixes https://github.com/mono/mono/issues/16411

Commit migrated from https://github.com/mono/mono/commit/475defca4d4d24dc44c660244b645df5f33e20ac
src/mono/mono/mini/mini-arm64.h