URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 834 |
Rev 842 |
# cr16 testcase for jgt (regp)
|
# cr16 testcase for jgt (regp)
|
# mach(): cr16
|
# mach(): cr16
|
|
|
.include "testutils.inc"
|
.include "testutils.inc"
|
|
|
start
|
start
|
|
|
.global jgt
|
.global jgt
|
jgt:
|
jgt:
|
movd $ok, (r7,r6)
|
movd $ok, (r7,r6)
|
lshd $-1, (r7,r6)
|
lshd $-1, (r7,r6)
|
|
|
mvi_h_condbit 0
|
mvi_h_condbit 0
|
movw $2, r4
|
movw $2, r4
|
movw $1, r5
|
movw $1, r5
|
cmpw r4, r5
|
cmpw r4, r5
|
jgt (r7,r6)
|
jgt (r7,r6)
|
not_ok:
|
not_ok:
|
fail
|
fail
|
ok:
|
ok:
|
pass
|
pass
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.