4 ms·
GCC inline assembly is one of the most terrible things I've ever had to work with. Somebody seriously need to redesign it or replace it. Aside from that,a decen
by TwoBit 10y ago
GCC inline assembly is one of the most terrible things I've ever had to work with. Somebody seriously need to redesign it or replace it. Aside from that,a decent reference manual for the existing version would be welcome.
- AndyKelley 10y agoI'm working on a new language that has inline assembly and I pretty much just copied GCC's syntax[1]. Do you have any specific suggestions on how to do better? [1]: https://github.com/andrewrk/zig/blob/master/std/linux_x86_64.zig#L60 https://github.com/andrewrk/zig/blob/master/std/linux_x86_64...