Optimize ulong/double scalar conversion on xarch with AVX512VL instructions. #9
kote01-coder
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
With some of the new AVX512VL instruction, we can optimize uint32/uint64 to/from single/double conversions within the JIT. Changes can be made in
genIntToFloatCast
andgenFloatToIntCast
incodegenxarch.cpp
. Currently,xarch
requires more complex instruction sequences that can be replaced with the following instructions when AVX512VL is available:vcvtusi2sd
for uint32/uint64 => double conversionvcvtusi2ss
for uint32/uint64 => single conversionvcvtsd2usi
for double => uint32/uint64 conversionvcvtss2usi
for single => uint32/uint64 conversionBeta Was this translation helpful? Give feedback.
All reactions