URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [cr16/] [cmpd_i.cgs] - Rev 828
Go to most recent revision | Compare with Previous | Blame | View Log
# cr16 testcase for cmpb $imm32,(regp)
# mach(): cr16
.include "testutils.inc"
start
.global cmpd_i
cmpd_i:
mvi_h_condbit 0
movd $0x12345678, (r4,r3)
cmpd $0x12345678, (r4,r3)
beq ok
not_ok:
fail
ok:
mvi_h_condbit 1
cmpd $0x12341234, (r4,r3)
beq not_ok
pass
Go to most recent revision | Compare with Previous | Blame | View Log