This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Sparc floating point optimizations
On Tue, Dec 07, 1999 at 11:47:45PM -0800, David S. Miller wrote:
> Can you be a bit more clear about what you're trying to say
> here? As far as I can see, "these two" cannot be easily placed
> in the same pattern...
(define_insn "*clear_sf"
[(set (match_operand:SF 0 "nonimmediate_operand" "=f,m")
(match_operand:SF 1 "const_double_operand" ""))]
"TARGET_VIS && fp_zero_operand (operands[1])"
"@
fzeros\\t%0
st\\t%%g0, %0"
[(set_attr "type" "fpmove,store")
(set_attr "length" "1,1")])
And _actually_, this ought to be merged with *movsf_insn.
Anything less means regclass and reload doesn't get a clear
picture of what's allowable.
r~