]> git.ipfire.org Git - thirdparty/gcc.git/commit
i386: Use various predicates instead of open coding them
authorUros Bizjak <ubizjak@gmail.com>
Wed, 16 Jul 2025 18:11:10 +0000 (20:11 +0200)
committerUros Bizjak <ubizjak@gmail.com>
Wed, 16 Jul 2025 18:19:09 +0000 (20:19 +0200)
commitc35018532a0a902f5373dec89edde2358ba07563
tree9f330ebdfadadcdc6e2acd960868e5f0f253782f
parent8a649254dd5e9545ce3dea702e12ef3f3b1eb3b9
i386: Use various predicates instead of open coding them

No functional changes.

gcc/ChangeLog:

* config/i386/i386-expand.cc (ix86_expand_move):
Use MEM_P predicate instead of open coding it.
(ix86_erase_embedded_rounding):
Use NONJUMP_INSN_P predicate instead of open coding it.
* config/i386/i386-features.cc (convertible_comparison_p):
Use REG_P predicate instead of open coding it.
* config/i386/i386.cc (ix86_rtx_costs):
Use SUBREG_P predicate instead of open coding it.
gcc/config/i386/i386-expand.cc
gcc/config/i386/i386-features.cc
gcc/config/i386/i386.cc