[all-commits] [llvm/llvm-project] e1aa16: [Mips] Use ANDi in for zero-extend in subword atom...

yingopq via All-commits all-commits at lists.llvm.org
Wed Apr 24 07:32:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e1aa16299f626317068c3d99e035d447145353c7
      https://github.com/llvm/llvm-project/commit/e1aa16299f626317068c3d99e035d447145353c7
  Author: yingopq <115543042+yingopq at users.noreply.github.com>
  Date:   2024-04-24 (Wed, 24 Apr 2024)

  Changed paths:
    M llvm/lib/Target/Mips/MipsExpandPseudo.cpp
    M llvm/test/CodeGen/Mips/atomic-min-max.ll

  Log Message:
  -----------
  [Mips] Use ANDi in for zero-extend in subword atomic umax/umin for both r2 and pre-R2 (#89881)

About unsigned max/min, ANDi is available for all ISA revisions in
extend before slt insn.
So that we can reduce one instruction.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list