This is an archive of the discontinued LLVM Phabricator instance.

[m68k] Implement BSR Instruction
ClosedPublic

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

Diff Detail

Event Timeline

0x59616e created this revision.Feb 4 2023, 3:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 4 2023, 3:58 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
0x59616e requested review of this revision.Feb 4 2023, 3:58 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 4 2023, 3:58 AM

disassembler tests?

0x59616e updated this revision to Diff 497274.Feb 14 2023, 4:43 AM

Add disassembler test

myhsu accepted this revision.Feb 14 2023, 1:55 PM

LGTM with minor suggestions

llvm/lib/Target/M68k/M68kInstrControl.td
239

another way to simplify this part of the code is to conditionally assign different layout of dags to Inst using TYPE.Size. Such that

  1. You can have just one dag disp template argument
  2. You don't need the empty (ascend) on line 248

Personally I don't have strong opinion on whether to adopt this simplification since the current version is not utterly messy, so it's up to you

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

Could someone with permissions land this? Thanks!

myhsu added a comment.Mar 23 2023, 9:17 AM

Could someone with permissions land this? Thanks!

I believe @0x59616e 's plan is to land the entire patch series at once

Could someone with permissions land this? Thanks!

I believe @0x59616e 's plan is to land the entire patch series at once

OK, makes sense.

Sorry for holding this for so long. I will come back next week since we have a a 5-day holiday in Taiwan.

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.