diff options
author | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | 2016-10-11 18:58:22 +0000 |
---|---|---|
committer | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | 2016-10-11 18:58:22 +0000 |
commit | cdd4547607128d41b3f224b0790a761d34c000eb (patch) | |
tree | fb888bb5afc38818f2a7fe276ea36ab09a2e3873 /lldb/packages/Python/lldbsuite/test | |
parent | e9d075233a2b264e7b6f4eeb03d03c3df6195280 (diff) | |
download | bcm5719-llvm-cdd4547607128d41b3f224b0790a761d34c000eb.tar.gz bcm5719-llvm-cdd4547607128d41b3f224b0790a761d34c000eb.zip |
[AMDGPU] Refactor waitcnt encoding
- 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)
Differential Revision: https://reviews.llvm.org/D25298
llvm-svn: 283919
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions