Hello community,

here is the log from the commit of package bandwidth for openSUSE:Factory 
checked in at 2020-09-15 16:27:41
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/bandwidth (Old)
 and      /work/SRC/openSUSE:Factory/.bandwidth.new.4249 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "bandwidth"

Tue Sep 15 16:27:41 2020 rev:6 rq:834285 version:1.9.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/bandwidth/bandwidth.changes      2019-11-24 
00:23:24.743184583 +0100
+++ /work/SRC/openSUSE:Factory/.bandwidth.new.4249/bandwidth.changes    
2020-09-15 16:27:53.574573968 +0200
@@ -1,0 +2,7 @@
+Mon Sep 14 09:47:54 UTC 2020 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Update to 1.9.4:
+  * Removed unfinished AVX512 code that was causing a crash
+    on Xeon CPUs. 
+
+-------------------------------------------------------------------

Old:
----
  bandwidth-1.9.3.tar.gz

New:
----
  bandwidth-1.9.4.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ bandwidth.spec ++++++
--- /var/tmp/diff_new_pack.P6RHeb/_old  2020-09-15 16:27:54.142574512 +0200
+++ /var/tmp/diff_new_pack.P6RHeb/_new  2020-09-15 16:27:54.146574516 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package bandwidth
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           bandwidth
-Version:        1.9.3
+Version:        1.9.4
 Release:        0
 Summary:        Memory and network benchmark program
 License:        GPL-2.0-only
@@ -38,17 +38,17 @@
 
 %build
 # currently fails with No rule to make target 'routines-arm-32bit.asm', needed 
by 'bandwidth-arm32'
-%ifarch %arm
-make %{?_smp_mflags} bandwidth-arm32
+%ifarch %{arm}
+%make_build bandwidth-arm32
 %endif
 
 %ifarch %{ix86}
-make %{?_smp_mflags} bandwidth32 CFLAGS="%{optflags}"
+%make_build bandwidth32 CFLAGS="%{optflags}"
 mv bandwidth32 %{name}
 %endif
 
 %ifarch x86_64
-make %{?_smp_mflags} bandwidth64 CFLAGS="%{optflags}"
+%make_build bandwidth64 CFLAGS="%{optflags}"
 mv bandwidth64 %{name}
 %endif
 

++++++ bandwidth-1.9.3.tar.gz -> bandwidth-1.9.4.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bandwidth-1.9.3/CPUCharacteristics.c 
new/bandwidth-1.9.4/CPUCharacteristics.c
--- old/bandwidth-1.9.3/CPUCharacteristics.c    2019-10-20 18:10:26.000000000 
+0200
+++ new/bandwidth-1.9.4/CPUCharacteristics.c    2020-09-01 07:22:11.000000000 
+0200
@@ -72,8 +72,6 @@
        if (self->running_in_hypervisor) {
                $(console, println, "Hypervisor is present; you're running in a 
VM.");
        }
-
-       $(console, newline);
 }
 
 static void CPUCharacteristics_printCacheInfo (CPUCharacteristics *self)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bandwidth-1.9.3/Makefile new/bandwidth-1.9.4/Makefile
--- old/bandwidth-1.9.3/Makefile        2019-10-20 18:40:34.000000000 +0200
+++ new/bandwidth-1.9.4/Makefile        2020-09-01 06:24:40.000000000 +0200
@@ -1,6 +1,6 @@
 #============================================================================
 # bandwidth, a benchmark to estimate memory transfer bandwidth.
-# Copyright (C) 2005-2019 by Zack T Smith.
+# Copyright (C) 2005-2020 by Zack T Smith.
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -34,12 +34,15 @@
 
 UNAMESYS := $(shell uname -s)
 UNAMEPROC := $(shell uname -p)
+UNAMEMACHINE := $(shell uname -m)
 
-ifeq (${UNAMESYS},Linux)
-        include Makefile-linux
+ifeq (${UNAMEPROC},armv7l)
+       include Makefile-rpi32
+else ifeq (${UNAMEMACHINE},armv7l)
+       include Makefile-rpi32
 else
-       ifeq (${UNAMEPROC},armv7l)
-               include Makefile-rpi
+       ifeq (${UNAMESYS},Linux)
+               include Makefile-linux
        else
                ifeq (${UNAMESYS},linux)
                        include Makefile-linux
@@ -82,3 +85,6 @@
 OOC64:
        ( cd OOC; make OOC64.a )
 
