[Bug c/14582] float to unsigned int conversion fills only 16 of 32 bits
sebastian dot tusk at gmx dot net
gcc-bugzilla@gcc.gnu.org
Mon Mar 15 17:10:00 GMT 2004
------- Additional Comments From sebastian dot tusk at gmx dot net 2004-03-15 17:10 -------
I realized that omitting the "-masm=intel" flag solves the problem. The compiler
is still not 100 percent correct as it produces "fistpll -24(%ebp)" where
"fistpl -24(%ebp)" should be sufficient. But besides writing 4 bytes more than
necessary no harm is done.
That fistpll seems to be the same problem as that QWORD suffix in the intel
style assembler. The difference is that fistpll lands correctly in the binary in
contrast to the intel version where "fistp WORD PTR []" appears in the binary.
So in fact there could be two problems.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14582
More information about the Gcc-bugs
mailing list