Commit 1ce4e8c7 authored by Carsten Schlote's avatar Carsten Schlote
Browse files

Cleanups

parent c02ec6ca
DC = ldc2
DFLAGS = -g -release -betterC -Oz -vgc
## "-disable-loop-vectorization", -disable-slp-vectorization
CC = clang
CFLAGS = -g -Os -Wall
CFLAGS = -g -Os -Wall
## -fslp-vectorize -fvectorize -mprefer-vector-width=8
OBJS = plain_c.o betterc.o d_stub.o
DISASM = $(OBJS:%.o=%.asm)
......
......@@ -15,10 +15,10 @@ void main()
callEmptyFunctions( 100_000_000 );
/* Fill and Sum Array */
fillAndSumArray( 10_000);
fillAndSumArray( 100_000);
/* Fill array with fibbonaci sequence */
fillFibbArray( 10_000 );
fillFibbArray( 100_000 );
/* Test bitfield ops */
testBitFields( 100_000 );
......@@ -73,9 +73,9 @@ auto pairedBenchmark(ArgT, string str, fun...)(ArgT[] args, uint n)
/** Call empty stub functions in different languages */
void callEmptyFunctions(int loops)
{ stdout.flush;
{
writeln( "Benchmark call-outs to empty function stubs");
auto r1 = pairedBenchmark!(
function void() { c_emptystub(); },
function void() { d_emptystub(); }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment