Skip to content

Instantly share code, notes, and snippets.

/-
Created Jan 10, 2017

Embed
What would you like to do?
code for sm_35
Function : _Z4testfPf
.headerflags @"EF_CUDA_SM35 EF_CUDA_PTX_SM(EF_CUDA_SM35)"
/* 0x08a010b010a01000 */
/*0008*/ MOV R1, c[0x0][0x44]; /* 0x64c03c00089c0006 */
/*0010*/ MOV R0, c[0x0][0x140]; /* 0x64c03c00281c0002 */
/*0018*/ MOV R2, c[0x0][0x148]; /* 0x64c03c00291c000a */
/*0020*/ FSETP.LT.AND P0, PT, |R0|, 1.175494350822287508e-38, PT; /* 0xb5881c04001c021d */
/*0028*/ FMUL R0, R0, 16777216; /* 0xc340025c001c0001 */
/*0030*/ SEL R0, R0, c[0x0][0x140], P0; /* 0x65000000281c0002 */
/*0038*/ MOV R3, c[0x0][0x14c]; /* 0x64c03c00299c000e */
/* 0x08000000b810a0a0 */
/*0048*/ MUFU.RSQ R0, R0; /* 0x84000000029c0002 */
/*0050*/ @P0 FMUL R0, R0, 4096; /* 0xc340022c00000001 */
/*0058*/ ST.E [R2], R0; /* 0xe4800000001c0800 */
/*0060*/ EXIT; /* 0x18000000001c003c */
/*0068*/ BRA 0x68; /* 0x12007ffffc1c003c */
/*0070*/ NOP; /* 0x85800000001c3c02 */
/*0078*/ NOP; /* 0x85800000001c3c02 */
...........................
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.