[all-commits] [llvm/llvm-project] 44c05a: [M68k] add 32 bit branch instrs and relaxations (#...

knickish via All-commits all-commits at lists.llvm.org
Wed Dec 11 17:19:45 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44c05a627ffb4bdd63b477d2d74b2b6db2f87c74
      https://github.com/llvm/llvm-project/commit/44c05a627ffb4bdd63b477d2d74b2b6db2f87c74
  Author: knickish <knickish at gmail.com>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

  Changed paths:
    M llvm/lib/Target/M68k/M68kInstrControl.td
    M llvm/lib/Target/M68k/MCTargetDesc/M68kAsmBackend.cpp
    M llvm/test/MC/M68k/Control/bsr.s
    A llvm/test/MC/M68k/Control/bsr32.s
    A llvm/test/MC/M68k/Relaxations/PIC/branch.s
    A llvm/test/MC/M68k/Relaxations/PIC/branch32.s
    A llvm/test/MC/M68k/Relaxations/PIC/bsr.s
    A llvm/test/MC/M68k/Relaxations/branch32.s
    A llvm/test/MC/M68k/Relocations/PIC/data-abs.s
    A llvm/test/MC/M68k/Relocations/PIC/data-gotoff.s
    A llvm/test/MC/M68k/Relocations/PIC/data-gotpcrel.s
    A llvm/test/MC/M68k/Relocations/PIC/data-pc-rel.s
    A llvm/test/MC/M68k/Relocations/PIC/text-plt.s
    M llvm/test/MC/M68k/Relocations/text-plt.s

  Log Message:
  -----------
  [M68k] add 32 bit branch instrs and relaxations (#117371)

The `Bcc` and `BRA` 32-bit variants were all either not present or not
used, and the `BSR32` instruction was incorrectly being used on <
`M68020` cpu types. This PR adds missing 32 bit branch instructions
(with the `AtLeastM68020` predicate) and updates `M68kAsmBackend` to
allow relaxation to these instructions when an `M68020` or greater is
targeted



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