URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.2/] [sim/] [testsuite/] [sim/] [fr30/] [copsv.cgs] - Rev 330
Compare with Previous | Blame | View Log
# fr30 testcase for copsv $u4,$cc,$CRj,Ri
# mach(): fr30
.include "testutils.inc"
START
.text
.global copsv
copsv:
; Test copsv copsv $u4,$cc,$CRj,Ri
; The current implementation is a noop
set_cc 0x0f ; Condition codes are irrelevent
copsv 0,0,cr0,r15
test_cc 1 1 1 1
set_cc 0x0e ; Condition codes are irrelevent
copsv 15,255,cr15,r0
test_cc 1 1 1 0
pass