Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Thu, 02 Feb 2012 10:05:19 +0100
From: magnum <>
Subject: build experiment

This may be a silly question and it might even be off topic: Why is it
that if I compile everything in one line, like this...

rm *.o
ln -fs x86-64.h arch.h
make fmt_registers.h
make fmt_externs.h
gcc -o ../run/john -s -Wall -O2 -fomit-frame-pointer
-I/usr/local/include -DHAVE_CRYPT x86-64.S "LOTS OF FILES.c"
-L/usr/local/lib -L/usr/local/ssl/lib -lcrypto -lssl -lm -lz -lcrypt

(replace "LOTS OF FILES.c" with most of *.c) works just fine but I get really poor figures for intrinsics

Benchmarking: Raw MD5 [SSE2i 12x]... DONE
Raw:	9154K c/s real, 9154K c/s virtual

This is less than half normal speed (formats that do not use
sse-intrinsics.c performs normally). Btw the binary is 911K instead of
1.2M for linux-x86-64.

I'm just tring to understand how things go together.


Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.