SHA256
1
0
forked from pool/openucx

Accepting request 1058681 from science:HPC

- openucx-s390x-support.patch: fix use of clz builtin for 64-bit value (forwarded request 1058654 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/1058681
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openucx?expand=0&rev=24
This commit is contained in:
Dominique Leuenberger 2023-01-17 16:34:47 +00:00 committed by Git OBS Bridge
commit 1c024f5f2d
3 changed files with 7 additions and 2 deletions

View File

@ -244,7 +244,7 @@ index 000000000000..ce48ff1ff451
+{ +{
+ if (!n) + if (!n)
+ return 0; + return 0;
+ return 63 - __builtin_clz(n); + return 63 - __builtin_clzl(n);
+} +}
+ +
+static UCS_F_ALWAYS_INLINE unsigned ucs_ffs32(uint32_t n) +static UCS_F_ALWAYS_INLINE unsigned ucs_ffs32(uint32_t n)

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Jan 16 09:45:05 UTC 2023 - Andreas Schwab <schwab@suse.de>
- openucx-s390x-support.patch: fix use of clz builtin for 64-bit value
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Oct 4 16:39:30 UTC 2022 - Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com> Tue Oct 4 16:39:30 UTC 2022 - Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>

View File

@ -1,7 +1,7 @@
# #
# spec file for package openucx # spec file for package openucx
# #
# Copyright (c) 2022 SUSE LLC # Copyright (c) 2023 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed