[PATCH] D15873: AMDGPU: Implement readcyclecounter

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 22 09:31:56 PST 2016


arsenm updated this revision to Diff 48696.
arsenm added a comment.

Make it have the same behavior as hsail clock. Add separate s_memtime and s_memrealtime intrinsic.s


http://reviews.llvm.org/D15873

Files:
  include/llvm/IR/IntrinsicsAMDGPU.td
  lib/Target/AMDGPU/AMDGPU.td
  lib/Target/AMDGPU/AMDGPUSubtarget.cpp
  lib/Target/AMDGPU/AMDGPUSubtarget.h
  lib/Target/AMDGPU/SIISelLowering.cpp
  lib/Target/AMDGPU/SIInstrInfo.td
  lib/Target/AMDGPU/SIInstructions.td
  lib/Target/AMDGPU/VIInstructions.td
  test/CodeGen/AMDGPU/llvm.amdgcn.s.memtime.ll
  test/CodeGen/AMDGPU/llvm.amdgcn.s.realmemtime.ll
  test/CodeGen/AMDGPU/readcyclecounter.ll
  test/MC/AMDGPU/smrd.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15873.48696.patch
Type: text/x-patch
Size: 11025 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160222/2a7b882b/attachment.bin>


More information about the llvm-commits mailing list