From 3833f032a31238bed01e808a070e4f53c72b2388 Mon Sep 17 00:00:00 2001 From: "Brian \"DragonLord\" Wong" Date: Wed, 28 Jan 2015 19:43:44 -0500 Subject: [PATCH] Fix a bug where float binaries weren't generated --- CHANGES.md | 5 +++++ Makefile | 6 +++--- hi64.c | 6 +++--- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 818edc7..c6338d2 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -34,3 +34,8 @@ two trials past the limit. - Fixed a bug affecting the filename string buffer limiting the filename to 80 characters rather than the intended 160. + +## 0.3.3 (January 29, 2015) + + - Fixed a bug in the Makefile that resulted in binaries not being generated for + single-precision floating-point computations. diff --git a/Makefile b/Makefile index a89a6fc..697f7e1 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -all: int16 int32 int64 short double longdouble +all: int16 int32 int64 float double longdouble # Variables ADVANCE = 1.2589 @@ -17,8 +17,8 @@ int32: gcc -O1 -funroll-loops -march=native -DDSIZE=int32_t -DISIZE=uint64_t $(PARAMETERS) -o hi64-int32 hi64.c hkernel.c int64: gcc -O1 -funroll-loops -march=native -DDSIZE=int64_t -DISIZE=uint64_t $(PARAMETERS) -o hi64-int64 hi64.c hkernel.c -short: - gcc -O1 -funroll-loops -march=native -DDSIZE=short -DISIZE=uint64_t $(PARAMETERS) -o hi64-short hi64.c hkernel.c +float: + gcc -O1 -funroll-loops -march=native -DDSIZE=float -DISIZE=uint64_t $(PARAMETERS) -o hi64-float hi64.c hkernel.c double: gcc -O1 -funroll-loops -march=native -DDSIZE=double -DISIZE=uint64_t $(PARAMETERS) -o hi64-double hi64.c hkernel.c longdouble: diff --git a/hi64.c b/hi64.c index 8da415a..11d5f22 100644 --- a/hi64.c +++ b/hi64.c @@ -77,15 +77,15 @@ int main(int argc, char *argv[]) char* suffix; /* Suffix for data.suffix directory */ - printf("\nHI64 System Benchmark, Version 0.3.2"); - printf(" (December 28, 2014)\n"); + printf("\nHI64 System Benchmark, Version 0.3.3"); + printf(" (January 29, 2015)\n"); printf("Derived from HINT originally developed by"); printf(" John L. Gustafson & Quinn O. Snell,\n"); printf("Scalable Computing Laboratory, Iowa State University\n\n"); printf("Portions Copyright (C) 1994"); printf(" Iowa State University Research Foundation, Inc.\n"); printf("Portions Copyright (C) 2003 Moritz Franosch\n"); - printf("Portions Copyright (C) 2014 Brian \"DragonLord\" Wong\n\n"); + printf("Portions Copyright (C) 2014-2015 Brian \"DragonLord\" Wong\n\n"); printf("This program is licensed under the GNU GPL; see COPYING.txt.\n"); printf("NO WARRANTY OF ANY KIND IS PROVIDED, including any implied"); printf(" warranty of\nmerchantability or fitness for a particular");