Hi,
Can anybody please tell me how to do a 32-bit Floating to 32-bit Integer conversion using an intrinsic or any other optimized way? But the requirement is the o/p should match the o/p of - floor(0.5+float_number)
I tried with "_spint" but doesn't match for some values. PFA for the prints of floor(0.5+float_number) and _spint(float_number)
Thanks a lot in advance.
PS: Please see that this conversion happens in a loop so, shouldn't break software pipelining.
Regards,
Mahantesh