This is the mail archive of the gcc@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]

(match_operand:M "general_operand" "m") support?


Hi
When rewriting the i386.md patterns I've run into situations, where instruction
outputs only to memory and not to register. One common situation is 
float->double conversion, wich must be done by writing destination to memory.
Since current reload implementation does not support it, i386.md emits just
fsotre/fload combination. I've changed it to expand two moves but both
this solutions has some funny effects (like storing/loading/storing/loading
value and so on). (the second makes problems in case output register is later 
moved to stack)
This small extension should solve this problems and simplify thinks a lot IMO. 
Bernd says that it is not big problem to implement this, but he is not sure
if it is good idea or not.  So he asked my to ask here for more opinions/ideas.

Honza
-- 
                       OK. Lets make a signature file.
+-------------------------------------------------------------------------+
|        Jan Hubicka (Jan Hubi\v{c}ka in TeX) hubicka@freesoft.cz         |
|         Czech free software foundation: http://www.freesoft.cz          |
|AA project - the new way for computer graphics - http://www.ta.jcu.cz/aa |
|  homepage: http://www.paru.cas.cz/~hubicka/, games koules, Xonix, fast  |
|  fractal zoomer XaoS, index of Czech GNU/Linux/UN*X documentation etc.  | 
+-------------------------------------------------------------------------+


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