diff options
| author | Aaron Barnes <[email protected]> | 2023-07-05 16:20:56 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-07-05 16:20:56 -0400 |
| commit | 712b6104e7399b2dd42c25b4cd788f0f36b5b39d (patch) | |
| tree | e6fb962a78b5ee6609c2a8d13cf753ffe2e98188 /src/cuda-sim/ptx_ir.cc | |
| parent | 9eaf173e6801a6bbb0f4acd13ea064fbd3054be8 (diff) | |
| parent | 58beccb510bb892de56b466ac764f24297affebd (diff) | |
Merge branch 'dev' into fix-stats
Diffstat (limited to 'src/cuda-sim/ptx_ir.cc')
| -rw-r--r-- | src/cuda-sim/ptx_ir.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cuda-sim/ptx_ir.cc b/src/cuda-sim/ptx_ir.cc index 029cf73..f25f1d5 100644 --- a/src/cuda-sim/ptx_ir.cc +++ b/src/cuda-sim/ptx_ir.cc @@ -1470,7 +1470,7 @@ std::string ptx_instruction::to_string() const { unsigned used_bytes = 0; if (!is_label()) { used_bytes += - snprintf(buf + used_bytes, STR_SIZE - used_bytes, " PC=0x%03x ", m_PC); + snprintf(buf + used_bytes, STR_SIZE - used_bytes, " PC=0x%03llx ", m_PC); } else { used_bytes += snprintf(buf + used_bytes, STR_SIZE - used_bytes, " "); |
