From ce34c4cb16219d03da2f30b712f745b5cfbf7b9e Mon Sep 17 00:00:00 2001 From: Cacodemon345 Date: Sun, 19 Jun 2022 16:01:23 +0600 Subject: [PATCH] x87_ops: Use __asm for consistency with the other inline assembly block --- src/cpu/x87_ops.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cpu/x87_ops.h b/src/cpu/x87_ops.h index c41074a2c..758546e7a 100644 --- a/src/cpu/x87_ops.h +++ b/src/cpu/x87_ops.h @@ -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"