Page MenuHomePhabricator

[RISCV] Add InstAlias for Zbb Zbp and Zbs extension
ClosedPublic

Authored by LevyHsu on Wed, Apr 7, 7:47 PM.

Details

Summary

Add InstAlias that allows the last operand to be an imm for following instructions:

  1. Zbb or Zbp:
    • ror
    • rorw (RV64 Only)
  1. Zbs
    • best
    • bclr
    • binv
    • bext

Diff Detail

Event Timeline

LevyHsu created this revision.Wed, Apr 7, 7:47 PM
LevyHsu requested review of this revision.Wed, Apr 7, 7:47 PM
craig.topper accepted this revision.Thu, Apr 8, 11:02 AM

LGTM This matches what we do for immediate instructions in the base ISA.

This revision is now accepted and ready to land.Thu, Apr 8, 11:02 AM
jrtc27 accepted this revision.Thu, Apr 8, 11:14 AM
This revision was landed with ongoing or failed builds.Thu, Apr 8, 11:52 AM
This revision was automatically updated to reflect the committed changes.