summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorflywind <xzsflywind@gmail.com>2021-03-22 07:36:48 +0800
committerGitHub <noreply@github.com>2021-03-22 00:36:48 +0100
commitc8dda867f2a2607d4049759d09593a66b1697d02 (patch)
treebee5639067062f84a1ae1cd0561f5952e915e7e9
parent23fd0984283fe94108dea5d569450f5e0564c59d (diff)
downloadNim-c8dda867f2a2607d4049759d09593a66b1697d02.tar.gz
close #11330 sets uses optimized countSetBits (#17334)
* Update lib/pure/bitops.nim
* Update lib/system/sets.nim
* Apply suggestions from code review

Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
-rw-r--r--lib/pure/bitops.nim88
-rw-r--r--lib/std/private/vmutils.nim17
-rw-r--r--lib/system/countbits_impl.nim77
-rw-r--r--lib/system/sets.nim1
4 files changed, 98 insertions, 85 deletions
diff --git a/lib/pure/bitops.nim b/lib/pure/bitops.nim
index 57e3c7989..377602e75 100644
--- a/lib/pure/bitops.nim
+++ b/lib/pure/bitops.nim
@@ -27,6 +27,9 @@
 
 import macros
 import std/private/since
+from std/private/vmutils import forwardImpl, toUnsigned
+
+
 
 func bitnot*[T: SomeInteger](x: T): T {.magic: "BitnotI".}
   ## Computes the `bitwise complement` of the integer `x`.
@@ -58,34 +61,6 @@ macro bitxor*[T: SomeInteger](x, y: T; z: varargs[T]): T =
   for extra in z:
     result = newCall(fn, result, extra)
 
-const useBuiltins = not defined(noIntrinsicsBitOpts)
-const noUndefined = defined(noUndefinedBitOpts)
-const useGCC_builtins = (defined(gcc) or defined(llvm_gcc) or
-                         defined(clang)) and useBuiltins
-const useICC_builtins = defined(icc) and useBuiltins
-const useVCC_builtins = defined(vcc) and useBuiltins
-const arch64 = sizeof(int) == 8
-const useBuiltinsRotate = (defined(amd64) or defined(i386)) and
-                          (defined(gcc) or defined(clang) or defined(vcc) or
-                           (defined(icl) and not defined(cpp))) and useBuiltins
-
-template toUnsigned(x: int8): uint8 = cast[uint8](x)
-template toUnsigned(x: int16): uint16 = cast[uint16](x)
-template toUnsigned(x: int32): uint32 = cast[uint32](x)
-template toUnsigned(x: int64): uint64 = cast[uint64](x)
-template toUnsigned(x: int): uint = cast[uint](x)
-
-template forwardImpl(impl, arg) {.dirty.} =
-  when sizeof(x) <= 4:
-    when x is SomeSignedInt:
-      impl(cast[uint32](x.int32))
-    else:
-      impl(x.uint32)
-  else:
-    when x is SomeSignedInt:
-      impl(cast[uint64](x.int64))
-    else:
-      impl(x.uint64)
 
 type BitsRange*[T] = range[0..sizeof(T)*8-1]
   ## A range with all bit positions for type `T`.
