Last active
April 15, 2016 16:44
-
-
Save yvt/eb31ac564e19e4bc42d29ad3c4f80578 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fetch1.glslをPowerVR Series 6向けにコンパイルした結果. | |
--------------------- Disassembled HW Code -------------------- | |
0 : frcp i0, sh8 | |
1 : fmul ft0, sh10, i0 | |
mov i2.e0.e1.e2.e3, ft0 | |
mov i3, sh8; | |
2 : fmul ft0, i2.flr, i3 | |
mov i3, ft0; | |
3 : fmad ft0, i3.neg, c64, sh10 | |
mov i3, ft0; | |
4 : fadd ft0, c75, i3 | |
fadd ft1, i2.flr, c75 | |
mov i3, ft0; | |
mov i2, ft1; | |
5 : fmul ft0, i3, i0 | |
fmul ft1, i1, i2 | |
mov r1, ft0; | |
mov r2, ft1; | |
6 : smp2d.fcnorm.replace drc0, sh4, r1, sh0, sh13, r0, 4; | |
7 : wdf drc0 | |
--------- Constant Calculations (Executed once) --------------- | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment