mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-20 09:35:05 +08:00
i386, ipa-modref: Comment spelling fix
This patch fixes spelling of prefer (misspelled as preffer). 2021-12-04 Jakub Jelinek <jakub@redhat.com> * config/i386/x86-tune.def (X86_TUNE_PARTIAL_REG_DEPENDENCY): Fix comment typo, Preffer -> prefer. * ipa-modref-tree.c (modref_access_node::closer_pair_p): Likewise.
This commit is contained in:
parent
c57c910c94
commit
c060e5c49c
@ -45,8 +45,8 @@ DEF_TUNE (X86_TUNE_SCHEDULE, "schedule",
|
||||
| m_GOLDMONT_PLUS | m_TREMONT | m_ALDERLAKE | m_GENERIC)
|
||||
|
||||
/* X86_TUNE_PARTIAL_REG_DEPENDENCY: Enable more register renaming
|
||||
on modern chips. Preffer stores affecting whole integer register
|
||||
over partial stores. For example preffer MOVZBL or MOVQ to load 8bit
|
||||
on modern chips. Prefer stores affecting whole integer register
|
||||
over partial stores. For example prefer MOVZBL or MOVQ to load 8bit
|
||||
value over movb. */
|
||||
DEF_TUNE (X86_TUNE_PARTIAL_REG_DEPENDENCY, "partial_reg_dependency",
|
||||
m_P4_NOCONA | m_CORE2 | m_NEHALEM | m_SANDYBRIDGE | m_CORE_AVX2
|
||||
|
@ -297,7 +297,7 @@ modref_access_node::closer_pair_p (const modref_access_node &a1,
|
||||
dist2 = offseta2 - offsetb2 - b2.max_size;
|
||||
}
|
||||
/* It may happen that intervals overlap in case size
|
||||
is different. Preffer the overlap to non-overlap. */
|
||||
is different. Prefer the overlap to non-overlap. */
|
||||
if (known_lt (dist1, 0) && known_ge (dist2, 0))
|
||||
return true;
|
||||
if (known_lt (dist2, 0) && known_ge (dist1, 0))
|
||||
|
Loading…
Reference in New Issue
Block a user