This is an archive of the discontinued LLVM Phabricator instance.

[m68k] Implement absolution long addressing mode for ADDA instruction
ClosedPublic

Authored by 0x59616e on Feb 4 2023, 4:01 AM.

Diff Detail

Event Timeline

0x59616e created this revision.Feb 4 2023, 4:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 4 2023, 4:01 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
0x59616e requested review of this revision.Feb 4 2023, 4:01 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 4 2023, 4:01 AM
myhsu added inline comments.Feb 5 2023, 9:42 PM
llvm/lib/Target/M68k/M68kInstrArithmetic.td
297
llvm/test/MC/M68k/Relocations/arith-abs.s
1 ↗(On Diff #494808)

Can we put the test in test/MC/M68k/Arith/Classes/MxBiArOp_RFRM.s along with other ADDA tests? Also, I don't think it's necessary to test relocations in this patch since it's essentially covered by test/MC/M68k/Relocations/data-abs.s already.

disassembler tests?

0x59616e updated this revision to Diff 497271.Feb 14 2023, 4:33 AM
  • Add disassembler test
  • Move assembler test into MxBiArOp_RFRM.s
0x59616e marked an inline comment as done.Feb 14 2023, 4:33 AM
myhsu accepted this revision.Feb 14 2023, 1:38 PM

LGTM thanks!

This revision is now accepted and ready to land.Feb 14 2023, 1:38 PM

Could someone with permissions land this? Thanks!

This revision was landed with ongoing or failed builds.Jun 3 2023, 4:10 AM
This revision was automatically updated to reflect the committed changes.