[all-commits] [llvm/llvm-project] 937446: [M68k] Fix incorrect move mask encoding with pre-d...

Min-Yih Hsu via All-commits all-commits at lists.llvm.org
Thu May 15 23:56:53 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 937446d433b1c0bb3e4194847b3e620f308b0fbb
      https://github.com/llvm/llvm-project/commit/937446d433b1c0bb3e4194847b3e620f308b0fbb
  Author: Min Hsu <min at myhsu.dev>
  Date:   2025-05-15 (Thu, 15 May 2025)

  Changed paths:
    M llvm/lib/Target/M68k/M68kInstrData.td
    M llvm/lib/Target/M68k/M68kInstrInfo.td
    M llvm/lib/Target/M68k/MCTargetDesc/M68kMCCodeEmitter.cpp
    M llvm/test/MC/M68k/Data/Classes/MxMOVEM_MR.s
    M llvm/test/MC/M68k/Data/Classes/MxMOVEM_RM.s

  Log Message:
  -----------
  [M68k] Fix incorrect move mask encoding with pre-decrement operand

When the memory operand of MOVEM instruction has an addressing mode of
pre-decrement, the move mask should be reversed.
This patch fixes it by creating a new asm operand with a different
encoding method.

Reported by @petmac



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