This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
float - integer backend pb
- From: Olivier Garbil <ogarbil at palmware dot fr>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 22 Jan 2002 10:45:20 +0100
- Subject: float - integer backend pb
Hi all,
I'm trying to do a back end for our VM. This VM feature 256 general
purpose registers. These registers can handle
integer or float values. In my back end, I have fill the movsi and movsf
pattern (they are almost exactly the same).
And sometimes I have strange behiavour, the compiler try to move a float
pattern type (SF) to an integer pattern type (SI).
example:
(set (reg:SI 264)
(const_double:SF (const_int 0 [0x0])))
Any hints to solve this problem ?
Thanks.
Olivier Garbil