mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Use unambiguous inline assembly to load a float variable. GNU as
silently converts 'fld' to 'flds', without taking the actual variable type into account (!), but clang's integrated assembler rightfully complains about it. Discussed with: cperciva
This commit is contained in:
parent
e194afc434
commit
079d7e43ca
1 changed files with 1 additions and 1 deletions
|
|
@ -938,7 +938,7 @@ fpu_clean_state(void)
|
|||
* the x87 stack, but we don't care since we're about to call
|
||||
* fxrstor() anyway.
|
||||
*/
|
||||
__asm __volatile("ffree %%st(7); fld %0" : : "m" (dummy_variable));
|
||||
__asm __volatile("ffree %%st(7); flds %0" : : "m" (dummy_variable));
|
||||
}
|
||||
#endif /* CPU_ENABLE_SSE */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue