Commit caa05ce2 by Maciej W. Rozycki Committed by Maciej W. Rozycki

* optabs.c (prepare_cmp_insn): Update documentation comment.

From-SVN: r240108
parent 14bce257
2016-09-13 Maciej W. Rozycki <macro@imgtec.com>
* optabs.c (prepare_cmp_insn): Update documentation comment.
2016-09-13 Jakub Jelinek <jakub@redhat.com> 2016-09-13 Jakub Jelinek <jakub@redhat.com>
Manuel Lopez-Ibanez <manu@gcc.gnu.org> Manuel Lopez-Ibanez <manu@gcc.gnu.org>
......
...@@ -3716,13 +3716,17 @@ can_compare_p (enum rtx_code code, machine_mode mode, ...@@ -3716,13 +3716,17 @@ can_compare_p (enum rtx_code code, machine_mode mode,
} }
/* This function is called when we are going to emit a compare instruction that /* This function is called when we are going to emit a compare instruction that
compares the values found in *PX and *PY, using the rtl operator COMPARISON. compares the values found in X and Y, using the rtl operator COMPARISON.
*PMODE is the mode of the inputs (in case they are const_int). If they have mode BLKmode, then SIZE specifies the size of both operands.
*PUNSIGNEDP nonzero says that the operands are unsigned;
UNSIGNEDP nonzero says that the operands are unsigned;
this matters if they need to be widened (as given by METHODS). this matters if they need to be widened (as given by METHODS).
If they have mode BLKmode, then SIZE specifies the size of both operands. *PTEST is where the resulting comparison RTX is returned or NULL_RTX
if we failed to produce one.
*PMODE is the mode of the inputs (in case they are const_int).
This function performs all the setup necessary so that the caller only has This function performs all the setup necessary so that the caller only has
to emit a single comparison insn. This setup can involve doing a BLKmode to emit a single comparison insn. This setup can involve doing a BLKmode
......
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