~hp/patches

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH] Fix build with clang

Details
Message ID
<20230318183942.16344-1-dev@open-music-kontrollers.ch>
DKIM signature
missing
Download raw message
Patch: +1 -1
From: MikaelUrankar <mikael.urankar@gmail.com>

---
 mapper.lv2/mapper.lv2/mum.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mapper.lv2/mapper.lv2/mum.h b/mapper.lv2/mapper.lv2/mum.h
index afe23a1f..cc7b1a93 100644
--- a/mapper.lv2/mapper.lv2/mum.h
+++ b/mapper.lv2/mapper.lv2/mum.h
@@ -110,7 +110,7 @@ _mum (uint64_t v, uint64_t p) {
     function doing 128x128->128 bit multiplication.  The function is
     very slow.  */
  lo = v * p, hi;
  asm ("umulh %0, %1, %2" : "=r" (hi) : "r" (v), "r" (p));
  __asm__ ("umulh %0, %1, %2" : "=r" (hi) : "r" (v), "r" (p));
#else
  __uint128_t r = (__uint128_t) v * (__uint128_t) p;
  hi = (uint64_t) (r >> 64);
Details
Message ID
<712c637d-65b4-e55a-ecda-3acc577902f2@open-music-kontrollers.ch>
In-Reply-To
<20230318183942.16344-1-dev@open-music-kontrollers.ch> (view parent)
DKIM signature
missing
Download raw message
reported by <https://github.com/MikaelUrankar>

migrated from <https://github.com/OpenMusicKontrollers/synthpod/pull/54>
Reply to thread Export thread (mbox)