Hi! I've committed following patch as obvious.
2025-07-31 Jakub Jelinek <ja...@redhat.com> * gimple-ssa-store-merging.cc (find_bswap_or_nop): Fix comment typos, hanlde -> handle. * config/i386/i386.cc (ix86_gimple_fold_builtin, ix86_rtx_costs): Likewise. * config/i386/i386-features.cc (remove_partial_avx_dependency): Likewise. * gcc.target/i386/apx-1.c (apx_hanlder): Rename to ... (apx_handler): ... this. * gcc.target/i386/uintr-2.c (UINTR_hanlder): Rename to ... (UINTR_handler): ... this. * gcc.target/i386/uintr-5.c (UINTR_hanlder): Rename to ... (UINTR_handler): ... this. --- gcc/gimple-ssa-store-merging.cc.jj 2025-07-16 13:10:10.429419582 +0200 +++ gcc/gimple-ssa-store-merging.cc 2025-07-31 10:42:36.655977785 +0200 @@ -1033,7 +1033,7 @@ find_bswap_or_nop (gimple *stmt, struct source when rsize < range. */ if (n->range == orig_range /* There're case like 0x300000200 for uint32->uint64 cast, - Don't hanlde this. */ + Don't handle this. */ && n->range == TYPE_PRECISION (n->type) && ((orig_range == 32 && optab_handler (rotl_optab, SImode) != CODE_FOR_nothing) @@ -1043,7 +1043,7 @@ find_bswap_or_nop (gimple *stmt, struct { uint64_t range = (orig_range / BITS_PER_UNIT) * BITS_PER_MARKER; uint64_t count = (tmp_n & MARKER_MASK) * BITS_PER_MARKER; - /* .i.e. hanlde 0x203040506070800 when lower byte is zero. */ + /* .i.e. handle 0x203040506070800 when lower byte is zero. */ if (!count) { for (uint64_t i = 1; i != range / BITS_PER_MARKER; i++) --- gcc/config/i386/i386.cc.jj 2025-07-31 10:40:48.988392589 +0200 +++ gcc/config/i386/i386.cc 2025-07-31 10:42:32.039038455 +0200 @@ -20029,7 +20029,7 @@ ix86_gimple_fold_builtin (gimple_stmt_it tree utype, ures, vce; utype = unsigned_type_for (TREE_TYPE (arg0)); /* PABSB/W/D/Q store the unsigned result in dst, use ABSU_EXPR - instead of ABS_EXPR to hanlde overflow case(TYPE_MIN). */ + instead of ABS_EXPR to handle overflow case(TYPE_MIN). */ ures = gimple_build (&stmts, ABSU_EXPR, utype, arg0); gsi_insert_seq_before (gsi, stmts, GSI_SAME_STMT); loc = gimple_location (stmt); @@ -23153,7 +23153,7 @@ ix86_rtx_costs (rtx x, machine_mode mode So current solution is make constant disp as cheap as possible. */ if (GET_CODE (addr) == PLUS && x86_64_immediate_operand (XEXP (addr, 1), Pmode) - /* Only hanlde (reg + disp) since other forms of addr are mostly LEA, + /* Only handle (reg + disp) since other forms of addr are mostly LEA, there's no additional cost for the plus of disp. */ && register_operand (XEXP (addr, 0), Pmode)) { --- gcc/config/i386/i386-features.cc.jj 2025-07-20 08:12:06.882363728 +0200 +++ gcc/config/i386/i386-features.cc 2025-07-31 10:42:26.326113526 +0200 @@ -3226,7 +3226,7 @@ remove_partial_avx_dependency (void) break; } - /* Only hanlde conversion here. */ + /* Only handle conversion here. */ machine_mode src_mode = convert_p ? GET_MODE (XEXP (src, 0)) : VOIDmode; switch (src_mode) --- gcc/testsuite/gcc.target/i386/apx-1.c.jj 2023-10-08 16:37:52.902994472 +0200 +++ gcc/testsuite/gcc.target/i386/apx-1.c 2025-07-31 10:42:41.714911312 +0200 @@ -3,6 +3,6 @@ /* { dg-error "'-mapxf' is not supported for 32-bit code" "" { target ia32 } 0 } */ void -apx_hanlder () +apx_handler () { } --- gcc/testsuite/gcc.target/i386/uintr-2.c.jj 2020-12-11 16:41:49.710744134 +0100 +++ gcc/testsuite/gcc.target/i386/uintr-2.c 2025-07-31 10:42:51.405783971 +0200 @@ -15,6 +15,6 @@ foo (void *frame, uword_t uirrv) void __attribute__((interrupt)) -UINTR_hanlder (struct __uintr_frame *frame, uword_t uirrv) +UINTR_handler (struct __uintr_frame *frame, uword_t uirrv) { } --- gcc/testsuite/gcc.target/i386/uintr-5.c.jj 2020-12-11 16:41:49.710744134 +0100 +++ gcc/testsuite/gcc.target/i386/uintr-5.c 2025-07-31 10:42:53.940750658 +0200 @@ -7,6 +7,6 @@ typedef unsigned int uword_t __attribute__ ((mode (__word__))); void -UINTR_hanlder (struct __uintr_frame *frame, uword_t uirrv) +UINTR_handler (struct __uintr_frame *frame, uword_t uirrv) { } Jakub