guile-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, ra0, updated. v2.1.0-742-g8334172


From: Andy Wingo
Subject: [Guile-commits] GNU Guile branch, ra0, updated. v2.1.0-742-g8334172
Date: Mon, 10 Feb 2014 20:27:02 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

http://git.savannah.gnu.org/cgit/guile.git/commit/?id=83341720d0f88aa3003325ece375b84797d10fca

The branch, ra0 has been updated
  discards  1ef1cc72d9dabc3d06fec8de34f839b1e7d30532 (commit)
  discards  274a74c02d007a5ecc1e9d91dc58f0813813e9d6 (commit)
  discards  368f7c562037918f8e07bc6f1f10875225932a55 (commit)
  discards  67240569395fe86dd5719bfd0c31700d4e006389 (commit)
  discards  1814883db00546d165c9466f7a54fa7a2f983082 (commit)
  discards  086983cd1defb3df88bbc01c43b9f81f5c26bc7b (commit)
  discards  0300e7377d22f3d927406cf8f532c69dd66130dc (commit)
  discards  6a95439d5b3eb70a2b6a159e016ec230f8ab4f8e (commit)
  discards  78832c2155d64f8965e9abb539847ea5d8f62898 (commit)
  discards  1007b7765a241e0e67ebdf270f2d4d7a804fb79f (commit)
  discards  f935ba05d6c9b4f33edb7fa4310ff10d77ea3ac9 (commit)
  discards  c8e4860050ab7ffa6c398512d560c66fde99b17b (commit)
  discards  a3c448d8c228af725f252d506b94319a7cdeddd1 (commit)
  discards  e5d625a5e657227469ed71adf65297da2d0642cc (commit)
       via  83341720d0f88aa3003325ece375b84797d10fca (commit)
       via  15e70c68cfcda38d65b5bd55397b99b7b12703a7 (commit)
       via  c5bd3ae5186df5b75065cdfd594e27b3a29c2a1a (commit)
       via  4edff3e1b5952b89a897e4ff57f8eba66d45b511 (commit)
       via  04ad337cf211297838d5e4740c9df928f3b749ba (commit)
       via  c24c98d080c0c67836d28fbf6b7422e5fd59af3f (commit)
       via  a80af128b0b394dd94237c7ef5b6b6e52985ab27 (commit)
       via  b0c877396a3d87b2a63b8a0f46e49036d43c2a9f (commit)
       via  4cde4f63ee3f7357e332ec93bef2010d63836a6d (commit)
       via  2a8688a9d19e5825109d4abe4530b48019d5926f (commit)
       via  35f45ed6d0d4d8d73975cb1935faf32f82cb48b8 (commit)
       via  c545f7164a80586ac287c551b089101387319e8c (commit)
       via  dd60e9348ea6ff1e0e12025621f44dd8e9d5094b (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (1ef1cc72d9dabc3d06fec8de34f839b1e7d30532)
            \
             N -- N -- N (83341720d0f88aa3003325ece375b84797d10fca)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 83341720d0f88aa3003325ece375b84797d10fca
Author: Daniel Llorens <address@hidden>
Date:   Wed May 8 16:06:40 2013 +0200

    array-contents returns root for empty arrays with empty root
    
    This fixes a compiler issue where (uniform-array->bytevector #2f64())
    failed because of the stricter definition of uniform-vector? on this branch.
    
    Perhaps it would be better if uniform-array->bytevector didn't require
    a contiguous argument.
    
    * libguile/arrays.c: (scm_array_contents): return the root regardless of
      the value of SCM_I_ARRAY_DIMS (ra)->inc.
    * test-suite/tests/arrays.test: check.

commit 15e70c68cfcda38d65b5bd55397b99b7b12703a7
Author: Daniel Llorens <address@hidden>
Date:   Thu May 2 11:43:31 2013 +0200

    Fix compilation bugs with some kinds of typed arrays
    
    * module/language/glil/compile-assembly.scm: pass (array-contents x)
      to uniform-array->bytevector instead of x, when x is a typed array.
    * test-suite/tests/arrays.test: test an instance of the above that
      failed in Guile 2.0.9.

commit c5bd3ae5186df5b75065cdfd594e27b3a29c2a1a
Author: Daniel Llorens <address@hidden>
Date:   Tue Apr 30 16:11:07 2013 +0200

    Preallocate index list in scm_array_index_map_x
    
    * libguile/array-map.c
      - (scm_array_index_map_x): preallocate the index list instead of
        constructing it on each rank-1 iteration.
      - (ramap, rafe): use SCM_I_ARRAY_V just once.

commit 4edff3e1b5952b89a897e4ff57f8eba66d45b511
Author: Daniel Llorens <address@hidden>
Date:   Mon Apr 29 14:19:52 2013 +0200

    Match types used in arrays.c to struct field types
    
    * libguile/arrays.c
      - scm_shared_array_root: check for SCM_I_ARRAYP first.
      - scm_i_shap2ra:
        * check valid bounds in the '(lbnd ubnd) case. This makes
          (make-array 0 '(4 -3)) fail with a 'bad dimension' instead of
          with a 'wrong index' error.
        * use ssize_t for lbnd/ubnd/inc, not long.
      - scm_make_shared_array: use ssize_t for indices, not long.
      - scm_transpose_array: use size_t for ndim, not ulong.
      - scm_i_print_array: idem.

commit 04ad337cf211297838d5e4740c9df928f3b749ba
Author: Daniel Llorens <address@hidden>
Date:   Fri Apr 26 13:02:38 2013 +0200

    Don't use ASET in scm_array_index_map_x
    
    * libguile/array-map.c: (scm_array_index_map_x): replace ASET by direct
      use of handle->impl.

commit c24c98d080c0c67836d28fbf6b7422e5fd59af3f
Author: Daniel Llorens <address@hidden>
Date:   Fri Apr 26 02:05:22 2013 +0200

    In scm_ramapc, only check unrolled axes for emptiness
    
    * libguile/array-map.c: (scm_ramapc)
      - Don't check emptiness while preparing ra0, but only after kroll is 
known,
        and only before kroll. len = 0 will be caught by the unrolled loop.
      - Use ra0 axis length in unroll check depth for rest args, not ra1's.
      - Recover early exit feature when cproc returns 0.

commit a80af128b0b394dd94237c7ef5b6b6e52985ab27
Author: Daniel Llorens <address@hidden>
Date:   Thu Apr 25 18:49:14 2013 +0200

    Fix scm_ramapc bugs with 0-inc arrays
    
    * libguile/array-map.c: (scm_ramapc): Cannot flag empty on the product
      inc * dim * dim ... Check every dim.
    * test-suite/tests/ramap.test: Tests the 0-inc, non empty case for both
      array-map! and array-copy!.

commit b0c877396a3d87b2a63b8a0f46e49036d43c2a9f
Author: Daniel Llorens <address@hidden>
Date:   Thu Apr 25 15:18:05 2013 +0200

    Fix corner cases of scm_ramapc
    
    * libguile/array-map.c
      - (scm_ramapc): mismatched axes limit unrollk (kroll). Reorganize
        the function to do all checking as we go.
      - (scm_ra_matchp): unused; remove.
      - (find_unrollk): inlined in scm_ramapc; remove.
      - (klen): inlined in scm_ramapc; remove.
      - (rafill): n is size_t.
      - (racp): n is size_t. Use n and not i0end to bound the loop.
      - (ramap): Use n and not i0end to bound the loop. This is needed for the 
rank
        0 case to work with the new scm_ramapc, as inc may be set to 0 in that 
case.
      - (rafe): idem.
    * test-suite/tests/ramap.test
      - check that size mismatch prevents unrolling (matching behavior III) with
        both array-copy! and array-map!.
      - check that non-contiguous stride in non-ref args prevents unrolling
        (rank 2, discontinuous) with both array-copy! and array-map!.
      - check rank 0 cases with array-for-each, array-map!.

commit 4cde4f63ee3f7357e332ec93bef2010d63836a6d
Author: Daniel Llorens <address@hidden>
Date:   Wed Apr 24 23:29:48 2013 +0200

    Rewrite scm_ramapc()
    
    * libguile/array-map.c
      - (cind): replace by cindk, that operates only on the unrolled index set.
      - (klen): new function.
      - (make1array): take extra inc argument.
      - (scm_ramapc): rewrite to unroll as many axes as possible instead of 
just all
        or one.
      - (AREF): lbnd is known to be 0: remove.
      - (ASET): v is known to come from SCM_I_ARRAY_V; assume base, inc, lbnd.
      - (racp): use ssize_t instead of long for the indices.
      - (scm_array_index_map_x): build the index list at the last-but-one axis, 
then
        set the car of the last element, instead of building the list at the 
last axis.
    * test-suite/tests/ramap.test
      - add array-map! test with offset arguments.

commit 2a8688a9d19e5825109d4abe4530b48019d5926f
Author: Daniel Llorens <address@hidden>
Date:   Fri Apr 19 16:44:48 2013 +0200

    Factor out make1array() in scm_ramapc()
    
    * libguile/array-map.c: (scm_ramapc): factor out vector->array conversion
      to aux function make1array.

-----------------------------------------------------------------------

Summary of changes:
 libguile/array-map.c         |    1 -
 test-suite/tests/arrays.test |    1 +
 2 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libguile/array-map.c b/libguile/array-map.c
index 7bb5af5..2d68f5f 100644
--- a/libguile/array-map.c
+++ b/libguile/array-map.c
@@ -53,7 +53,6 @@ AREF (SCM v, size_t pos)
   return scm_c_array_ref_1 (v, pos);
 }
 
-/* This is only ever used with v = SCM_I_ARRAY_V () */
 static void
 ASET (SCM v, size_t pos, SCM val)
 {
diff --git a/test-suite/tests/arrays.test b/test-suite/tests/arrays.test
index c1407c9..415f183 100644
--- a/test-suite/tests/arrays.test
+++ b/test-suite/tests/arrays.test
@@ -342,6 +342,7 @@
       (not (array-contents b))))
 
   ;; FIXME maybe this should be allowed.
+  #;
   (pass-if "broadcast vector -> empty"
     (let* ((a (make-array 0 4))
            (b (make-shared-array a (lambda (i j k) (list k)) 0 1 4)))


hooks/post-receive
-- 
GNU Guile



reply via email to

[Prev in Thread] Current Thread [Next in Thread]