@@ -436,13 +411,12 @@ func fastlog2Nim(x: uint64): int {.inline.} =
   v = v or v shr 32
   result = lookup[(v * 0x03F6EAF2CD271461'u64) shr 58].int
 
-# sets.nim cannot import bitops, but bitops can use include
-# system/sets to eliminate code duplication. sets.nim defines
-# countBits32 and countBits64.
 import system/countbits_impl
 
-template countSetBitsNim(n: uint32): int = countBits32(n)
-template countSetBitsNim(n: uint64): int = countBits64(n)
+const arch64 = sizeof(int) == 8
+const useBuiltinsRotate = (defined(amd64) or defined(i386)) and
+                          (defined(gcc) or defined(clang) or defined(vcc) or
+                           (defined(icl) and not defined(cpp))) and useBuiltins
 
 template parityImpl[T](value: T): int =
   # formula id from: https://graphics.stanford.edu/%7Eseander/bithacks.html#ParityParallel
@@ -459,11 +433,6 @@ template parityImpl[T](value: T): int =
 
 
 when useGCC_builtins:
-  # Returns the number of set 1-bits in value.
-  proc builtin_popcount(x: cuint): cint {.importc: "__builtin_popcount", cdecl.}
-  proc builtin_popcountll(x: culonglong): cint {.
-      importc: "__builtin_popcountll", cdecl.}
-
   # Returns the bit parity in value
   proc builtin_parity(x: cuint): cint {.importc: "__builtin_parity", cdecl.}
   proc builtin_parityll(x: culonglong): cint {.importc: "__builtin_parityll", cdecl.}
@@ -481,14 +450,6 @@ when useGCC_builtins:
   proc builtin_ctzll(x: culonglong): cint {.importc: "__builtin_ctzll", cdecl.}
 
 elif useVCC_builtins:
-  # Counts the number of one bits (population count) in a 16-, 32-, or 64-byte unsigned integer.
-  func builtin_popcnt16(a2: uint16): uint16 {.
-      importc: "__popcnt16", header: "<intrin.h>".}
-  func builtin_popcnt32(a2: uint32): uint32 {.
-      importc: "__popcnt", header: "<intrin.h>".}
-  func builtin_popcnt64(a2: uint64): uint64 {.
-      importc: "__popcnt64", header: "<intrin.h>".}
-
   # Search the mask data from most significant bit (MSB) to least significant bit (LSB) for a set bit (1).
   func bitScanReverse(index: ptr culong, mask: culong): cuchar {.
       importc: "_BitScanReverse", header: "<intrin.h>".}
@@ -507,15 +468,6 @@ elif useVCC_builtins:
     index.int
 
 elif useICC_builtins:
-
-  # Intel compiler intrinsics: http://fulla.fnal.gov/intel/compiler_c/main_cls/intref_cls/common/intref_allia_misc.htm
-  # see also: https://software.intel.com/en-us/node/523362
-  # Count the number of bits set to 1 in an integer a, and return that count in dst.
-  func builtin_popcnt32(a: cint): cint {.
-      importc: "_popcnt", header: "<immintrin.h>".}
-  func builtin_popcnt64(a: uint64): cint {.
-      importc: "_popcnt64", header: "<immintrin.h>".}
-
   # Returns the number of trailing 0-bits in x, starting at the least significant bit position. If x is 0, the result is undefined.
   func bitScanForward(p: ptr uint32, b: uint32): cuchar {.
       importc: "_BitScanForward", header: "<immintrin.h>".}
@@ -533,37 +485,13 @@ elif useICC_builtins:
     discard fnc(index.addr, v)
     index.int
 
-
 func countSetBits*(x: SomeInteger): int {.inline.} =
   ## Counts the set bits in an integer (also called `Hamming weight`:idx:).
   runnableExamples:
     doAssert countSetBits(0b0000_0011'u8) == 2
     doAssert countSetBits(0b1010_1010'u8) == 4
 
-  # TODO: figure out if ICC support _popcnt32/_popcnt64 on platform without POPCNT.
-  # like GCC and MSVC
-  when x is SomeSignedInt:
-    let x = x.toUnsigned
-  when nimvm:
-    result = forwardImpl(countSetBitsNim, x)
-  else:
-    when useGCC_builtins:
-      when sizeof(x) <= 4: result = builtin_popcount(x.cuint).int
-      else: result = builtin_popcountll(x.culonglong).int
-    elif useVCC_builtins:
-      when sizeof(x) <= 2: result = builtin_popcnt16(x.uint16).int
-      elif sizeof(x) <= 4: result = builtin_popcnt32(x.uint32).int
-      elif arch64: result = builtin_popcnt64(x.uint64).int
-      else: result = builtin_popcnt32((x.uint64 and 0xFFFFFFFF'u64).uint32).int +
-                     builtin_popcnt32((x.uint64 shr 32'u64).uint32).int
-    elif useICC_builtins:
-      when sizeof(x) <= 4: result = builtin_popcnt32(x.cint).int
-      elif arch64: result = builtin_popcnt64(x.uint64).int
-      else: result = builtin_popcnt32((x.uint64 and 0xFFFFFFFF'u64).cint).int +
-                     builtin_popcnt32((x.uint64 shr 32'u64).cint).int
-    else:
-      when sizeof(x) <= 4: result = countSetBitsNim(x.uint32)
-      else: result = countSetBitsNim(x.uint64)
+  result = countSetBitsImpl(x)
 
 func popcount*(x: SomeInteger): int {.inline.} =
   ## Alias for `countSetBits <#countSetBits,SomeInteger>`_ (Hamming weight).
diff --git a/lib/std/private/vmutils.nim b/lib/std/private/vmutils.nim
new file mode 100644
index 000000000..d54977b4e
--- /dev/null
+++ b/lib/std/private/vmutils.nim
@@ -0,0 +1,17 @@
+template forwardImpl*(impl, arg) {.dirty.} =
+  when sizeof(x) <= 4:
+    when x is SomeSignedInt:
+      impl(cast[uint32](x.int32))
+    else:
+      impl(x.uint32)
+  else:
+    when x is SomeSignedInt:
+      impl(cast[uint64](x.int64))
+    else:
+      impl(x.uint64)
+
+template toUnsigned*(x: int8): uint8 = cast[uint8](x)
+template toUnsigned*(x: int16): uint16 = cast[uint16](x)
+template toUnsigned*(x: int32): uint32 = cast[uint32](x)
+template toUnsigned*(x: int64): uint64 = cast[uint64](x)
+template toUnsigned*(x: int): uint = cast[uint](x)
diff --git a/lib/system/countbits_impl.nim b/lib/system/countbits_impl.nim
index 6c85612e2..d3c003ff7 100644
--- a/lib/system/countbits_impl.nim
+++ b/lib/system/countbits_impl.nim
@@ -9,17 +9,86 @@
 
 ## Contains the used algorithms for counting bits.
 
-proc countBits32*(n: uint32): int {.compilerproc.} =
+from std/private/vmutils import forwardImpl, toUnsigned
+
+
+const useBuiltins* = not defined(noIntrinsicsBitOpts)
+const noUndefined* = defined(noUndefinedBitOpts)
+const useGCC_builtins* = (defined(gcc) or defined(llvm_gcc) or
+                         defined(clang)) and useBuiltins
+const useICC_builtins* = defined(icc) and useBuiltins
+const useVCC_builtins* = defined(vcc) and useBuiltins
+
+template countBitsImpl(n: uint32): int =
   # generic formula is from: https://graphics.stanford.edu/~seander/bithacks.html#CountBitsSetParallel
   var v = uint32(n)
   v = v - ((v shr 1'u32) and 0x55555555'u32)
   v = (v and 0x33333333'u32) + ((v shr 2'u32) and 0x33333333'u32)
-  result = (((v + (v shr 4'u32) and 0xF0F0F0F'u32) * 0x1010101'u32) shr 24'u32).int
+  (((v + (v shr 4'u32) and 0xF0F0F0F'u32) * 0x1010101'u32) shr 24'u32).int
 
-proc countBits64*(n: uint64): int {.compilerproc, inline.} =
+template countBitsImpl(n: uint64): int =
   # generic formula is from: https://graphics.stanford.edu/~seander/bithacks.html#CountBitsSetParallel
   var v = uint64(n)
   v = v - ((v shr 1'u64) and 0x5555555555555555'u64)
   v = (v and 0x3333333333333333'u64) + ((v shr 2'u64) and 0x3333333333333333'u64)
   v = (v + (v shr 4'u64) and 0x0F0F0F0F0F0F0F0F'u64)
-  result = ((v * 0x0101010101010101'u64) shr 56'u64).int
+  ((v * 0x0101010101010101'u64) shr 56'u64).int
+
+
+when useGCC_builtins:
+  # Returns the number of set 1-bits in value.
+  proc builtin_popcount(x: cuint): cint {.importc: "__builtin_popcount", cdecl.}
+  proc builtin_popcountll(x: culonglong): cint {.
+      importc: "__builtin_popcountll", cdecl.}
+
+elif useVCC_builtins:
+  # Counts the number of one bits (population count) in a 16-, 32-, or 64-byte unsigned integer.
+  func builtin_popcnt16(a2: uint16): uint16 {.
+      importc: "__popcnt16", header: "<intrin.h>".}
+  func builtin_popcnt32(a2: uint32): uint32 {.
+      importc: "__popcnt", header: "<intrin.h>".}
+  func builtin_popcnt64(a2: uint64): uint64 {.
+      importc: "__popcnt64", header: "<intrin.h>".}
+
+elif useICC_builtins:
+  # Intel compiler intrinsics: http://fulla.fnal.gov/intel/compiler_c/main_cls/intref_cls/common/intref_allia_misc.htm
+  # see also: https://software.intel.com/en-us/node/523362
+  # Count the number of bits set to 1 in an integer a, and return that count in dst.
+  func builtin_popcnt32(a: cint): cint {.
+      importc: "_popcnt", header: "<immintrin.h>".}
+  func builtin_popcnt64(a: uint64): cint {.
+      importc: "_popcnt64", header: "<immintrin.h>".}
+
+
+func countSetBitsImpl*(x: SomeInteger): int {.inline.} =
+  ## Counts the set bits in an integer (also called `Hamming weight`:idx:).
+  # TODO: figure out if ICC support _popcnt32/_popcnt64 on platform without POPCNT.
+  # like GCC and MSVC
+  when x is SomeSignedInt:
+    let x = x.toUnsigned
+  when nimvm:
+    result = forwardImpl(countBitsImpl, x)
+  else:
+    when useGCC_builtins:
+      when sizeof(x) <= 4: result = builtin_popcount(x.cuint).int
+      else: result = builtin_popcountll(x.culonglong).int
+    elif useVCC_builtins:
+      when sizeof(x) <= 2: result = builtin_popcnt16(x.uint16).int
+      elif sizeof(x) <= 4: result = builtin_popcnt32(x.uint32).int
+      elif arch64: result = builtin_popcnt64(x.uint64).int
+      else: result = builtin_popcnt32((x.uint64 and 0xFFFFFFFF'u64).uint32).int +
+                     builtin_popcnt32((x.uint64 shr 32'u64).uint32).int
+    elif useICC_builtins:
+      when sizeof(x) <= 4: result = builtin_popcnt32(x.cint).int
+      elif arch64: result = builtin_popcnt64(x.uint64).int
+      else: result = builtin_popcnt32((x.uint64 and 0xFFFFFFFF'u64).cint).int +
+                     builtin_popcnt32((x.uint64 shr 32'u64).cint).int
+    else:
+      when sizeof(x) <= 4: result = countBitsImpl(x.uint32)
+      else: result = countBitsImpl(x.uint64)
+
+proc countBits32*(n: uint32): int {.compilerproc, inline.} =
+  result = countSetBitsImpl(n)
+
+proc countBits64*(n: uint64): int {.compilerproc, inline.} =
+  result = countSetBitsImpl(n)
diff --git a/lib/system/sets.nim b/lib/system/sets.nim
index 04e10ba04..103c8d343 100644
--- a/lib/system/sets.nim
+++ b/lib/system/sets.nim
@@ -12,7 +12,6 @@
 type
   NimSet = array[0..4*2048-1, uint8]
 
-# bitops can't be imported here, therefore the code duplication.
 
 proc cardSet(s: NimSet, len: int): int {.compilerproc, inline.} =
   var i = 0
268d4756b242c2109e'>^
436b2b2e ^



e3cb4d09 ^


b1ddb414 ^




e3cb4d09 ^


b1ddb414 ^
e3cb4d09 ^


b1ddb414 ^
6b2f2ed3 ^
b1ddb414 ^



c78bc9bd ^
b1ddb414 ^
c78bc9bd ^
b1ddb414 ^





f3760b0f ^
795f5244 ^
12f304a3 ^
b1ddb414 ^



6b2f2ed3 ^
b24eb476 ^
08cf048f ^
e3cb4d09 ^
6b2f2ed3 ^



555d95c1 ^
6b2f2ed3 ^


b1ddb414 ^
6b2f2ed3 ^
b1ddb414 ^
e3cb4d09 ^
b1ddb414 ^






6c96a437 ^
b1ddb414 ^

e3cb4d09 ^
b1ddb414 ^
e3cb4d09 ^

715806ca ^
e3cb4d09 ^
968866f7 ^
c4e143d6 ^



555d95c1 ^
e3cb4d09 ^



795f5244 ^
e3cb4d09 ^

3965ca03 ^


7a84094a ^
3965ca03 ^
1ead3562 ^
7a84094a ^
3965ca03 ^


75ab8732 ^
3965ca03 ^

75ab8732 ^
3965ca03 ^


75ab8732 ^
3965ca03 ^

75ab8732 ^

4c569925 ^
3965ca03 ^
4769dd2e ^
29476997 ^

4769dd2e ^
17b90929 ^
a4f12265 ^

7a84094a ^
a4f12265 ^
1ead3562 ^
a4f12265 ^
7a84094a ^
a4f12265 ^


17b90929 ^
a09697d0 ^

7a84094a ^
a09697d0 ^
1ead3562 ^
a09697d0 ^





17b90929 ^
7637d1ac ^

7a84094a ^
7637d1ac ^
1ead3562 ^
760f683f ^

7637d1ac ^
b0bf5321 ^
7637d1ac ^
d4dea9bd ^


7a84094a ^
d4dea9bd ^


7a84094a ^
d4dea9bd ^
1ead3562 ^
d4dea9bd ^
7a84094a ^
d4dea9bd ^


452086e3 ^




1ead3562 ^
7c9def3c ^


d52406cc ^
452086e3 ^


a09697d0 ^
571791ba ^
af023b32 ^
571791ba ^
af023b32 ^
571791ba ^
8dede22e ^
571791ba ^
b5606419 ^
5052a6ff ^
3377364a ^

f890f147 ^

3377364a ^
a09697d0 ^






af023b32 ^
a09697d0 ^


4769dd2e ^



29476997 ^
4769dd2e ^


4f3d9065 ^
29476997 ^
5d4a1d3b ^
a09697d0 ^
af023b32 ^
29476997 ^

af023b32 ^

d59554f5 ^
b24eb476 ^
d59554f5 ^
29476997 ^
d59554f5 ^

af023b32 ^

d59554f5 ^
af023b32 ^


6c96a437 ^
af023b32 ^



d59554f5 ^
af023b32 ^




cd85ca3c ^

b24eb476 ^
cd85ca3c ^



a09697d0 ^
cd85ca3c ^
a09697d0 ^

4ea9905f ^
fbc3455b ^
07ca5691 ^

7a84094a ^
07ca5691 ^

471839da ^
84c9e3cf ^
07ca5691 ^

fbc3455b ^
07ca5691 ^






471839da ^
84c9e3cf ^
07ca5691 ^

fbc3455b ^
07ca5691 ^





b0bf5321 ^
471839da ^
84c9e3cf ^
07ca5691 ^

fbc3455b ^
07ca5691 ^



7a84094a ^
07ca5691 ^

471839da ^
84c9e3cf ^
07ca5691 ^






b0bf5321 ^
471839da ^
84c9e3cf ^
471839da ^
84c9e3cf ^
07ca5691 ^







b0bf5321 ^
471839da ^
84c9e3cf ^
471839da ^
84c9e3cf ^
471839da ^
84c9e3cf ^
07ca5691 ^

4f3d9065 ^




b0bf5321 ^
471839da ^
84c9e3cf ^
4f3d9065 ^



a0331a9b ^
4f3d9065 ^





b0bf5321 ^
471839da ^
84c9e3cf ^
4f3d9065 ^

4ea9905f ^
b24eb476 ^
5d4a1d3b ^
3c163ef7 ^
5d4a1d3b ^



17b90929 ^
5d4a1d3b ^


7a84094a ^
5d4a1d3b ^
1ead3562 ^
5d4a1d3b ^
7a84094a ^
5d4a1d3b ^
571791ba ^
5d4a1d3b ^
af023b32 ^





1211a3ab ^
af023b32 ^


571791ba ^
af023b32 ^


571791ba ^
af023b32 ^





7a84094a ^
af023b32 ^


571791ba ^
af023b32 ^




7a84094a ^
af023b32 ^


571791ba ^
af023b32 ^
7a84094a ^
571791ba ^
af023b32 ^




7a84094a ^
af023b32 ^

760f683f ^
571791ba ^
af023b32 ^








7a84094a ^
760f683f ^
af023b32 ^
7a84094a ^
571791ba ^
af023b32 ^


1211a3ab ^
af023b32 ^


571791ba ^
af023b32 ^


571791ba ^
af023b32 ^





7a84094a ^
af023b32 ^

760f683f ^
571791ba ^

af023b32 ^










7a84094a ^
af023b32 ^





760f683f ^
af023b32 ^
571791ba ^

af023b32 ^












5ba1c3b9 ^

5ba1c3b9 ^
7a84094a ^
5ba1c3b9 ^


7a84094a ^

5ba1c3b9 ^
1ead3562 ^
5ba1c3b9 ^









7a84094a ^
5ba1c3b9 ^


7a84094a ^

5ba1c3b9 ^
1ead3562 ^
5ba1c3b9 ^




5ba1c3b9 ^
7a84094a ^
5ba1c3b9 ^


7a84094a ^

5ba1c3b9 ^
1ead3562 ^
5ba1c3b9 ^







5ba1c3b9 ^
7a84094a ^
5ba1c3b9 ^


7a84094a ^

5ba1c3b9 ^
1ead3562 ^
5ba1c3b9 ^






7a84094a ^
5ba1c3b9 ^


7a84094a ^

5ba1c3b9 ^
1ead3562 ^
5ba1c3b9 ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686