OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [fr30/] [copsv.cgs] - Blame information for rev 842

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# fr30 testcase for copsv $u4,$cc,$CRj,Ri
2
# mach(): fr30
3
 
4
        .include "testutils.inc"
5
 
6
        START
7
 
8
        .text
9
        .global copsv
10
copsv:
11
        ; Test copsv copsv $u4,$cc,$CRj,Ri
12
        ; The current implementation is a noop
13
        set_cc          0x0f            ; Condition codes are irrelevent
14
        copsv           0,0,cr0,r15
15
        test_cc         1 1 1 1
16
 
17
        set_cc          0x0e            ; Condition codes are irrelevent
18
        copsv           15,255,cr15,r0
19
        test_cc         1 1 1 0
20
 
21
        pass

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.