Quantcast
Channel: Active questions tagged gcc - Stack Overflow
Viewing all articles
Browse latest Browse all 22261

How do I convert an unsigned long into single precision floating-point in x86 Assembly?

$
0
0

cvtsi2ss works for integers up to 2^63 - 1 but I need 2^64-1. There seems to be vcvtusi2ss xmm1, xmm2, r/m64 but it always returns an Illegal instruction. If this is the function I am looking for, how do i have to properly use it?


Viewing all articles
Browse latest Browse all 22261


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>