URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 24 |
Rev 33 |
# fr30 testcase for copst $u4,$cc,$CRj,Ri
|
# fr30 testcase for copst $u4,$cc,$CRj,Ri
|
# mach(): fr30
|
# mach(): fr30
|
|
|
.include "testutils.inc"
|
.include "testutils.inc"
|
|
|
START
|
START
|
|
|
.text
|
.text
|
.global copst
|
.global copst
|
copst:
|
copst:
|
; Test copst copst $u4,$cc,$CRj,Ri
|
; Test copst copst $u4,$cc,$CRj,Ri
|
; The current implementation is a noop
|
; The current implementation is a noop
|
set_cc 0x0f ; Condition codes are irrelevent
|
set_cc 0x0f ; Condition codes are irrelevent
|
copst 0,0,cr0,r15
|
copst 0,0,cr0,r15
|
test_cc 1 1 1 1
|
test_cc 1 1 1 1
|
|
|
set_cc 0x0e ; Condition codes are irrelevent
|
set_cc 0x0e ; Condition codes are irrelevent
|
copst 15,255,cr15,r0
|
copst 15,255,cr15,r0
|
test_cc 1 1 1 0
|
test_cc 1 1 1 0
|
|
|
pass
|
pass
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.