Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
herumi committed Sep 2, 2024
2 parents 2d0d9cb + d0bf5ef commit 1c98cc5
Show file tree
Hide file tree
Showing 10 changed files with 2,528 additions and 871 deletions.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,11 @@ ifeq ($(ASM_SUF),S)
else
python3 src/gen_bint_x64.py -win > $@
endif
update_bint_x64_asm:
python3 src/gen_bint_x64.py -win -m masm > src/asm/bint-x64-win.asm
python3 src/gen_bint_x64.py -m gas > src/asm/bint-x64-amd64.S
python3 src/gen_bint_x64.py -m gas -win > src/asm/bint-x64-mingw.S

$(BINT_SRC): src/bint$(BIT).ll
$(CLANG) -S $< -o $@ -no-integrated-as -fpic -O2 -DNDEBUG -Wall -Wextra $(CFLAGS) $(CFLAGS_USER)
#$(BINT_OBJ): $(BINT_SRC)
Expand Down Expand Up @@ -524,7 +529,7 @@ install: lib/libmcl.a lib/libmcl.$(LIB_SUF)
$(MKDIR) $(PREFIX)/lib
cp -a lib/libmcl.a lib/libmcl.$(LIB_SUF) $(PREFIX)/lib/

.PHONY: test she-wasm bin/emu android
.PHONY: test she-wasm bin/emu android update_bint_x64_asm

# don't remove these files automatically
.SECONDARY: $(addprefix $(OBJ_DIR)/, $(ALL_SRC:.cpp=.o))
Expand Down
2 changes: 1 addition & 1 deletion common.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GCC_VER=$(shell $(PRE)$(CC) -dumpversion)
UNAME_S=$(shell uname -s)
UNAME_S?=$(shell uname -s)
ARCH?=$(shell uname -m)
NASM_ELF_OPT=-felf64
ifeq ($(UNAME_S),Linux)
Expand Down
2 changes: 1 addition & 1 deletion include/mcl/op.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

namespace mcl {

static const int version = 0x196; /* 0xABC = A.BC */
static const int version = 0x197; /* 0xABC = A.BC */

/*
specifies available string format mode for X::setIoMode()
Expand Down
Loading

0 comments on commit 1c98cc5

Please sign in to comment.