[PATCH] D25298: [AMDGPU] Refactor waitcnt encoding
Konstantin Zhuravlyov via llvm-commits
llvm-commits at lists.llvm.org
Mon Oct 10 00:26:31 PDT 2016
kzhuravl added inline comments.
================
Comment at: lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp:55-71
+/// \returns Vmcnt bit shift for given isa \p Version.
+unsigned getVmcntBitShift(IsaVersion Version) { return 0; }
+
+/// \returns Vmcnt bit width for given isa \p Version.
+unsigned getVmcntBitWidth(IsaVersion Version) { return 4; }
+
+/// \returns Expcnt bit shift for given isa \p Version.
----------------
arsenm wrote:
> These don't use the version?
Not at this time, but will in a separate patch
https://reviews.llvm.org/D25298
More information about the llvm-commits
mailing list