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

disasm-a3xx.c : unknown(4,9) #10

Open
metora opened this issue Mar 15, 2017 · 3 comments
Open

disasm-a3xx.c : unknown(4,9) #10

metora opened this issue Mar 15, 2017 · 3 comments

Comments

@metora
Copy link

metora commented Mar 15, 2017

Hello

I try to disassembly shader on Adreno 530, then it show [unknown(4,9)].
And I found [rcp rsq rsqh exp2h log2h sinpb2] in libllvm-qcom.so.
So I guess it has new instructions on Adreno 530.

@robclark
Copy link
Collaborator

yes, does look like a new cat4 instruction.. I guess if you have a simple shader that triggers the instruction, and the rest of the disassembled shader, it shouldn't be too hard to figure out what it is.

@metora
Copy link
Author

metora commented Mar 16, 2017

The result I tried.

OPC_RSQH = _OPC(4, 9),
OPC_LOG2H = _OPC(4, 10),
OPC_EXP2H = _OPC(4, 11),

but I don't know what is sinpb2?

@robclark
Copy link
Collaborator

rsqh/log2h/exp2h... wonder if those are for half-precision (mediump)? What happens if you try to use highp?

sinpb2, not really sure.. I'd have to see how it is used (ie. asm dump vs glsl)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants