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 b1b0833
Show file tree
Hide file tree
Showing 4 changed files with 376 additions and 416 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 b1b0833

Please sign in to comment.