+ARMOOC32:
+       ( cd OOC; make ARMOOC32 )
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bandwidth-1.9.3/Makefile-linux 
new/bandwidth-1.9.4/Makefile-linux
--- old/bandwidth-1.9.3/Makefile-linux  2019-10-20 18:40:34.000000000 +0200
+++ new/bandwidth-1.9.4/Makefile-linux  2020-07-19 16:44:05.000000000 +0200
@@ -32,8 +32,8 @@
 bandwidth64: CPUCharacteristics.c Testing.c ${SRC} routines-x86-64bit.asm OOC64
        ${AS} -f elf64 utility-x86-64bit.asm -o utility-x86-64bit.o
        ${AS} -f elf64 routines-x86-64bit.asm -o routines-x86-64bit.o
-       ${CC} -m64 ${CFLAGS} -c -I ./OOC Testing.c
-       ${CC} -m64 ${CFLAGS} -c -I ./OOC CPUCharacteristics.c
+       ${CC} ${CFLAGS} -m64 -c -I ./OOC Testing.c
+       ${CC} ${CFLAGS} -m64 -c -I ./OOC CPUCharacteristics.c
        ${CC} ${CFLAGS} -m64 ${SRC} CPUCharacteristics.o Testing.o 
utility-x86-64bit.o routines-x86-64bit.o ${OOCLIB64} -lm -o bandwidth64 
 
 bandwidth32: CPUCharacteristics.c Testing.c ${SRC} routines-x86-32bit.asm OOC32
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bandwidth-1.9.3/Makefile-rpi 
new/bandwidth-1.9.4/Makefile-rpi
--- old/bandwidth-1.9.3/Makefile-rpi    2019-10-20 18:40:34.000000000 +0200
+++ new/bandwidth-1.9.4/Makefile-rpi    1970-01-01 01:00:00.000000000 +0100
@@ -1,42 +0,0 @@
-#============================================================================
-# bandwidth, a benchmark to estimate memory transfer bandwidth.
-# Copyright (C) 2005-2019 by Zack T Smith.
-#
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-#
-# The author may be reached at veri...@comcast.net.
-#============================================================================
-
-CFLAGS= -g -Wno-conditional-type-mismatch
-CC=gcc -Wall -I.
-SRC=main.c timing.c
-OBJ=main.o timing.o
-LIB= 
-AS=nasm
-ARM_AS=as
-ARM_CC=gcc
-
-bandwidth32: CPUCharacteristics.c Testing.c ${SRC} routines-arm-rpi-32bit.asm 
OOC32
-       ${ARM_AS} -march=armv7 -mfpu=neon routines-arm-rpi-32bit.asm 
-mcpu=xscale -o routines-arm-rpi-32bit.o
-       ${ARM_CC} ${CFLAGS} -c -I ./OOC Testing.c
-       ${ARM_CC} ${CFLAGS} -c -I ./OOC CPUCharacteristics.c
-       ${ARM_CC} routines-arm-rpi-32bit.o CPUCharacteristics.o Testing.o 
${SRC} ${CFLAGS} ${OOCLIB32} -lm -o bandwidth32
-
-bandwidth-arm32:  CPUCharacteristics.c Testing.c ${SRC} routines-arm-32bit.asm 
OOC32
-       ${ARM_AS} routines-arm-generic-32bit.asm -mcpu=xscale -o 
routines-arm-generic-32bit.o
-       ${ARM_CC} ${CFLAGS} -c -I ./OOC Testing.c
-       ${ARM_CC} ${CFLAGS} -c -I ./OOC CPUCharacteristics.c
-       ${ARM_CC} ${CFLAGS} routines-arm-generic-32bit.o CPUCharacteristics.o 
Testing.o ${SRC} ${CFLAGS} ${OOCLIB32} -lm -o bandwidth-arm32
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bandwidth-1.9.3/Makefile-rpi32 
new/bandwidth-1.9.4/Makefile-rpi32
--- old/bandwidth-1.9.3/Makefile-rpi32  1970-01-01 01:00:00.000000000 +0100
+++ new/bandwidth-1.9.4/Makefile-rpi32  2020-09-01 06:23:45.000000000 +0200
@@ -0,0 +1,42 @@
+#============================================================================
+# bandwidth, a benchmark to estimate memory transfer bandwidth.
+# Copyright (C) 2005-2019 by Zack T Smith.
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
+#
+# The author may be reached at 1...@zsmith.co.
+#============================================================================
+
+CFLAGS= -g -Wno-conditional-type-mismatch
+CC=gcc -Wall -I.
+SRC=main.c timing.c
+OBJ=main.o timing.o
+LIB= 
+AS=nasm
+ARM_AS=as
+ARM_CC=gcc
+
+bandwidth32: CPUCharacteristics.c Testing.c ${SRC} routines-arm-rpi-32bit.asm 
ARMOOC32
+       ${ARM_AS} -march=armv7 -mfpu=neon routines-arm-rpi-32bit.asm 
-mcpu=xscale -o routines-arm-rpi-32bit.o
+       ${ARM_CC} ${CFLAGS} -c -I ./OOC Testing.c
+       ${ARM_CC} ${CFLAGS} -c -I ./OOC CPUCharacteristics.c
+       ${ARM_CC} routines-arm-rpi-32bit.o CPUCharacteristics.o Testing.o 
${SRC} ${CFLAGS} ${OOCLIB32} -lm -o bandwidth32
+
+bandwidth-arm32:  CPUCharacteristics.c Testing.c ${SRC} routines-arm-32bit.asm 
ARMOOC32
+       ${ARM_AS} routines-arm-generic-32bit.asm -mcpu=xscale -o 
routines-arm-generic-32bit.o
+       ${ARM_CC} ${CFLAGS} -c -I ./OOC Testing.c
+       ${ARM_CC} ${CFLAGS} -c -I ./OOC CPUCharacteristics.c
+       ${ARM_CC} ${CFLAGS} routines-arm-generic-32bit.o CPUCharacteristics.o 
Testing.o ${SRC} ${CFLAGS} ${OOCLIB32} -lm -o bandwidth-arm32
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bandwidth-1.9.3/OOC/Image.c 
new/bandwidth-1.9.4/OOC/Image.c
--- old/bandwidth-1.9.3/OOC/Image.c     2019-10-20 18:40:36.000000000 +0200
+++ new/bandwidth-1.9.4/OOC/Image.c     2020-09-01 17:37:55.000000000 +0200
@@ -190,8 +190,11 @@
  *-------------------------------------------------------------------------*/
 int Image_writeBMP (Image* self, const char *path)
 {
+#define ONLY_USE_24BPP
+#ifdef ONLY_USE_24BPP
+       return Image_writeBMP24 (self, path);
+#else
        int i, j;
-
        if (!self || !path)
                return -1;
        verifyCorrectClasses(self,Image,MutableImage);
@@ -304,6 +307,7 @@
        free (bytes);
        fclose (f);
        return 1;
+#endif
 }
 
 ImageClass* ImageClass_prepare ()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bandwidth-1.9.3/OOC/Makefile 
