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