This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: fine-tuning for can_store_by_pieces
Richard Sandiford wrote:
Sandra Loosemore <sandra@codesourcery.com> writes:
OK, but what I was really asking was, is there a way to *test* for
situations where we should generate the lui/ori/sw sequences instead
of the lw/sw? Some combination of TARGET_foo flags and/or the size of
the string?
Well, I suppose:
!optimize_size && !TARGET_MIPS16 && mips_issue_rate () > 1
Many MIPS dual-issue processors are asymettric, and may be able to issue
lui, ori and sw down only one pipe or the other -- not both in parallel.
So I don't think that testing mips_issue_rate() is sufficient.
Nigel