On 08/24/2015 05:17 AM, Richard Sandiford wrote:
Originally posted here:
https://gcc.gnu.org/ml/gcc-patches/2015-07/msg02660.html
Kaz approved the SH parts and reported that there were no new failures
on sh4-unknown-linux-gnu (thanks).
Sorry, this must have slipped through the cracks. Tha
Originally posted here:
https://gcc.gnu.org/ml/gcc-patches/2015-07/msg02660.html
Kaz approved the SH parts and reported that there were no new failures
on sh4-unknown-linux-gnu (thanks).
Richard Sandiford writes:
> expand_builtin_strcmp has:
>
> if (direct_optab_handler (cmpstr_optab, SImo
Richard Sandiford wrote:
> This patch converts the code to do everything via the optabs interface.
> This required a change to the sh.md cmpstrn pattern, where the length
> predicate was "immediate_operand" but where the expander code wanted
> to handle nonimmediates too. I also removed the now-r
expand_builtin_strcmp has:
if (direct_optab_handler (cmpstr_optab, SImode) != CODE_FOR_nothing
|| direct_optab_handler (cmpstrn_optab, SImode) != CODE_FOR_nothing)
{
...
machine_mode insn_mode
= insn_data[(int) CODE_FOR_cmpstrsi].operand[0].mode;
.