Commit 0ba9317e by Richard Stallman

(push_reload): Allow RELOAD_FOR_INPUT with a secondary

reload the same class as the input if the modes differ.

From-SVN: r6089
parent b037a230
...@@ -1019,9 +1019,14 @@ push_reload (in, out, inloc, outloc, class, ...@@ -1019,9 +1019,14 @@ push_reload (in, out, inloc, outloc, class,
The convention is that secondary input reloads are valid only if The convention is that secondary input reloads are valid only if
the secondary_class is different from class. If you have such the secondary_class is different from class. If you have such
a case, you can not use secondary reloads, you must work around a case, you can not use secondary reloads, you must work around
the problem some other way. */ the problem some other way.
if (type == RELOAD_FOR_INPUT && secondary_class == class) Allow this when secondary_mode is not inmode and assume that
the generated code handles this case (it does on the Alpha, which
is the only place this currently happens). */
if (type == RELOAD_FOR_INPUT && secondary_class == class
&& secondary_mode == inmode)
abort (); abort ();
/* If we need a tertiary reload, see if we have one we can reuse /* If we need a tertiary reload, see if we have one we can reuse
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment