mirror of
https://github.com/anrieff/libcpuid
synced 2025-02-12 20:24:05 +00:00
Fix issue #69: clang LTO error
Replace named asm label with unnamed (local) label.
This commit is contained in:
parent
4cf8cfa862
commit
e632d1287c
1 changed files with 4 additions and 2 deletions
|
@ -214,7 +214,8 @@ void busy_sse_loop(int cycles)
|
|||
" xorps %%xmm6, %%xmm6\n"
|
||||
" xorps %%xmm7, %%xmm7\n"
|
||||
XALIGN
|
||||
".bsLoop:\n"
|
||||
/* ".bsLoop:\n" */
|
||||
"1:\n"
|
||||
// 0:
|
||||
" addps %%xmm1, %%xmm0\n"
|
||||
" addps %%xmm2, %%xmm1\n"
|
||||
|
@ -505,7 +506,8 @@ void busy_sse_loop(int cycles)
|
|||
" addps %%xmm0, %%xmm7\n"
|
||||
|
||||
" dec %%eax\n"
|
||||
" jnz .bsLoop\n"
|
||||
/* "jnz .bsLoop\n" */
|
||||
" jnz 1b\n"
|
||||
::"a"(cycles)
|
||||
);
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue