mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
1368b914e9
Now that all port tests live under testsuite/sim/*/, and none live in testsuite/ directly, flatten the structure by moving all of the dirs under testsuite/sim/ to testsuite/ directly. We need to stop passing --tool to dejagnu so that it searches all dirs and not just ones that start with "sim". Since we have no other dirs in this tree, and no plans to add any, should be fine.
47 lines
986 B
Plaintext
47 lines
986 B
Plaintext
#mach: crisv10 crisv32
|
|
#sim(crisv10): --hw-device "/rv/trace? true" --hw-device "/cris/multiple-int ignore_previous"
|
|
#sim(crisv32): --hw-device "/rv/trace? true" --hw-device "/cris/multiple-int ignore_previous"
|
|
#output: /rv: WD\n
|
|
#output: /rv: REG R 0xd0000032\n
|
|
#output: /rv: := 0xabcdef01\n
|
|
#output: /rv: IRQ 0x4\n
|
|
#output: /rv: IRQ 0x8\n
|
|
#output: /rv: REG R 0xd0000036\n
|
|
#output: /rv: := 0x76543210\n
|
|
#output: /rv: REG R 0xd0000030\n
|
|
#output: /rv: IRQ 0x0\n
|
|
#output: /rv: := 0xeeff4455\n
|
|
#output: pass\n
|
|
|
|
# Much like irq3.ms, but modified to test multiple-int ignore_previous.
|
|
|
|
#r W,
|
|
#r r,a8832,abcdef01
|
|
#r I,4
|
|
#r I,8
|
|
#r r,a8836,76543210
|
|
#r I,0
|
|
#r r,a8830,eeff4455
|
|
|
|
.lcomm dummy,4
|
|
|
|
.include "testutils.inc"
|
|
start
|
|
test_h_mem 0xabcdef01 0xd0000032
|
|
.if ..asm.arch.cris.v32
|
|
move irqvec1,$ebp
|
|
.else
|
|
move irqvec1,$ibr
|
|
.endif
|
|
ei
|
|
test_h_mem 0,dummy
|
|
killme:
|
|
fail
|
|
|
|
irq0x34:
|
|
test_h_mem 0x76543210 0xd0000036
|
|
test_h_mem 0xeeff4455 0xd0000030
|
|
pass
|
|
|
|
singlevec irqvec1,0x34,irq0x34
|