Skip to content

Commit

Permalink
refactor: Use memcpy for type punning
Browse files Browse the repository at this point in the history
  • Loading branch information
howjmay committed Jul 9, 2024
1 parent 9e87730 commit f8a8865
Show file tree
Hide file tree
Showing 4 changed files with 398 additions and 412 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ ARCH_CFLAGS := $(ARCH_CFLAGS)+$(subst $(COMMA),+,$(FEATURE))
endif
endif

CXXFLAGS += -Wall -Wcast-qual -I. $(ARCH_CFLAGS) -std=gnu++14
CXXFLAGS += -Wall -Wcast-qual -I. $(ARCH_CFLAGS) -O3 -std=gnu++14
LDFLAGS += -lm
OBJS = \
tests/binding.o \
Expand All @@ -77,7 +77,7 @@ $(EXEC): $(OBJS)

check: tests/main
ifeq ($(processor),$(filter $(processor),aarch64 arm64 arm armv7l))
$(CC) $(ARCH_CFLAGS) -c sse2neon.h
$(CC) $(ARCH_CFLAGS) -c -O3 sse2neon.h
endif
$(EXEC_WRAPPER) $^

Expand Down
Loading

0 comments on commit f8a8865

Please sign in to comment.