алкоголик и злобный придурок

Serbia
Joined June 2012
new #ptx instructions from cuda sdk 13.4: redplait.blogspot.com/2026/1… 21 new instructions 17 new attributes 127 new forms
2
360
extracted rt kernels from #cuda 13.4: github.com/redplait/denvdis/… no, this still not fixed (file name sm236.elf): xitter.cf/real_redp/status/21121… sm107 version of this file in sm175.elf
inefficient uniform registers allocation in #ptxas: redplait.blogspot.com/2026/1… seems that ptxas has bug in its register allocator and marks uniform registers for desc operand as dirty - and so allocating and assign new pair every time
3
424
inefficient uniform registers allocation in #ptxas: redplait.blogspot.com/2026/1… seems that ptxas has bug in its register allocator and marks uniform registers for desc operand as dirty - and so allocating and assign new pair every time
2
2
1
8
2,168
comparison of #nvcc vs #clang #nvptx backend, part 3: redplait.blogspot.com/2026/1… dirty hacks to find added cl options & passes idc & perl of course
2
293
comparison of #nvcc vs clang #nvptx backend, part 2: redplait.blogspot.com/2026/1… - cicc does not have MLIR - cicc has 870 builtins vs 715 in nvptx - cicc has 3183 intrinsics vs 1998 in nvptx
1
345
comparison of #prx/#sass code from nvcc vs clang: redplait.blogspot.com/2026/1… - nvcc code 15–18% faster - bigger and more amenable to stall counts reducing - all mlir based compilers use vanilla llvm nvptx backend :-(
283
#ptx generated by #LLVM #NVPTX: redplait.blogspot.com/2026/1… nvptx uses 58.9% of all ptx instructions cicc 57.8% missed in clang: _ldsm _mma discard dp2a hi/lo madc hi/lo p2r trap
1
317
read "the anatomy of go" very good book about mediocre PL: redplait.blogspot.com/2026/0… @func25: could you check whether I lied anywhere?
1
6
694
my tool for #cuda #cubin extracting/patching now support x86-64 object files: redplait.blogspot.com/2026/0…
3
409
#ptx asm in #llvm ir: redplait.blogspot.com/2026/0… llvm doc lies about operand constraint codes you can swap operand and this makes parsing/comparison of instructions non-trivial nvidia's llvm backend cicc uses ~5-7% of instructions with undocumented attributes not avail in clang
2
502
shrinking holes in #SASS allocated registers: redplait.blogspot.com/2026/0… due to using of wide operations you can shrink only small amount of holes - in average 1-2% of functions
391
add to my #cubin editor cool command to replace regs/predicates inside instruction, like 398 R P1 P2 and ISETP.GE.AND P1,PT,R07,RZ,PT ?trans1 will become ISETP.GE.AND P2,PT,R07,RZ,PT ?trans1 github.com/redplait/denvdis/…
486
chilling article literally describing reasons behind the emergence of Skynet: xitter.cf/cdleary/status/2094878… "we don’t really need to understand what the kernel does line by line" We are doomed
"openai engineer explains /why/ he didn't need to understand the kernel line by line" 🙃 we're doing compilers 2.0
372
in addition to xitter.cf/real_redp/status/20944… I add some stat to estimate potential reg count decrease 1.7-2.7% for gpr 0.1 for uniform registers (without UR0-UR3)
Cyclomatic complexity of #SASS code: redplait.blogspot.com/2026/0… dead(ABI-Forced?) register writes Register Allocation Holes - probably PTXAS ran some optimization passes after AllocateRegisters and they eliminated corresponding instructions. Or it's just bug
3
439
Cyclomatic complexity of #SASS code: redplait.blogspot.com/2026/0… dead(ABI-Forced?) register writes Register Allocation Holes - probably PTXAS ran some optimization passes after AllocateRegisters and they eliminated corresponding instructions. Or it's just bug
1
1
838
funny - every day I mute 5-6 persons with senseless "how amazing modern AI is/coding is solved" on other hand It is crystal clear that standard of modern software has hit rock bottom—down in the basement It seems there is direct cause-and-effect relationship between these facts
1
3
390
being a pathological fan of #perl of course I made binding for xitter.cf/real_redp/status/20904… enjoy: github.com/redplait/denvdis/…
home-made parser of #PTX instructions: redplait.blogspot.com/2026/0… can extract instruction name and it's attributes
2
539