aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Makefile2
-rw-r--r--src/gen/point.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index 4818f3c..5065685 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -19,7 +19,7 @@ else ifeq ($(TEST), 1)
CFLAGS += -DNDEBUG --coverage -g -O0
else ifeq ($(FAST), 1)
ifeq ($(CC), gcc)
- CFLAGS += -DNDEBUG -O3 -march=native -pipe
+ CFLAGS += -DNDEBUG -O3 -march=native -mtune=native -pipe
else
CFLAGS += -DNDEBUG -O3
endif
diff --git a/src/gen/point.c b/src/gen/point.c
index d98edac..4f1c624 100644
--- a/src/gen/point.c
+++ b/src/gen/point.c
@@ -117,10 +117,8 @@ GENERATOR(points_gen_trial) {
} else {
vec_append(orders_per_gen[i], num);
}
- break;
}
}
- debug_log("Should not happen.");
}
for (size_t i = 0; i < curve->ngens; ++i) {