diff options
| author | JRPan <[email protected]> | 2023-06-13 20:40:17 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-06-13 20:40:17 +0800 |
| commit | 4f1cdbe1ff00ab003cc9d33f1a6943eeb6b203a3 (patch) | |
| tree | 5ee800a6507b85bfbefae1c242f9d285731aa4a3 /src/cuda-sim/ptx_ir.cc | |
| parent | 25cdd73b170b0c560d1e6bf5f5418b0a9be2325b (diff) | |
| parent | b471b3481b2399222ffd9ee0f007628834e68767 (diff) | |
Merge branch 'dev' into dev
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, " "); |
