diff options
author | Mike Danes <onemihaid@hotmail.com> | 2016-09-11 15:49:12 +0300 |
---|---|---|
committer | Mike Danes <onemihaid@hotmail.com> | 2016-09-12 07:35:43 +0300 |
commit | 398317d18b0845681671ba449b8d8d9ca2cd505c (patch) | |
tree | ee50e5e57f277a484193ccaf79ac3af0f20fa5dd /src/vm/jithelpers.cpp | |
parent | a04c2e30fc3a07640bb94d43d97976975a3676bc (diff) | |
download | coreclr-398317d18b0845681671ba449b8d8d9ca2cd505c.tar.gz coreclr-398317d18b0845681671ba449b8d8d9ca2cd505c.tar.bz2 coreclr-398317d18b0845681671ba449b8d8d9ca2cd505c.zip |
Implement long to float cast for x86
Convert long to float/double casts to helper calls. Despite the call this version is 2x faster than JIT32's FILD implementation which suffers a significant store forwarding stall penalty.
Diffstat (limited to 'src/vm/jithelpers.cpp')
-rw-r--r-- | src/vm/jithelpers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vm/jithelpers.cpp b/src/vm/jithelpers.cpp index 276c2d6c58..b578e6f098 100644 --- a/src/vm/jithelpers.cpp +++ b/src/vm/jithelpers.cpp @@ -513,7 +513,7 @@ HCIMPL1_V(double, JIT_ULng2Dbl, UINT64 val) HCIMPLEND /*********************************************************************/ -// needed for ARM +// needed for ARM and RyuJIT-x86 HCIMPL1_V(double, JIT_Lng2Dbl, INT64 val) { FCALL_CONTRACT; |