This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
(match_operand:M "general_operand" "m") support?
- To: egcs at cygnus dot com
- Subject: (match_operand:M "general_operand" "m") support?
- From: Jan Hubicka <hubicka at atrey dot karlin dot mff dot cuni dot cz>
- Date: Fri, 16 Oct 1998 21:07:45 +0200
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. |
+-------------------------------------------------------------------------+