x87_ops: Use __asm for consistency with the other inline assembly block

This commit is contained in:
Cacodemon345
2022-06-19 16:01:23 +06:00
parent 51f8cb3634
commit ce34c4cb16

View File

@@ -387,9 +387,9 @@ static __inline uint16_t x87_ucompare(double a, double b)
#if !defined(_MSC_VER) || defined(__clang__)
/* Memory barrier, to force GCC to write to the input parameters
* before the compare rather than after */
asm volatile ("" : : : "memory");
__asm volatile ("" : : : "memory");
asm(
__asm(
"fldl %2\n"
"fldl %1\n"
"fclex\n"