HomePhabricator

[M68k] Implement AsmParser

Authored by ricky26 on Mar 11 2021, 12:37 PM.

Description

[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

Details

Committed
ricky26Apr 13 2021, 1:25 AM
Differential Revision
D98537: [M68k] Implement AsmParser
Parents
rG95c614afcd4d: [NFC][SYCL] Drop idle triple component from regression tests.
Branches
Unknown
Tags
Unknown