URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk/gnu-old/gdb-7.1/sim/testsuite/frv-elf
- from Rev 816 to Rev 834
- ↔ Reverse comparison
Rev 816 → Rev 834
/configure
File deleted
configure
Property changes :
Deleted: svn:executable
## -1 +0,0 ##
-*
\ No newline at end of property
Index: Makefile.in
===================================================================
--- Makefile.in (revision 816)
+++ Makefile.in (nonexistent)
@@ -1,158 +0,0 @@
-# Makefile for regression testing the frv simulator.
-# Copyright (C) 1998, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
-
-# This file is part of GDB.
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program. If not, see .
-
-VPATH = @srcdir@
-srcdir = @srcdir@
-srcroot = $(srcdir)/../../..
-
-prefix = @prefix@
-exec_prefix = @exec_prefix@
-
-host_alias = @host_alias@
-target_alias = @target_alias@
-program_transform_name = @program_transform_name@
-build_canonical = @build@
-host_canonical = @host@
-target_canonical = @target@
-target_cpu = @target_cpu@
-
-
-SHELL = @SHELL@
-SUBDIRS = @subdirs@
-RPATH_ENVVAR = @RPATH_ENVVAR@
-
-EXPECT = `if [ -f ../../../expect/expect ] ; then \
- echo ../../../expect/expect ; \
- else echo expect ; fi`
-
-RUNTEST = $(RUNTEST_FOR_TARGET)
-
-RUNTESTFLAGS =
-
-RUNTEST_FOR_TARGET = `\
- if [ -f $${srcroot}/dejagnu/runtest ]; then \
- echo $${srcroot}/dejagnu/runtest; \
- else \
- if [ "$(host_canonical)" = "$(target_canonical)" ]; then \
- echo runtest; \
- else \
- t='$(program_transform_name)'; echo runtest | sed -e '' $$t; \
- fi; \
- fi`
-
-
-AS_FOR_TARGET = `\
- if [ -x ../../../gas/as-new ]; then \
- echo ../../../gas/as-new ; \
- else \
- echo $(target_alias)-as ; \
- fi`
-
-LD_FOR_TARGET = `\
- if [ -x ../../../ld/ld-new ]; then \
- echo ../../../ld/ld-new ; \
- else \
- echo $(target_alias)-ld ; \
- fi`
-
-RUN_FOR_TARGET = `\
- if [ -x ../../../sim/${target_cpu}/run ]; then \
- echo ../../../sim/${target_cpu}/run ; \
- else \
- echo $(target_alias)-run ; \
- fi`
-
-TESTS = \
- exit47.ko \
- grloop.ok \
- hello.ok
-
-
-check: sanity $(TESTS)
-sanity:
- @eval echo AS_FOR_TARGET = $(AS_FOR_TARGET)
- @eval echo LD_FOR_TARGET = $(LD_FOR_TARGET)
- @eval echo RUN_FOR_TARGET = $(RUN_FOR_TARGET)
-
-
-
-# Rules for running all the tests, put into three types
-# exit success, exit fail, print "Hello World"
-
-.u.log:
- uudecode $*.u
- $(RUN_FOR_TARGET) $* > $*.log
-
-
-# Rules for running the tests
-
-.SUFFIXES: .u .ok .run .hi .ko
-.run.ok:
- rm -f tmp-$* $*.hi
- ulimit -t 5 ; $(RUN_FOR_TARGET) $*.run > tmp-$*
- mv tmp-$* $*.ok
-.run.hi:
- rm -f tmp-$* $*.hi diff-$*
- ulimit -t 5 ; $(RUN_FOR_TARGET) $*.run > tmp-$*
- echo "Hello World" | diff - tmp-$* > diff-$*
- cat tmp-$* diff-$* > $*.hi
-.run.ko:
- rm -f tmp-$* $*.ko
- set +e ; \
- ulimit -t 5 ; $(RUN_FOR_TARGET) $*.run > tmp-$* ; \
- if [ $$? -eq 47 ] ; then \
- exit 0 ; \
- else \
- exit 1 ; \
- fi
- mv tmp-$* $*.ko
-
-
-# Rules for building all the tests and packing them into
-# uuencoded files.
-
-uuencode: em-pstr.u em-e0.u em-e47.u em-pchr.u
-
-.SUFFIXES: .u .s .run
-.s.u:
- rm -f $*.o $*.run
- $(AS_FOR_TARGET) $(srcdir)/$*.s -o $*.o
- $(LD_FOR_TARGET) -o $* $*.o
- uuencode < $* $* > $*.u
- rm -f $*.o $*
-.s.run:
- rm -f $*.o $*.run
- $(AS_FOR_TARGET) $(srcdir)/$*.s -o $*.o
- $(LD_FOR_TARGET) -o $*.run $*.o
- rm -f $*.o $*
-
-
-clean mostlyclean:
- rm -f *~ core *.o a.out
- rm -f $(TESTS)
-
-distclean maintainer-clean realclean: clean
- rm -f *~ core
- rm -f Makefile config.status *-init.exp
- rm -fr *.log summary detail *.plog *.sum *.psum site.*
-
-Makefile : Makefile.in config.status
- $(SHELL) config.status
-
-config.status: configure
- $(SHELL) config.status --recheck
Index: configure.ac
===================================================================
--- configure.ac (revision 816)
+++ configure.ac (nonexistent)
@@ -1,19 +0,0 @@
-dnl Process this file file with autoconf to produce a configure script.
-dnl This file is a shell script fragment that supplies the information
-dnl necessary to tailor a template configure script into the configure
-dnl script appropriate for this directory. For more information, check
-dnl any existing configure script.
-
-AC_PREREQ(2.59)
-dnl FIXME - think of a truly uniq file to this directory
-AC_INIT(Makefile.in)
-
-CC=${CC-cc}
-AC_SUBST(CC)
-AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../../..)
-AC_CANONICAL_SYSTEM
-
-AC_SUBST(target_cpu)
-
-
-AC_OUTPUT(Makefile)
configure.ac
Property changes :
Deleted: svn:eol-style
## -1 +0,0 ##
-native
\ No newline at end of property
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
Index: grloop.s
===================================================================
--- grloop.s (revision 816)
+++ grloop.s (nonexistent)
@@ -1,10 +0,0 @@
- .global _start
-_start:
- setlo 0x0400,gr10
-loop:
- addicc gr10,-1,gr10,icc0
- bne icc0,0,loop
-; exit (0)
- setlos #0,gr8
- setlos #1,gr7
- tira gr0,#0
grloop.s
Property changes :
Deleted: svn:eol-style
## -1 +0,0 ##
-native
\ No newline at end of property
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
Index: cache.s
===================================================================
--- cache.s (revision 816)
+++ cache.s (nonexistent)
@@ -1,164 +0,0 @@
-# run with --memory-region 0xff000000,4 --memory-region 0xfe000000,00404000
-; Exit with return code
- .macro exit rc
- setlos.p #1,gr7
- setlos \rc,gr8
- tira gr0,#0
- .endm
-
-; Pass the test case
- .macro pass
-pass:
- setlos.p #5,gr10
- setlos #1,gr8
- setlos #5,gr7
- sethi.p %hi(passmsg),gr9
- setlo %lo(passmsg),gr9
- tira gr0,#0
- exit #0
- .endm
-
-; Fail the testcase
- .macro fail
-fail\@:
- setlos.p #5,gr10
- setlos #1,gr8
- setlos #5,gr7
- sethi.p %hi(failmsg),gr9
- setlo %lo(failmsg),gr9
- tira gr0,#0
- exit #1
- .endm
-
- .data
-failmsg:
- .ascii "fail\n"
-passmsg:
- .ascii "pass\n"
-
- .text
- .global _start
-_start:
- movsg hsr0,gr10 ; enable insn and data caches
- sethi.p 0xc800,gr11 ; in copy-back mode
- setlo 0x0000,gr11
- or gr10,gr11,gr10
- movgs gr10,hsr0
-
- sethi.p 0x7,sp
- setlo 0x0000,sp
-
- ; fill the cache
- sethi.p %hi(done1),gr10
- setlo %lo(done1),gr10
- movgs gr10,lr
- setlos.p 0x1000,gr10
- setlos 0x0,gr11
- movgs gr10,lcr
-write1: st.p gr11,@(sp,gr11)
- addi.p gr11,4,gr11
- bctrlr.p 1,0
- bra write1
-done1:
- ; read it back
- sethi.p %hi(done2),gr10
- setlo %lo(done2),gr10
- movgs gr10,lr
- setlos.p 0x1000,gr10
- setlos 0x0,gr11
- movgs gr10,lcr
-read1: ld @(sp,gr11),gr12
- cmp gr11,gr12,icc0
- bne icc0,1,fail
- addi.p gr11,4,gr11
- bctrlr.p 1,0
- bra read1
-done2:
-
- ; fill the cache twice
- sethi.p %hi(done3),gr10
- setlo %lo(done3),gr10
- movgs gr10,lr
- setlos.p 0x2000,gr10
- setlos 0x0,gr11
- movgs gr10,lcr
-write3: st.p gr11,@(sp,gr11)
- addi.p gr11,4,gr11
- bctrlr.p 1,0
- bra write3
-done3:
- ; read it back
- sethi.p %hi(done4),gr10
- setlo %lo(done4),gr10
- movgs gr10,lr
- setlos.p 0x2000,gr10
- setlos 0x0,gr11
- movgs gr10,lcr
-read4: ld @(sp,gr11),gr12
- cmp gr11,gr12,icc0
- bne icc0,1,fail
- addi.p gr11,4,gr11
- bctrlr.p 1,0
- bra read4
-done4:
- ; read it back in reverse
- sethi.p %hi(done5),gr10
- setlo %lo(done5),gr10
- movgs gr10,lr
- setlos.p 0x2000,gr10
- setlos 0x7ffc,gr11
- movgs gr10,lcr
-read5: ld @(sp,gr11),gr12
- cmp gr11,gr12,icc0
- bne icc0,1,fail
- subi.p gr11,4,gr11
- bctrlr.p 1,0
- bra read5
-done5:
-
- ; access data and insns in non-cache areas
- sethi.p 0x8038,gr11 ; bctrlr 0,0
- setlo 0x2000,gr11
-
- sethi.p 0xff00,gr10 ; documented area
- setlo 0x0000,gr10
- sti gr11,@(gr10,0)
- jmpl @(gr10,gr0)
-
- ; enable RAM mode
- movsg hsr0,gr10
- sethi.p 0x0040,gr12
- setlo 0x0000,gr12
- or gr10,gr12,gr10
- movgs gr10,hsr0
-
- sethi.p 0xfe00,gr10 ; documented area
- setlo 0x0400,gr10
- sti gr11,@(gr10,0)
- jmpl @(gr10,gr0)
-
- sethi.p 0xfe40,gr10 ; documented area
- setlo 0x0400,gr10
- sti gr11,@(gr10,0)
- dcf @(gr10,gr0)
- jmpl @(gr10,gr0)
-
- sethi.p 0x0007,gr10 ; non RAM area
- setlo 0x0000,gr10
- sti gr11,@(gr10,0)
- jmpl @(gr10,gr0)
-
- sethi.p 0xfe00,gr10 ; insn RAM area
- setlo 0x0000,gr10
- sti gr11,@(gr10,0)
- jmpl @(gr10,gr0)
-
- sethi.p 0xfe40,gr10 ; data RAM area
- setlo 0x0000,gr10
- sti gr11,@(gr10,0)
- dcf @(gr10,gr0)
- jmpl @(gr10,gr0)
-
- pass
-fail:
- fail
cache.s
Property changes :
Deleted: svn:eol-style
## -1 +0,0 ##
-native
\ No newline at end of property
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
Index: hello.s
===================================================================
--- hello.s (revision 816)
+++ hello.s (nonexistent)
@@ -1,16 +0,0 @@
- .global _start
-_start:
-
-; write (hello world)
- setlos #14,gr10
- sethi %hi(hello),gr9
- setlo %lo(hello),gr9
- setlos #1,gr8
- setlos #5,gr7
- tira gr0,#0
-; exit (0)
- setlos #0,gr8
- setlos #1,gr7
- tira gr0,#0
-
-hello: .ascii "Hello World!\r\n"
hello.s
Property changes :
Deleted: svn:eol-style
## -1 +0,0 ##
-native
\ No newline at end of property
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
Index: exit47.s
===================================================================
--- exit47.s (revision 816)
+++ exit47.s (nonexistent)
@@ -1,5 +0,0 @@
- .global _start
-_start:
- setlos #47,gr8
- setlos #1,gr7
- tira gr0,#0
exit47.s
Property changes :
Deleted: svn:eol-style
## -1 +0,0 ##
-native
\ No newline at end of property
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
Index: ChangeLog
===================================================================
--- ChangeLog (revision 816)
+++ ChangeLog (nonexistent)
@@ -1,43 +0,0 @@
-2009-08-22 Ralf Wildenhues
-
- * configure: Regenerate.
-
-2005-01-07 Andrew Cagney
-
- * configure.ac: Rename configure.in, require autoconf 2.59.
- * configure: Re-generate.
-
-2000-07-26 Dave Brolley
-
- * Makefile.in (TESTS): Don't run cache.ok
- * cache.s: Use softune syntax for jmpl.
-
-2000-07-19 Dave Brolley
-
- * cache.s (pass): Use softune syntax for tira.
- * exit47.s (pass): Use softune syntax for tira.
- * grloop.s (pass): Use softune syntax for tira.
- * hello.s (pass): Use softune syntax for tira.
-
-Thu Aug 19 18:00:16 1999 Dave Brolley
-
- * hello.s: Fix sethi, setlo insn usage.
-
-Mon Jun 21 17:33:37 1999 Dave Brolley
-
- * Makefile.in (TESTS): Add grloop.ok.
- * grloop.s: New testcase.
-
-Fri Jun 18 17:55:02 1999 Dave Brolley
-
- * exit47.s: Use proper syscalls interface.
- * hello.s: Use proper syscalls interface.
-
-Mon May 31 12:03:38 1999 Dave Brolley
-
- * hello.s,loop.s,exit47.s: Convert to frv insn set.
-
-Thu May 6 16:36:30 1999 Dave Brolley
-
- * Directory created.
-
ChangeLog
Property changes :
Deleted: svn:eol-style
## -1 +0,0 ##
-native
\ No newline at end of property
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property
Index: loop.s
===================================================================
--- loop.s (revision 816)
+++ loop.s (nonexistent)
@@ -1,2 +0,0 @@
- .global _start
-_start: bra icc0,0,_start
loop.s
Property changes :
Deleted: svn:eol-style
## -1 +0,0 ##
-native
\ No newline at end of property
Deleted: svn:keywords
## -1 +0,0 ##
-Id
\ No newline at end of property