binutils-gdb/sim/testsuite/frv/fcklg.cgs
Mike Frysinger 1368b914e9 sim: testsuite: flatten tree
Now that all port tests live under testsuite/sim/*/, and none live
in testsuite/ directly, flatten the structure by moving all of the
dirs under testsuite/sim/ to testsuite/ directly.

We need to stop passing --tool to dejagnu so that it searches all
dirs and not just ones that start with "sim".  Since we have no
other dirs in this tree, and no plans to add any, should be fine.
2021-01-15 19:18:34 -05:00

91 lines
1.5 KiB
Plaintext

# frv testcase for fcklg $FCCi,$CCj_float
# mach: all
.include "testutils.inc"
start
.global fcklg
fcklg:
set_spr_immed 0x1b1b,cccr
set_fcc 0x0 0
fcklg fcc0,cc3
test_spr_immed 0x1b9b,cccr
set_spr_immed 0x1b1b,cccr
set_fcc 0x1 0
fcklg fcc0,cc3
test_spr_immed 0x1b9b,cccr
set_spr_immed 0x1b1b,cccr
set_fcc 0x2 0
fcklg fcc0,cc3
test_spr_immed 0x1bdb,cccr
set_spr_immed 0x1b1b,cccr
set_fcc 0x3 0
fcklg fcc0,cc3
test_spr_immed 0x1bdb,cccr
set_spr_immed 0x1b1b,cccr
set_fcc 0x4 0
fcklg fcc0,cc3
test_spr_immed 0x1bdb,cccr
set_spr_immed 0x1b1b,cccr
set_fcc 0x5 0
fcklg fcc0,cc3
test_spr_immed 0x1bdb,cccr
set_spr_immed 0x1b1b,cccr
set_fcc 0x6 0
fcklg fcc0,cc3
test_spr_immed 0x1bdb,cccr
set_spr_immed 0x1b1b,cccr
set_fcc 0x7 0
fcklg fcc0,cc3
test_spr_immed 0x1bdb,cccr
set_spr_immed 0x1b1b,cccr
set_fcc 0x8 0
fcklg fcc0,cc3
test_spr_immed 0x1b9b,cccr
set_spr_immed 0x1b1b,cccr
set_fcc 0x9 0
fcklg fcc0,cc3
test_spr_immed 0x1b9b,cccr
set_spr_immed 0x1b1b,cccr
set_fcc 0xa 0
fcklg fcc0,cc3
test_spr_immed 0x1bdb,cccr
set_spr_immed 0x1b1b,cccr
set_fcc 0xb 0
fcklg fcc0,cc3
test_spr_immed 0x1bdb,cccr
set_spr_immed 0x1b1b,cccr
set_fcc 0xc 0
fcklg fcc0,cc3
test_spr_immed 0x1bdb,cccr
set_spr_immed 0x1b1b,cccr
set_fcc 0xd 0
fcklg fcc0,cc3
test_spr_immed 0x1bdb,cccr
set_spr_immed 0x1b1b,cccr
set_fcc 0xe 0
fcklg fcc0,cc3
test_spr_immed 0x1bdb,cccr
set_spr_immed 0x1b1b,cccr
set_fcc 0xf 0
fcklg fcc0,cc3
test_spr_immed 0x1bdb,cccr
pass