diff options
author | Uros Bizjak <ubizjak@gmail.com> | 2021-04-29 15:24:51 +0200 |
---|---|---|
committer | Uros Bizjak <ubizjak@gmail.com> | 2021-04-29 15:25:39 +0200 |
commit | d03ca8a6148f55e119b8220a9c65147173b32065 (patch) | |
tree | 34f03b9e4ea194fe7cac42bdeacf0a5ebf97e942 /COPYING | |
parent | fc14ff611181c274584c7963bc597a6ca50c20a1 (diff) | |
download | gcc-d03ca8a6148f55e119b8220a9c65147173b32065.zip gcc-d03ca8a6148f55e119b8220a9c65147173b32065.tar.gz gcc-d03ca8a6148f55e119b8220a9c65147173b32065.tar.bz2 |
i386: Cleanup comparison predicates.
CCCmode is allowed only with GEU and LTU comparison codes. Also allow
CCGZmode for these two codes. There is no need to check for trivial FP
comparison operator, ix86_fp_compare_code_to_integer will return
UNKNOWN code for unsupported operators.
2021-04-29 Uroš Bizjak <ubizjak@gmail.com>
gcc/
* config/i386/predicates.md (fcmov_comparison_operator):
Do not check for trivial FP comparison operator.
<case GEU, case LTU>: Allow CCGZmode.
<case GTU, case LEU>: Do not allow CCCmode.
(ix86_comparison_operator) <case GTU, case LEU>: Allow only CCmode.
(ix86_carry_flag_operator): Match only LTU and UNLT code.
Do not check for trivial FP comparison operator. Allow CCGZmode.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions