projects
/
platform
/
upstream
/
isl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56f51e6
)
add isl_seq_dump
author
Sven Verdoolaege
<skimo@kotnet.org>
Sun, 22 Apr 2012 08:25:53 +0000
(10:25 +0200)
committer
Sven Verdoolaege
<skimo@kotnet.org>
Sun, 6 May 2012 12:33:05 +0000
(14:33 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_seq.c
patch
|
blob
|
history
diff --git
a/isl_seq.c
b/isl_seq.c
index
fa8a629
..
5b2bf5f
100644
(file)
--- a/
isl_seq.c
+++ b/
isl_seq.c
@@
-307,3
+307,15
@@
uint32_t isl_seq_get_hash_bits(isl_int *p, unsigned len, unsigned bits)
hash = isl_seq_get_hash(p, len);
return isl_hash_bits(hash, bits);
}
+
+void isl_seq_dump(isl_int *p, unsigned len)
+{
+ int i;
+
+ for (i = 0; i < len; ++i) {
+ if (i)
+ fprintf(stderr, " ");
+ isl_int_print(stderr, p[i], 0);
+ }
+ fprintf(stderr, "\n");
+}