URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 24 |
Rev 33 |
# mach: crisv3 crisv8 crisv10
|
# mach: crisv3 crisv8 crisv10
|
|
|
# Make sure that "move [$sp=$sp+16],$p8" works; used in Linux.
|
# Make sure that "move [$sp=$sp+16],$p8" works; used in Linux.
|
|
|
.include "testutils.inc"
|
.include "testutils.inc"
|
startnostack
|
startnostack
|
move.d x,$sp
|
move.d x,$sp
|
moveq 0,$r3
|
moveq 0,$r3
|
move [$sp=$sp+16],$p8
|
move [$sp=$sp+16],$p8
|
; Z not changed.
|
; Z not changed.
|
bne 0f
|
bne 0f
|
nop
|
nop
|
cmp.d x+16,$sp
|
cmp.d x+16,$sp
|
bne 0f
|
bne 0f
|
nop
|
nop
|
move $p8,$r3
|
move $p8,$r3
|
; Z not changed.
|
; Z not changed.
|
bne 0f
|
bne 0f
|
; P8 still 0.
|
; P8 still 0.
|
test.d $r3
|
test.d $r3
|
bne 0f
|
bne 0f
|
nop
|
nop
|
pass
|
pass
|
0:
|
0:
|
fail
|
fail
|
|
|
.data
|
.data
|
x:
|
x:
|
.dword 0xffffffff
|
.dword 0xffffffff
|
.dword 0xffffffff
|
.dword 0xffffffff
|
.dword 0xffffffff
|
.dword 0xffffffff
|
.dword 0xffffffff
|
.dword 0xffffffff
|
.dword 0xffffffff
|
.dword 0xffffffff
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.