This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR target/10072
> Well, EQ may have MODE_FLOAT class as well. But in that case it's
> not STORE_FLAG_VALUE that applies, but FLOAT_STORE_FLAG_VALUE.
> See for example the Alpha port.
It would be nice to update the docs then. Which mode classes are allowed in
an expression? (The list of modes in the docs is not up-to-date either, it
lacks the vector modes).
MODE_RANDOM: no.
MODE_INT: yes.
MODE_FLOAT: yes.
MODE_PARTIAL_INT: yes?
MODE_CC: no?
MODE_COMPLEX_INT: yes?
MODE_COMPLEX_FLOAT: yes?
MODE_VECTOR_INT: yes?
MODE_VECTOR_FLOAT:yes?
> I'm comfortable with the patch for now, because surrounding checks
> would need to test for much more as well to take advantage of this.
Ok.
--
Eric Botcazou