From 84555c4c4082de7bd542dca714c535bbb64e0417 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 8 Jan 2024 14:04:13 +0000 Subject: [PATCH] bug 1244: replace tabs with spaces --- .../fosdem2024_ddffirst.tex | 1 - .../fosdem2024_ddffirst/pospopcount.c | 18 +++++++----------- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/conferences/fosdem2024/fosdem2024_ddffirst/fosdem2024_ddffirst.tex b/conferences/fosdem2024/fosdem2024_ddffirst/fosdem2024_ddffirst.tex index ef907759b..143a7beeb 100644 --- a/conferences/fosdem2024/fosdem2024_ddffirst/fosdem2024_ddffirst.tex +++ b/conferences/fosdem2024/fosdem2024_ddffirst/fosdem2024_ddffirst.tex @@ -187,7 +187,6 @@ function op\_cmpi(BA, RA, SI) # cmpi not vector-cmpi! } -} \frame{\frametitle{Pospopcount.c} diff --git a/conferences/fosdem2024/fosdem2024_ddffirst/pospopcount.c b/conferences/fosdem2024/fosdem2024_ddffirst/pospopcount.c index 0fe84be45..df0983aee 100644 --- a/conferences/fosdem2024/fosdem2024_ddffirst/pospopcount.c +++ b/conferences/fosdem2024/fosdem2024_ddffirst/pospopcount.c @@ -1,11 +1,7 @@ -// Copyright (c) 2020 Robert Clausecker -// 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) +} -- 2.30.2