From 569e36f287a0f15f75752f73f34ee4e7c868762d Mon Sep 17 00:00:00 2001 From: Andrei Horodniceanu Date: Thu, 25 Apr 2024 15:58:43 +0300 Subject: [PATCH] Dustmite/polyhash.d: Surround gcc assembly operands in parentheses Signed-off-by: Andrei Horodniceanu --- DustMite/polyhash.d | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DustMite/polyhash.d b/DustMite/polyhash.d index 5fa9766f62..0b064d412f 100644 --- a/DustMite/polyhash.d +++ b/DustMite/polyhash.d @@ -290,8 +290,8 @@ if (is(T : long) && T.sizeof >= 2) asm { "`~x86SignedOpPrefix!T~`mul`~x86SizeOpSuffix!T~` %3" - : "=a" low, "=d" high - : "a" a, "rm" b; + : "=a" (low), "=d" (high) + : "a" (a), "rm" (b); } `); return typeof(return)(low, high); @@ -363,8 +363,8 @@ if (is(T : long) && T.sizeof >= 2 && is(L == LongInt!T)) asm { "`~x86SignedOpPrefix!T~`div`~x86SizeOpSuffix!T~` %4" - : "=a" quotient, "=d" remainder - : "a" low, "d" high, "rm" b; + : "=a" (quotient), "=d" (remainder) + : "a" (low), "d" (high), "rm" (b); } `); return typeof(return)(quotient, remainder);