Open
Description
There is a lot of arm64 code inside mini-llvm.c that could be used for amd64. For example the OP_ARM64_XNEG:
runtime/src/mono/mono/mini/mini-llvm.c
Lines 10516 to 10533 in 2a74721
which could be used for emitting negation on amd64 as well. Maybe we could reorganize the code so that it could be used on other platforms as well.