mirror of
https://github.com/ioquake/ioq3.git
synced 2024-11-10 07:11:46 +00:00
a VM for ARMv7l
This commit is contained in:
parent
4f5ebf8349
commit
6214f73af5
2 changed files with 1220 additions and 0 deletions
10
Makefile
10
Makefile
|
@ -360,6 +360,9 @@ ifneq (,$(findstring "$(PLATFORM)", "linux" "gnu_kfreebsd" "kfreebsd-gnu"))
|
|||
OPTIMIZEVM += -mtune=ultrasparc3 -mv8plus
|
||||
HAVE_VM_COMPILED=true
|
||||
endif
|
||||
ifeq ($(ARCH),armv7l)
|
||||
HAVE_VM_COMPILED=true
|
||||
endif
|
||||
ifeq ($(ARCH),alpha)
|
||||
# According to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=410555
|
||||
# -ffast-math will cause the client to die with SIGFPE on Alpha
|
||||
|
@ -1284,6 +1287,7 @@ targets: makedirs
|
|||
@echo " VERSION: $(VERSION)"
|
||||
@echo " COMPILE_PLATFORM: $(COMPILE_PLATFORM)"
|
||||
@echo " COMPILE_ARCH: $(COMPILE_ARCH)"
|
||||
@echo " HAVE_VM_COMPILED: $(HAVE_VM_COMPILED)"
|
||||
@echo " CC: $(CC)"
|
||||
ifeq ($(PLATFORM),mingw32)
|
||||
@echo " WINDRES: $(WINDRES)"
|
||||
|
@ -2082,6 +2086,9 @@ ifeq ($(HAVE_VM_COMPILED),true)
|
|||
ifeq ($(ARCH),sparc)
|
||||
Q3OBJ += $(B)/client/vm_sparc.o
|
||||
endif
|
||||
ifeq ($(ARCH),armv7l)
|
||||
Q3OBJ += $(B)/client/vm_armv7l.o
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(PLATFORM),mingw32)
|
||||
|
@ -2250,6 +2257,9 @@ ifeq ($(HAVE_VM_COMPILED),true)
|
|||
ifeq ($(ARCH),sparc)
|
||||
Q3DOBJ += $(B)/ded/vm_sparc.o
|
||||
endif
|
||||
ifeq ($(ARCH),armv7l)
|
||||
Q3DOBJ += $(B)/client/vm_armv7l.o
|
||||
endif
|
||||
endif
|
||||
|
||||
ifeq ($(PLATFORM),mingw32)
|
||||
|
|
1210
code/qcommon/vm_armv7l.c
Normal file
1210
code/qcommon/vm_armv7l.c
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue