This is an archive of the discontinued LLVM Phabricator instance.

[X86] Add MSRLIST instructions.
ClosedPublic

Authored by FreddyYe on Oct 13 2022, 8:04 PM.

Diff Detail

Event Timeline

FreddyYe created this revision.Oct 13 2022, 8:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 13 2022, 8:04 PM
FreddyYe requested review of this revision.Oct 13 2022, 8:04 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 13 2022, 8:04 PM
FreddyYe retitled this revision from Add MSRLIST instructions. to [X86] Add MSRLIST instructions..Oct 13 2022, 8:16 PM
RKSimon added inline comments.Oct 14 2022, 1:21 AM
llvm/docs/ReleaseNotes.rst
139

It'd be better to list the instructions as well (WRMSRNLIST and RDMSRNLIST)

FreddyYe updated this revision to Diff 468388.Oct 17 2022, 6:43 PM
FreddyYe marked an inline comment as done.

Address comment.

craig.topper added inline comments.
llvm/lib/Target/X86/X86InstrSystem.td
432

why is there an N in the class name that isn't in the mnemonic?

FreddyYe updated this revision to Diff 468392.Oct 17 2022, 6:58 PM

Address comment.

FreddyYe marked an inline comment as done.Oct 17 2022, 6:59 PM
FreddyYe added inline comments.
llvm/lib/Target/X86/X86InstrSystem.td
432

Yes, N is typo... Good catch!

RKSimon accepted this revision.Oct 18 2022, 2:37 AM

LGTM (with a minor tweak to the release notes description)

llvm/docs/ReleaseNotes.rst
139

Add support for the `RDMSRLIST and WRMSRLIST` instructions.

This revision is now accepted and ready to land.Oct 18 2022, 2:37 AM
skan added inline comments.Oct 18 2022, 3:53 AM
llvm/lib/Target/X86/X86InstrSystem.td
434

Could we combine the line 431 and 433?

FreddyYe updated this revision to Diff 468503.Oct 18 2022, 5:45 AM
FreddyYe marked 3 inline comments as done.

Address comments.

skan accepted this revision.Oct 18 2022, 7:16 AM

LGTM

This revision was landed with ongoing or failed builds.Oct 18 2022, 7:37 PM
This revision was automatically updated to reflect the committed changes.