I'm new to x86 GCC (but have been using it with ARM).
How do I make GCC use the FIST(P) instruction?
I've searched the net and it seems that is not possible, everyone suggests
using SSE which I know nothing about, so I'd prefer 387 mnemonics.
MSVC has /Qifist option for that, and I've been using that for a long time,
so I know the Qifist impact on compatibility.
BTW, I'm using mingw-w32-bin_i686-mingw_20111219.zip
BTW, I've downloaded 4.7.2. from here.
Still, I don't know how to make it use FISTP.
Also, 4.7.2 doesn't output source lines in the LST file, whereas the 4.7.0 does.
What could that be?
OK, I've got it:
static inline int rndint (double value)
The problem of source lines not being outputed to the LST file still remains.