URL
https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk
Subversion Repositories openrisc_me
[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [sh64/] [media/] [fmovls.cgs] - Rev 157
Compare with Previous | Blame | View Log
# sh testcase for fmov.ls $rm, $frf -*- Asm -*-
# mach: all
# as: -isa=shmedia
# ld: -m shelf64
.include "media/testutils.inc"
start
fmovls0:
movi 0, r0
fmov.ls r0, fr0
fmovls1:
movi 1, r1
fmov.ls r1, fr1
upper:
movi 1, r2
shlli r2, 63, r2
ori r2, 3, r2
# Bit 63 should be ignored.
fmov.ls r2, fr2
okay:
pass