new/bandwidth-1.9.4/OOC/Makefile
--- old/bandwidth-1.9.3/OOC/Makefile    2019-10-20 18:40:36.000000000 +0200
+++ new/bandwidth-1.9.4/OOC/Makefile    2020-09-01 06:24:56.000000000 +0200
@@ -15,13 +15,17 @@
 # Note: Mac 32-bit linking no longer supported on Mac OS as of 10.14.
 
 OOC64.a: ${OOC_SRC}
-       ${CC} -m64 ${CFLAGS} -c ${OOC_SRC}
+       ${CC} ${CFLAGS} -c ${OOC_SRC}
        ar rvs OOC64.a ${OOC_OBJ}
 
 OOC32.a: ${OOC_SRC}
        ${CC} -m32 ${CFLAGS} -c ${OOC_SRC}
        ar rvs OOC32.a ${OOC_OBJ}
 
+ARMOOC32: ${OOC_SRC}
+       ${CC} ${CFLAGS} -c ${OOC_SRC}
+       ar rvs OOC32.a ${OOC_OBJ}
+
 clean:
        rm -f ${OOC_OBJ} OOC32.a OOC64.a
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bandwidth-1.9.3/Testing.c 
new/bandwidth-1.9.4/Testing.c
--- old/bandwidth-1.9.3/Testing.c       2019-10-20 18:40:34.000000000 +0200
+++ new/bandwidth-1.9.4/Testing.c       2020-09-01 06:19:23.000000000 +0200
@@ -1,6 +1,6 @@
 /*============================================================================
   bandwidth, a benchmark to estimate memory transfer bandwidth.
-  Copyright (C) 2005-2019 by Zack T Smith.
+  Copyright (C) 2005-2020 by Zack T Smith.
 
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -406,6 +406,9 @@
        case AVX:
                $(console, print, "(256-bit), size = ");
                break;
+       case AVX512:
+               $(console, print, "(512-bit), size = ");
+               break;
        case AVX_BYPASS:
                 $(console, print, "bypassing cache (256-bit), size = ");
                break;
@@ -485,7 +488,9 @@
                
                case AVX512:
                        if (!random) {
+#ifdef IS_64BIT
                                ReaderAVX512 (chunk, size, loops);
+#endif
                        }
                        break;
 #endif
@@ -1151,7 +1156,7 @@
 
        int i;
        for (i=0; i<N_INC_INNER_LOOPS; i++) {
-               IncrementRegisters (N_INC_INNER_LOOPS);
+               //IncrementRegisters (N_INC_INNER_LOOPS);
        }
        time_t diff = mytime () - t0;
        if (diff > 0) {
@@ -1175,7 +1180,7 @@
        
        int i;
        for (i=0; i < N_INC_INNER_LOOPS; i++) {
-               IncrementStack (N_INC_INNER_LOOPS);
+               //IncrementStack (N_INC_INNER_LOOPS);
        }
        long diff = mytime () - t0;
        if (diff > 0) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bandwidth-1.9.3/defs.h new/bandwidth-1.9.4/defs.h
--- old/bandwidth-1.9.3/defs.h  2019-10-20 18:40:34.000000000 +0200
+++ new/bandwidth-1.9.4/defs.h  2020-09-01 06:28:14.000000000 +0200
@@ -1,6 +1,6 @@
 /*============================================================================
   bandwidth, a benchmark to estimate memory transfer bandwidth.
-  Copyright (C) 2005-2019 by Zack T Smith.
+  Copyright (C) 2005-2020 by Zack T Smith.
 
   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
@@ -60,7 +60,7 @@
 #ifndef _DEFS_H
 #define _DEFS_H
 
-#define RELEASE "1.9.3"
+#define RELEASE "1.9.4"
 
 #include <stdbool.h>
 #include <stdint.h>
@@ -75,6 +75,7 @@
 extern int Writer (void *ptr, unsigned long size, unsigned long loops, 
unsigned long value);
 extern int Writer_128bytes (void *ptr, unsigned long size, unsigned long 
loops, unsigned long value);
 extern int RandomWriter (void *ptr, unsigned long size, unsigned long loops, 
unsigned long value);
+extern int RandomWriterVector (void *ptr, unsigned long size, unsigned long 
loops, unsigned long value);
 
 extern int RegisterToRegister (unsigned long);
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bandwidth-1.9.3/main.c new/bandwidth-1.9.4/main.c
--- old/bandwidth-1.9.3/main.c  2019-10-20 18:40:34.000000000 +0200
+++ new/bandwidth-1.9.4/main.c  2020-09-01 07:22:55.000000000 +0200
@@ -417,6 +417,7 @@
        CPUCharacteristics *cpu = new(CPUCharacteristics);
        $(cpu, printCharacteristics);
        $(cpu, printCacheInfo);
+       $(console, newline);
 
        if (!cpu->has_sse41)
                use_sse4 = false;
@@ -428,7 +429,6 @@
        //
        char *sysInfo = $(cpu, getCPUString);
        if (strlen (sysInfo)) {
-               $(console, newline);
                $(console, printf, "System: %s\n", sysInfo);
                strcpy (graph_title, sysInfo);
        }
@@ -615,6 +615,7 @@
        //------------------------------------------------------------
        // AVX512 sequential reads.
        //
+#ifdef NOT_WORKING
        if (cpu->has_avx512) {
                dataBeginSection ( "Sequential 512-bit reads", RGB_TURQUOISE);
 
@@ -628,6 +629,7 @@
                        }
                }
        }
+#endif
 
        //------------------------------------------------------------
        // AVX random reads.
Binary files old/bandwidth-1.9.3/output/RaspberryPi3B-1.2GHz-32bit.bmp and 
new/bandwidth-1.9.4/output/RaspberryPi3B-1.2GHz-32bit.bmp differ
Binary files old/bandwidth-1.9.3/output/RaspberryPi3B-1.2GHz-Linux-32bit.bmp 
and new/bandwidth-1.9.4/output/RaspberryPi3B-1.2GHz-Linux-32bit.bmp differ
Binary files old/bandwidth-1.9.3/output/RaspberryPi4B-1.5GHz-Linux-32bit.bmp 
and new/bandwidth-1.9.4/output/RaspberryPi4B-1.5GHz-Linux-32bit.bmp differ
Binary files old/bandwidth-1.9.3/routines-arm-rpi-32bit.o and 
new/bandwidth-1.9.4/routines-arm-rpi-32bit.o differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/bandwidth-1.9.3/routines.h 
new/bandwidth-1.9.4/routines.h
--- old/bandwidth-1.9.3/routines.h      2019-10-20 18:40:34.000000000 +0200
+++ new/bandwidth-1.9.4/routines.h      2020-09-01 06:21:24.000000000 +0200
@@ -33,6 +33,13 @@
 extern int Writer_128bytes (void *ptr, unsigned long size, unsigned long 
loops, unsigned long value);
 extern int RandomWriter (void *ptr, unsigned long size, unsigned long loops, 
unsigned long value);
 
+#ifdef __arm__
+extern int ReaderVector (void *ptr, unsigned long size, unsigned long loops);
+extern int RandomReaderVector (void *ptr, unsigned long n_chunks, unsigned 
long loops);
+extern int WriterVector (void *ptr, unsigned long size, unsigned long loops, 
unsigned long value);
+extern int RandomWriterVector (void *ptr, unsigned long size, unsigned long 
loops, unsigned long value);
+#endif
+
 extern int RegisterToRegister (unsigned long);
 
 extern int StackReader (unsigned long);


Reply via email to