(no commit message)
authorlkcl <lkcl@web>
Sun, 7 Mar 2021 16:38:25 +0000 (16:38 +0000)
committerIkiWiki <ikiwiki.info>
Sun, 7 Mar 2021 16:38:25 +0000 (16:38 +0000)
3d_gpu/architecture/dynamic_simd/logicops.mdwn

index 5262d3b92477d8155955c49ef79a5409d9578bcb..48f325b5ca990b96c4732551c1938955101c7b42 100644 (file)
@@ -18,12 +18,12 @@ they are instead SIMD versions of:
 
 more specifically (8x8 version):
 
-     result = 0 # 64 bit, clear all bits
+     result = 0 # i bit, clear all bits
      for j in range(8)
          partial = 0 # initial value (single bit)
          for i in range(8):
              partial = partial xor a[i+j*8]
-         result[j*8] = partial
+         result[j] = partial
 
 # Requirements