diff options
author | Matt Turner <mattst88@gmail.com> | 2008-11-11 23:17:11 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2008-11-11 23:17:11 +0000 |
commit | 974755deb9bbea37752d2202844a1f485e59c8e7 (patch) | |
tree | 6035e96dab509aba4f535fba25a9c58a29045ad3 | |
parent | 4400334ffbffba2462d7e049c79907ff0b148a52 (diff) |
-- Rename misc.c randnum.c
-- Delete misc.h
git-svn-id: svn://mattst88.com/svn/cleanbench/trunk@8 0d43b9a7-5ab2-4d7b-af9d-f64450cef757
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | misc.h | 41 | ||||
-rw-r--r-- | randnum.c (renamed from misc.c) | 0 |
3 files changed, 4 insertions, 45 deletions
@@ -122,8 +122,8 @@ nbench0.o: nbench0.h nbench0.c nmglobal.h hardware.h Makefile sysinfo.c sysinfoc emfloat.o: emfloat.h emfloat.c nmglobal.h Makefile $(CCC) $(DEFINES) $(CCCFLAGS) -c emfloat.c -misc.o: misc.c Makefile - $(CCC) $(DEFINES) $(CCCFLAGS) -c misc.c +randnum.o: randnum.c Makefile + $(CCC) $(DEFINES) $(CCCFLAGS) -c randnum.c numsort.o: numsort.c $(CCC) $(DEFINES) $(CCCFLAGS) -c numsort.c @@ -183,8 +183,8 @@ linear.o: linear.c sysspec.o: sysspec.h sysspec.c nmglobal.h Makefile $(GCC) $(DEFINES) $(GCCFLAGS) -c sysspec.c -nbench: emfloat.o misc.o nbench0.o numsort.o sysspec.o hardware.o stringsort.o bitfield.o fpemulation.o fourier.o assignment.o idea.o huffman.o neural.o linear.o - $(GCC) emfloat.o misc.o nbench0.o numsort.o sysspec.o hardware.o stringsort.o bitfield.o fpemulation.o fourier.o assignment.o idea.o huffman.o neural.o linear.o -o nbench -lm +nbench: emfloat.o randnum.o nbench0.o numsort.o sysspec.o hardware.o stringsort.o bitfield.o fpemulation.o fourier.o assignment.o idea.o huffman.o neural.o linear.o + $(GCC) emfloat.o randnum.o nbench0.o numsort.o sysspec.o hardware.o stringsort.o bitfield.o fpemulation.o fourier.o assignment.o idea.o huffman.o neural.o linear.o -o nbench -lm ########################################################################## @@ -1,41 +0,0 @@ -/* -** misc.h -** Header for misc.c -** BYTEmark (tm) -** BYTE's Native Mode Benchmarks -** Rick Grehan, BYTE Magazine -** -** Creation: -** Revision: 3/95 -** -** DISCLAIMER -** The source, executable, and documentation files that comprise -** the BYTEmark benchmarks are made available on an "as is" basis. -** This means that we at BYTE Magazine have made every reasonable -** effort to verify that the there are no errors in the source and -** executable code. We cannot, however, guarantee that the programs -** are error-free. Consequently, McGraw-HIll and BYTE Magazine make -** no claims in regard to the fitness of the source code, executable -** code, and documentation of the BYTEmark. -** Furthermore, BYTE Magazine, McGraw-Hill, and all employees -** of McGraw-Hill cannot be held responsible for any damages resulting -** from the use of this code or the results obtained from using -** this code. -*/ - -/************************ -** FUNCTION PROTOTYPES ** -************************/ - -/* -long randwc(long num); -unsigned long abs_randwc(unsigned long num); -long randnum(long lngval); -*/ - -#include "nmglobal.h" -int32_t randwc(int32_t num); -uint32_t abs_randwc(uint32_t num); -int32_t randnum(int32_t lngval); - - |