- Refactor bit packing/unpacking
- Calculate bit mask given bit shift and bit width
- Introduce function for decoding bits of waitcnt
- Introduce function for encoding bits of waitcnt
- Introduce function for getting waitcnt mask (instead of using bare numbers)
- Introduce function fot getting max waitcnt(s) (instead of using bare numbers)
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp | ||
---|---|---|
55–71 ↗ | (On Diff #73713) | These don't use the version? |
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp | ||
---|---|---|
55–71 ↗ | (On Diff #73713) | Not at this time, but will in a separate patch |
Comment Actions
Bring up to date with trunk + remove version from get*BitShift and get*BitWidth functions.
lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp | ||
---|---|---|
55–71 ↗ | (On Diff #73713) | After giving it a second thought, we do not need version in get*BitShift and get*BitWidth functions. I have removed version from those functions. |
Comment Actions
- Introduce function for getting waitcnt mask (instead of using bare numbers)
- Introduce function fot getting max waitcnt(s) (instead of using bare numbers)