This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]