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 24 |
Rev 33 |
# sh testcase for floating point register shared state (see below).
|
# sh testcase for floating point register shared state (see below).
|
# mach: all
|
# mach: all
|
# as: -isa=shmedia
|
# as: -isa=shmedia
|
# ld: -m shelf64
|
# ld: -m shelf64
|
|
|
# (fr, dr, fp, fv amd mtrx provide different views of the same architecrual state).
|
# (fr, dr, fp, fv amd mtrx provide different views of the same architecrual state).
|
# Hitachi SH-5 CPU volume 1, p. 15.
|
# Hitachi SH-5 CPU volume 1, p. 15.
|
|
|
.include "media/testutils.inc"
|
.include "media/testutils.inc"
|
|
|
start
|
start
|
|
|
movi 42, r0
|
movi 42, r0
|
fmov.ls r0, fr12
|
fmov.ls r0, fr12
|
# save this reg.
|
# save this reg.
|
fmov.s fr12, fr14
|
fmov.s fr12, fr14
|
|
|
movi 42, r0
|
movi 42, r0
|
fmov.qd r0, dr12
|
fmov.qd r0, dr12
|
|
|
okay:
|
okay:
|
pass
|
pass
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.