bug 1244: replace tabs with spaces
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 8 Jan 2024 14:04:13 +0000 (14:04 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 8 Jan 2024 14:04:13 +0000 (14:04 +0000)
conferences/fosdem2024/fosdem2024_ddffirst/fosdem2024_ddffirst.tex
conferences/fosdem2024/fosdem2024_ddffirst/pospopcount.c

index ef907759bcb0e28eea2bd9eef99b66f759c57e5d..143a7beeb6469fa855b703787c4b2e52cbbc98e8 100644 (file)
@@ -187,7 +187,6 @@ function op\_cmpi(BA, RA, SI) # cmpi not vector-cmpi!
 
 }
 
-}
 
 \frame{\frametitle{Pospopcount.c}
 
index 0fe84be45e2b471428c2a6139dd93605cbc26988..df0983aeeac58890f7fa4f37a814981da6218b19 100644 (file)
@@ -1,11 +1,7 @@
-// Copyright (c) 2020 Robert Clausecker <fuz@fuz.su>
-// count8 reference implementation for tests.  Do not alter.
-func count8safe(counts *[8]int, buf []uint8) 
-       {
-               for i := range buf {
-                       for j := 0; j < 8; j++ {
-                               counts[j] += int(buf[i] >> j & 1)
-                       }
-               }
-       }
-               
\ No newline at end of file
+/*Copyright (c) 2020 Robert Clausecker fuz@fuz.su
+  count8 reference implementation */
+func count8safe(counts *[8]int, buf []uint8) {
+    for i := range buf
+        for j := 0; j < 8; j++
+            counts[j] += int(buf[i] >> j & 1)
+}