mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-28 01:17:42 +01:00
Fix PIC issue with soundtouch
git-svn-id: svn://localhost/ardour2/trunk@1394 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
17033c4448
commit
433f2cfb43
1 changed files with 2 additions and 0 deletions
|
|
@ -80,6 +80,7 @@ uint detectCPUextensions(void)
|
|||
if (_dwDisabledISA == 0xffffffff) return 0;
|
||||
|
||||
asm volatile(
|
||||
"\n\tpushl %%ebx" // store ebx
|
||||
"\n\txor %%esi, %%esi" // clear %%esi = result register
|
||||
// check if 'cpuid' instructions is available by toggling eflags bit 21
|
||||
|
||||
|
|
@ -128,6 +129,7 @@ uint detectCPUextensions(void)
|
|||
"\n\tend:"
|
||||
|
||||
"\n\tmov %%esi, %0"
|
||||
"\n\tpopl %%ebx"
|
||||
|
||||
: "=r" (res)
|
||||
: /* no inputs */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue