[Debian-astro-commits] [cpl] 01/03: Workround unligned access on sparc64 by not running an optimised loop there.

Ole Streicher olebole at moszumanska.debian.org
Fri Sep 8 15:30:38 UTC 2017


This is an automated email from the git hooks/post-receive script.

olebole pushed a commit to branch master
in repository cpl.

commit 0fc8100e77605f0682586e4468c14aff9e4b0ce3
Author: Ole Streicher <olebole at debian.org>
Date:   Fri Sep 8 17:13:24 2017 +0200

    Workround unligned access on sparc64 by not running an optimised loop there.
    
    Closes: #846094
---
 debian/patches/cpl_mask_count_window_no_unaligned_access_armhf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/cpl_mask_count_window_no_unaligned_access_armhf b/debian/patches/cpl_mask_count_window_no_unaligned_access_armhf
index 977906a..c2b6e0a 100644
--- a/debian/patches/cpl_mask_count_window_no_unaligned_access_armhf
+++ b/debian/patches/cpl_mask_count_window_no_unaligned_access_armhf
@@ -9,7 +9,7 @@ Forwarded: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846094
      for (j = lly - 1; j < ury; j++, pi += self->nx) {
          i = llx - 1;
 -#ifdef CPL_MASK_WORD
-+#if defined (CPL_MASK_WORD) && !defined(__arm__)
++#if defined (CPL_MASK_WORD) && !defined(__arm__) && !defined(sparcv9)
          /* FIXME: Should really ensure byte-wise iteration to word-boundary */
          for (; i < llx - 1 + CPL_MASK_PAD2WORD2(llx - 1); i++) {
              if (pi[i] != CPL_BINARY_0) count++;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-astro/packages/cpl.git



More information about the Debian-astro-commits mailing list