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 157 |
Rev 223 |
# sh testcase for fmov.ls $rm, $frf -*- Asm -*-
|
# sh testcase for fmov.ls $rm, $frf -*- Asm -*-
|
# mach: all
|
# mach: all
|
# as: -isa=shmedia
|
# as: -isa=shmedia
|
# ld: -m shelf64
|
# ld: -m shelf64
|
|
|
.include "media/testutils.inc"
|
.include "media/testutils.inc"
|
|
|
start
|
start
|
|
|
fmovls0:
|
fmovls0:
|
movi 0, r0
|
movi 0, r0
|
fmov.ls r0, fr0
|
fmov.ls r0, fr0
|
|
|
fmovls1:
|
fmovls1:
|
movi 1, r1
|
movi 1, r1
|
fmov.ls r1, fr1
|
fmov.ls r1, fr1
|
|
|
upper:
|
upper:
|
movi 1, r2
|
movi 1, r2
|
shlli r2, 63, r2
|
shlli r2, 63, r2
|
ori r2, 3, r2
|
ori r2, 3, r2
|
# Bit 63 should be ignored.
|
# Bit 63 should be ignored.
|
fmov.ls r2, fr2
|
fmov.ls r2, fr2
|
|
|
okay:
|
okay:
|
pass
|
pass
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.