fix __cpuid() on x86
authorFlorian Weimer <fweimer@redhat.com>
Mon, 7 Mar 2016 15:45:32 +0000 (16:45 +0100)
committerRobin Gareus <robin@gareus.org>
Tue, 8 Mar 2016 13:54:41 +0000 (14:54 +0100)
commit5a41b86028cd5068d8e74d7481dca60aefeff75d
treeeec7e38872e8c2cb4af9c62ca33069dcf04dd0fc
parentd35e75554f1f88fac998314a78b03e554a4ded0a
fix __cpuid() on x86

The previous version used memory operands that gcc (probably dependent
on optimization flags and/or version) could address relative to the
stack pointer, but pushing %ebx onto the stack changed it. Here, the
address of the regs array is put into %esi and the individual members
are written into directly.
libs/pbd/fpu.cc