binutils-gdb/sim/testsuite/cris/hw/rv-n-cris/irq5.ms
Mike Frysinger 1368b914e9 sim: testsuite: flatten tree
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.
2021-01-15 19:18:34 -05:00

47 lines
964 B
Plaintext

#mach: crisv10 crisv32
#sim(crisv10): --hw-device "/rv/trace? true" --hw-device "/cris/multiple-int 0xae"
#sim(crisv32): --hw-device "/rv/trace? true" --hw-device "/cris/multiple-int 0xae"
#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 irq4.ms, but modified to test vector case for multiple-int.
#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
irq0xae:
test_h_mem 0x76543210 0xd0000036
test_h_mem 0xeeff4455 0xd0000030
pass
singlevec irqvec1,0xae,irq0xae