gdb/testsuite: Reduce gdb.threads/threadcrash.exp reliance on libc symbols
[binutils-gdb.git] / sim / testsuite / cr16 / cmpd_i.cgs
blobad6018ad36264074d454ace8ead9883953280fbf
1 # cr16 testcase for cmpb $imm32,(regp)
2 # mach(): cr16 
4         .include "testutils.inc"
6         start
8         .global cmpd_i
9 cmpd_i:
10         mvi_h_condbit 0
11         movd $0x12345678, (r4,r3)
12         cmpd $0x12345678, (r4,r3)
13         beq ok
14 not_ok:
15         fail
16 ok:
17         mvi_h_condbit 1
18         cmpd $0x12341234, (r4,r3)
19         beq not_ok
21         pass