Skip to content

Commit

Permalink
Fix a bug where float binaries weren't generated
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian "DragonLord" Wong authored and Brian "DragonLord" Wong committed Jan 29, 2015
1 parent 6157036 commit 3833f03
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
all: int16 int32 int64 short double longdouble
all: int16 int32 int64 float double longdouble

# Variables
ADVANCE = 1.2589
Expand All @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions hi64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 3833f03

Please sign in to comment.