2 ms·
I'm going to doubt that. I was pushing GPT a couple weeks ago to test its limits. It's 100% unable to write compilable Go ASM syntax. In fairness it's slight
by silisili 1y ago
I'm going to doubt that. I was pushing GPT a couple weeks ago to test its limits. It's 100% unable to write compilable Go ASM syntax. In fairness it's slightly oddball, but enough exists that it's not esoteric.
In the error feedback cycle, it kept blaming Go, not itself. A bit eye opening.
- messe 1y agoI'm comfortable writing asm for quite a few architectures, but Go's assembler... When I struggle to write Go ASM, I also blame Go and not myself.
- Earw0rm 1y agoThe thing with x87 is that it's easy to write compilable, correct-looking code, and much harder to write correct compilable code, even for trivial sequences of a dozen or so operations. Whereas in most asm dialects, register AX is always register AX (word length aliasing aside), that's not the case for x87: the object/value at ST3 in one operation may be ST1 or ST5 in a couple of instructions' time.