URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 24 |
Rev 33 |
# m32r testcase for cmpui $src2,#$simm16
|
# m32r testcase for cmpui $src2,#$simm16
|
# mach(): m32r m32rx
|
# mach(): m32r m32rx
|
|
|
.include "testutils.inc"
|
.include "testutils.inc"
|
|
|
start
|
start
|
|
|
.global cmpui
|
.global cmpui
|
cmpui:
|
cmpui:
|
mvi_h_condbit 0
|
mvi_h_condbit 0
|
mvi_h_gr r4, 1
|
mvi_h_gr r4, 1
|
cmpui r4, #2
|
cmpui r4, #2
|
bc ok
|
bc ok
|
not_ok:
|
not_ok:
|
fail
|
fail
|
ok:
|
ok:
|
mvi_h_condbit 1
|
mvi_h_condbit 1
|
mvi_h_gr r4, -1
|
mvi_h_gr r4, -1
|
cmpui r4, #2
|
cmpui r4, #2
|
bc not_ok
|
bc not_ok
|
|
|
pass
|
pass
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.