Unverified Commit bdba21b0 authored by Kamyar Mohajerani's avatar Kamyar Mohajerani Committed by GitHub
Browse files

Circular-shift (rotate) operations for UInt (#1140)



* change static shift behavior to mod width when width is known
    * add dynamic shift
* basic tests that actually do something
    * MatchedRotateLeftAndRight based on the idea from @chick
    * BasicRotate rotate "b001" and compare with known values
* Fix check for KnownWidth(0|1) as suggested by @aswaterman
* Add dontTouch to UIntOps.io (other tests were also optimized out)

Co-authored-by: default avatarChick Markley <chick@qrhino.com>
Co-authored-by: default avatarAndrew Waterman <andrew@sifive.com>
parent c2985aa6
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment