Added a couple of tests.
This commit is contained in:
parent
ccac0df194
commit
d03da19e36
@ -1,3 +1,8 @@
|
|||||||
|
Thu Feb 19 11:15:45 1998 Nick Clifton <nickc@cygnus.com>
|
||||||
|
|
||||||
|
* sim/m32r/xor3.cgs: Test xor3 instruction.
|
||||||
|
* sim/m32r/xor.cgs: Test xor instruction.
|
||||||
|
|
||||||
Tue Feb 17 12:46:05 1998 Doug Evans <devans@seba.cygnus.com>
|
Tue Feb 17 12:46:05 1998 Doug Evans <devans@seba.cygnus.com>
|
||||||
|
|
||||||
* config/default.exp: New file.
|
* config/default.exp: New file.
|
||||||
@ -8,7 +13,7 @@ Tue Feb 17 12:46:05 1998 Doug Evans <devans@seba.cygnus.com>
|
|||||||
(arch): Define.
|
(arch): Define.
|
||||||
(RUNTEST_FOR_TARGET): Delete.
|
(RUNTEST_FOR_TARGET): Delete.
|
||||||
(RUNTEST): Fix.
|
(RUNTEST): Fix.
|
||||||
(SCHEME,SCHEMEFLAGS,CGENDIR,CGENFLAGS,CGENFILES): Define.
|
(SCHEME,SCHEMEFLAGS,CGENDIR,CGENFLAGS): Define.
|
||||||
(check): Depend on site.exp. Run dejagnu.
|
(check): Depend on site.exp. Run dejagnu.
|
||||||
(site.exp): New target.
|
(site.exp): New target.
|
||||||
(cgen): New target.
|
(cgen): New target.
|
||||||
|
16
sim/testsuite/sim/m32r/xor.cgs
Normal file
16
sim/testsuite/sim/m32r/xor.cgs
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
# m32r testcase for xor $dr,$sr
|
||||||
|
# mach(): m32r m32rx
|
||||||
|
|
||||||
|
.include "testutils.inc"
|
||||||
|
|
||||||
|
start
|
||||||
|
|
||||||
|
.global xor
|
||||||
|
xor:
|
||||||
|
|
||||||
|
mvi_h_gr r4, 3
|
||||||
|
mvi_h_gr r5, 6
|
||||||
|
xor r4, r5
|
||||||
|
test_h_gr r4, 5
|
||||||
|
|
||||||
|
pass
|
Loading…
Reference in New Issue
Block a user