mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-22 03:30:22 +02:00
Remove software floating-point ARMv7 support; ARMv7 test env
This commit is contained in:
parent
c0e9302e9f
commit
eaf702765d
3 changed files with 11 additions and 2647 deletions
2640
lightening/arm-swf.c
2640
lightening/arm-swf.c
File diff suppressed because it is too large
Load diff
|
@ -98,7 +98,6 @@ extern void __clear_cache(void *, void *);
|
||||||
#define PROTO 1
|
#define PROTO 1
|
||||||
# include "rewind.c"
|
# include "rewind.c"
|
||||||
# include "arm-cpu.c"
|
# include "arm-cpu.c"
|
||||||
# include "arm-swf.c"
|
|
||||||
# include "arm-vfp.c"
|
# include "arm-vfp.c"
|
||||||
#undef PROTO
|
#undef PROTO
|
||||||
|
|
||||||
|
@ -2007,8 +2006,7 @@ _emit_code(jit_state_t *_jit)
|
||||||
#define CODE 1
|
#define CODE 1
|
||||||
# include "rewind.c"
|
# include "rewind.c"
|
||||||
# include "arm-cpu.c"
|
# include "arm-cpu.c"
|
||||||
# include "arm-swf.c"
|
# include "arm-vfp.c"
|
||||||
# include ", 2018arm-vfp.c"
|
|
||||||
#undef CODE
|
#undef CODE
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
TESTS=$(sort $(basename $(wildcard *.c)))
|
TESTS=$(sort $(basename $(wildcard *.c)))
|
||||||
TARGETS=native ia32 aarch64
|
TARGETS=native ia32 aarch64
|
||||||
|
ALL_TARGETS=$(TARGETS) armv7
|
||||||
|
|
||||||
# Suitable values of cross-compiler variables for Debian:
|
# Suitable values of cross-compiler variables for Debian:
|
||||||
#
|
#
|
||||||
|
@ -19,6 +20,7 @@ TARGETS=native ia32 aarch64
|
||||||
CC = gcc
|
CC = gcc
|
||||||
CC_IA32=guix environment --pure -s i686-linux --ad-hoc gcc-toolchain glibc -- gcc
|
CC_IA32=guix environment --pure -s i686-linux --ad-hoc gcc-toolchain glibc -- gcc
|
||||||
CC_AARCH64=guix environment --pure -s aarch64-linux --ad-hoc gcc-toolchain glibc -- gcc
|
CC_AARCH64=guix environment --pure -s aarch64-linux --ad-hoc gcc-toolchain glibc -- gcc
|
||||||
|
CC_ARMv7=guix environment --pure -s armhf-linux --ad-hoc gcc-toolchain glibc -- gcc
|
||||||
CFLAGS = -Wall -O0 -g
|
CFLAGS = -Wall -O0 -g
|
||||||
|
|
||||||
all: $(foreach TARGET,$(TARGETS),$(addprefix test-$(TARGET)-,$(TESTS)))
|
all: $(foreach TARGET,$(TARGETS),$(addprefix test-$(TARGET)-,$(TESTS)))
|
||||||
|
@ -49,9 +51,13 @@ test-aarch64-%: CC = $(CC_AARCH64)
|
||||||
test-aarch64-%: %.c lightening-aarch64.o test.h
|
test-aarch64-%: %.c lightening-aarch64.o test.h
|
||||||
$(CC) $(CFLAGS) $(CPPFLAGS) -I.. -o $@ lightening-aarch64.o $<
|
$(CC) $(CFLAGS) $(CPPFLAGS) -I.. -o $@ lightening-aarch64.o $<
|
||||||
|
|
||||||
.PRECIOUS: $(foreach TARGET,$(TARGETS),$(addprefix test-$(TARGET)-,$(TESTS)))
|
test-armv7-%: CC = $(CC_ARMv7)
|
||||||
.PRECIOUS: $(foreach TARGET,$(TARGETS),lightening-$(TARGET).o)
|
test-armv7-%: %.c lightening-armv7.o test.h
|
||||||
|
$(CC) $(CFLAGS) $(CPPFLAGS) -I.. -o $@ lightening-armv7.o $<
|
||||||
|
|
||||||
|
.PRECIOUS: $(foreach TARGET,$(ALL_TARGETS),$(addprefix test-$(TARGET)-,$(TESTS)))
|
||||||
|
.PRECIOUS: $(foreach TARGET,$(ALL_TARGETS),lightening-$(TARGET).o)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(foreach TARGET,$(TARGETS),$(addprefix test-$(TARGET)-,$(TESTS)))
|
rm -f $(foreach TARGET,$(ALL_TARGETS),$(addprefix test-$(TARGET)-,$(TESTS)))
|
||||||
rm -f $(foreach TARGET,$(TARGETS),lightening-$(TARGET).o)
|
rm -f $(foreach TARGET,$(ALL_TARGETS),lightening-$(TARGET).o)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue