URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [frv/] [fr400/] [mhsethih.cgs] - Rev 842
Compare with Previous | Blame | View Log
# frv testcase for mhsethih $s12,$FRk
# mach: all
.include "../testutils.inc"
start
.global mhsethih
mhsethih:
set_fr_immed 0,fr1
mhsethih 0,fr1
test_fr_iimmed 0,fr1
mhsethih 1,fr1
test_fr_iimmed 0x08000000,fr1
mhsethih 0xf,fr1
test_fr_iimmed 0x78000000,fr1
mhsethih -16,fr1
test_fr_iimmed 0x80000000,fr1
mhsethih -1,fr1
test_fr_iimmed 0xf8000000,fr1
pass