Skip to content

Commit

Permalink
base64 encoding: move files to subdirs
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMula committed Jan 11, 2016
1 parent 80604ca commit 9c99dcd
Show file tree
Hide file tree
Showing 16 changed files with 9 additions and 9 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions Makefile → encode/scalar/Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
run: speed
./speed

speed: speed.cpp encode.cpp gettime.cpp cmdline.cpp
speed: speed.cpp encode.cpp ../../gettime.cpp ../../cmdline.cpp
g++ -std=c++11 -O3 -Wall -pedantic speed.cpp -o speed

clean:
rm speed
rm -f speed
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions speed.cpp → encode/scalar/speed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#include <memory>

#include "encode.cpp"
#include "gettime.cpp"
#include "cmdline.cpp"
#include "../../gettime.cpp"
#include "../../cmdline.cpp"

class Application final {

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion lookup/Makefile → encode/sse/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ all: verify speed
verify: verify.cpp lookup.*.cpp
$(GCC) $(FLAGS) verify.cpp -o verify

speed: speed.cpp fnv32.cpp lookup.sse.cpp encode.*.cpp bmi2.cpp config.h
speed: speed.cpp lookup.sse.cpp encode.*.cpp config.h ../../fnv32.cpp ../../bmi2.cpp ../../gettime.cpp
$(GCC) $(FLAGS) -mssse3 speed.cpp -o speed

clean:
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion lookup/encode.sse.cpp → encode/sse/encode.sse.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include <x86intrin.h>

#include <cstdint>
#include "bmi2.cpp"
#include "../../bmi2.cpp"

namespace base64 {

Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions lookup/speed.cpp → encode/sse/speed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
#include <memory>

#include "config.h"
#include "../gettime.cpp"
#include "../cmdline.cpp"
#include "fnv32.cpp"
#include "../../gettime.cpp"
#include "../../cmdline.cpp"
#include "../../fnv32.cpp"

#include "encode.scalar.cpp"
#include "lookup.sse.cpp"
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 9c99dcd

Please sign in to comment.