Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixing another bug related to amdgpu register names #948

Merged
merged 6 commits into from
Jan 21, 2021

Conversation

bbiiggppiigg
Copy link
Collaborator

So in one of the previous commits,
the header file common/h/amdgpu_vega_sys_reg.h is polluted with wrong mapping
So incorrect register name will be reported for amdgpu and registers with higher register id might not be identified correctly.

modification made to dyn_regs.C/name function is to account for cases when the register id mapping doesn't start from 0, in which case we want to make sure we use the relative offset from the base registers.

common/src/dyn_regs.C Outdated Show resolved Hide resolved
@hainest hainest self-assigned this Jan 20, 2021
@hainest hainest added GPUs This issue is related to handling of GPU code instructionAPI This issue is directly related to instructionAPI labels Jan 20, 2021
@hainest
Copy link
Contributor

hainest commented Jan 21, 2021

@hainest hainest merged commit 4085062 into dyninst:master Jan 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GPUs This issue is related to handling of GPU code instructionAPI This issue is directly related to instructionAPI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants