[all-commits] [llvm/llvm-project] 6e098e: [M68k] Implement AsmParser

Ricky Taylor via All-commits all-commits at lists.llvm.org
Tue Apr 13 01:30:29 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e098e133dc7b0fb7006bd768989ef65dfaf341d
      https://github.com/llvm/llvm-project/commit/6e098e133dc7b0fb7006bd768989ef65dfaf341d
  Author: Ricky Taylor <rickytaylor26 at gmail.com>
  Date:   2021-04-13 (Tue, 13 Apr 2021)

  Changed paths:
    A llvm/lib/Target/M68k/AsmParser/CMakeLists.txt
    A llvm/lib/Target/M68k/AsmParser/M68kAsmParser.cpp
    M llvm/lib/Target/M68k/CMakeLists.txt
    M llvm/lib/Target/M68k/M68k.td
    M llvm/lib/Target/M68k/M68kInstrInfo.td
    A llvm/test/MC/M68k/instructions.s
    A llvm/test/MC/M68k/lit.local.cfg

  Log Message:
  -----------
  [M68k] Implement AsmParser

This is a work-in-progress implementation of an assembler for M68k.

Outstanding work:
- Updating existing tests assembly syntax
- Writing new tests for the assembler (and disassembler)

I've left those until there's consensus that this approach is okay (I hope that's okay!).

Questions I'm aware of:
- Should this use Motorola or gas syntax? (At the moment it uses Motorola syntax.)
- The disassembler produces a table at runtime for disassembly generated from the code beads. Is this okay? (This is less than ideal but as I mentioned in my llvm-dev post, it's quite complicated to write a table-gen parser for code beads.)

Depends on D98519

Depends on D98532

Depends on D98534

Depends on D98535

Depends on D98536

Differential Revision: https://reviews.llvm.org/D98537




More information about the All-commits mailing list