diff options
author | Eric Biederman <ebiederm@xmission.com> | 2003-06-28 06:49:45 +0000 |
---|---|---|
committer | Eric Biederman <ebiederm@xmission.com> | 2003-06-28 06:49:45 +0000 |
commit | d1ea53995ca8c385db79174d9b2fa133fd52b0aa (patch) | |
tree | a2c40289914c50d0f7409ddf90c9a6c3b2485447 /util/romcc/Makefile | |
parent | db59928fd93080e5376e45f7dcf7ddee0262e336 (diff) | |
download | coreboot-d1ea53995ca8c385db79174d9b2fa133fd52b0aa.tar.xz |
- Update romcc so that it more successfully spills registers to the xmm registers
- Add several more test cases.
- Bump the version number to .32
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@919 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/romcc/Makefile')
-rw-r--r-- | util/romcc/Makefile | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/util/romcc/Makefile b/util/romcc/Makefile index 24c146d025..c6b654eb4c 100644 --- a/util/romcc/Makefile +++ b/util/romcc/Makefile @@ -1,5 +1,5 @@ -VERSION:=0.31 -RELEASE_DATE:=25 June 2003 +VERSION:=0.32 +RELEASE_DATE:=28 June 2003 PACKAGE:=romcc @@ -59,18 +59,36 @@ TESTS=\ simple_test37.c \ simple_test38.c \ simple_test39.c \ + simple_test40.c \ + simple_test41.c \ + simple_test42.c \ + simple_test43.c \ + simple_test44.c \ + simple_test45.c \ + simple_test46.c \ + simple_test47.c \ raminit_test.c \ raminit_test2.c \ raminit_test3.c \ raminit_test4.c +FAIL_TESTS = \ + fail_test1.c + TEST_SRCS:=$(patsubst %, tests/%, $(TESTS)) TEST_ASM:=$(patsubst %.c, tests/%.S, $(TESTS)) TEST_OBJ:=$(patsubst %.c, tests/%.o, $(TESTS)) TEST_ELF:=$(patsubst %.c, tests/%.elf, $(TESTS)) +FAIL_SRCS:=$(patsubst %, tests/%, $(FAIL_TESTS)) +FAIL_OUT:=$(patsubst %.c, tests/%.out, $(FAIL_TESTS)) + + $(TEST_ASM): %.S: %.c romcc - export ALLOC_CHECK_=2; ./romcc -O -o $@ $< > $*.debug + export ALLOC_CHECK_=2; ./romcc -mcpu=k8 -O -o $@ $< > $*.debug + +$(FAIL_OUT): %.out: %.c romcc + export ALLOC_CHECK_=2; if ./romcc -O -o $*.S $< > $*.debug 2> $@ ; then exit 1 ; else exit 0 ; fi $(TEST_OBJ): %.o: %.S as $< -o $@ @@ -85,7 +103,10 @@ echo: echo "TEST_ASM=$(TEST_ASM)" echo "TEST_OBJ=$(TEST_OBJ)" echo "TEST_ELF=$(TEST_ELF)" + echo "" + echo "FAIL_SRCS=$(FAIL_SRCS)" + echo "FAIL_ASM=$(FAIL_ASM)" clean: - rm -f romcc romcc_pg core $(TEST_ASM) $(TEST_OBJ) $(TEST_ELF) tests/*.debug tests/*.debug2 tests/*.gmon.out + rm -f romcc romcc_pg core $(TEST_ASM) $(TEST_OBJ) $(TEST_ELF) tests/*.debug tests/*.debug2 tests/*.gmon.out tests/*.out |