<i>platformCPUID segmentation fault on Darwin</i> status still Open with 4 other changes
by
.
D 2013-01-26T23:43:52
J icomment Here\sis\san\soption\sthat\sspecifies\sfewer\sregisters:\n\n\s\s\s\s\s\s\s\s__asm__\s__volatile__(\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"pushq\s%%rbx\s\s\s\s\s\\n\\t"\s/*\ssave\s%rbx\s*/\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"cpuid\s\s\s\s\s\s\s\s\s\s\s\s\\n\\t"\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"movl\s%%ebx\s,%[rbx]\s\s\\n\\t"\s/*\swrite\sthe\sresult\sinto\soutput\svar\s*/\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s"popq\s%%rbx\s\\n\\t"\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s:\s"=a"(regs[0]),\s[rbx]\s"=r"(regs[1]),\s"=c"(regs[2]),\s"=d"(regs[3])\n\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s:\s"a"(index));\n\n
J login pooryorick
J mimetype text/plain
J username pooryorick
K 3601804fffffffffffffffffffffffffffffffff
U pooryorick
Z 99022d08039f3400fa48d973da1bd922