For operation 0, the text string is indeed returned in [EAX]/EBX/EDX/ECX. However, the string is used only in src/code/ia32.c for its detection of AMD vs Intel, so it's entirely possible this change won't break anything anywhere else. Might merit a comment and some odd code in that one file, rather than warping other files around the oddity of that operation. Thoughts?
ChrisA
Well, I didn't actually change the order. But I see that the code in cpulib outputs them differently depending on which assembler code is used, which is bad of course. Fixing that should make ia32 work with all compilers.
pike-devel@lists.lysator.liu.se