1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/lib/Target/AMDGPU/Utils
Konstantin Zhuravlyov 277eacdebe [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
2016-10-11 18:58:22 +00:00
..
AMDGPUAsmUtils.cpp
AMDGPUAsmUtils.h
AMDGPUBaseInfo.cpp [AMDGPU] Refactor waitcnt encoding 2016-10-11 18:58:22 +00:00
AMDGPUBaseInfo.h [AMDGPU] Refactor waitcnt encoding 2016-10-11 18:58:22 +00:00
AMDKernelCodeTInfo.h [AMDGPU] Assembler: rename amd_kernel_code_t asm names according to spec 2016-09-09 10:08:02 +00:00
AMDKernelCodeTUtils.cpp [AMDGPU] Assembler: rename amd_kernel_code_t asm names according to spec 2016-09-09 10:08:02 +00:00
AMDKernelCodeTUtils.h
CMakeLists.txt
LLVMBuild.txt