| commit | 61738cbcb6c40cdaf6a6c560787b07373415114c | [log] [tgz] |
|---|---|---|
| author | Matt Arsenault <Matthew.Arsenault@amd.com> | Sat Feb 27 08:53:46 2016 +0000 |
| committer | Matt Arsenault <Matthew.Arsenault@amd.com> | Sat Feb 27 08:53:46 2016 +0000 |
| tree | 07e4ca2782e2f1996a768a1dfe09241c4630ac59 | |
| parent | 353c84e747924745eb0e5df4defc2afd90a1758e [diff] |
AMDGPU: Implement readcyclecounter This matches the behavior of the HSAIL clock instruction. s_realmemtime is used if the subtarget supports it, and falls back to s_memtime if not. Also introduces new intrinsics for each of s_memtime / s_memrealtime. llvm-svn: 262119