Quantcast
Channel: AMD Developer Forums: Message List - 13.4 -save-temp compiler option doesn't do anything
Viewing all articles
Browse latest Browse all 12

Re: 13.4 -save-temp compiler option doesn't do anything

$
0
0

I reinstalled 10.12 and generated an executable only test.elf. http://x.pgy.hu/~worm/het/test_12.10_gcn.elf

If you load it with clCreatePrg() and clBuildPrg( -save-temps ) you should find this disasm in the save-temps path:

; -------- Disassembly --------------------

shader main

  asic(SI_ASIC)

  type(CS)

 

 

  s_mulk_i32    s16, 0x0100                                 // 00000000: B8100100

  v_add_i32     v0, vcc, s16, v0                            // 00000004: 4A000010

  s_buffer_load_dword  s0, s[8:11], 0x00                    // 00000008: C2000900

  s_buffer_load_dword  s1, s[12:15], 0x00                   // 0000000C: C2008D00

  s_waitcnt     lgkmcnt(0)                                  // 00000010: BF8C007F

  v_mad_u32_u24  v2, v0, 4, s0                              // 00000014: D2860002 00010900

  v_add_i32     v3, vcc, s1, v0                             // 0000001C: 4A060001

  tbuffer_store_format_x  v3, v2, s[4:7], 0 offen format:[BUF_DATA_FORMAT_32,BUF_NUM_FORMAT_FLOAT] // 00000020: EBA41000 80010302

  s_endpgm                                                  // 00000028: BF810000

end


Viewing all articles
Browse latest Browse all 12

Trending Articles