URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 24 |
Rev 157 |
# sh testcase for shll2 $rn -*- Asm -*-
|
# sh testcase for shll2 $rn -*- Asm -*-
|
# mach: all
|
# mach: all
|
# as: -isa=shcompact
|
# as: -isa=shcompact
|
# ld: -m shelf32
|
# ld: -m shelf32
|
|
|
.include "compact/testutils.inc"
|
.include "compact/testutils.inc"
|
|
|
start
|
start
|
|
|
.global shll2
|
.global shll2
|
shll2:
|
shll2:
|
mov #1, r1
|
mov #1, r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
shll2 r1
|
assert r1, #0
|
assert r1, #0
|
|
|
another:
|
another:
|
mov #1, r1
|
mov #1, r1
|
shll2 r1
|
shll2 r1
|
assert r1, #4
|
assert r1, #4
|
|
|
okay:
|
okay:
|
pass
|
pass
|
|
|
wrong:
|
wrong:
|
fail
|
fail
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.