Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/sim/testsuite/frv/nandncr.cgs
2023-03-06 14:48:14 +01:00

59 lines
965 B
Text

# frv testcase for nandncr $CCi,$CCj,$CCk
# mach: all
.include "testutils.inc"
start
.global nandncr
nandncr:
set_spr_immed 0x1b1b,cccr
nandncr cc7,cc7,cc3
test_spr_immed 0x1b1b,cccr
nandncr cc7,cc6,cc3
test_spr_immed 0x1b1b,cccr
nandncr cc7,cc5,cc3
test_spr_immed 0x1b1b,cccr
nandncr cc7,cc4,cc3
test_spr_immed 0x1b1b,cccr
nandncr cc6,cc7,cc3
test_spr_immed 0x1b1b,cccr
nandncr cc6,cc6,cc3
test_spr_immed 0x1b1b,cccr
nandncr cc6,cc5,cc3
test_spr_immed 0x1b1b,cccr
nandncr cc6,cc4,cc3
test_spr_immed 0x1b1b,cccr
nandncr cc5,cc7,cc3
test_spr_immed 0x1b1b,cccr
nandncr cc5,cc6,cc3
test_spr_immed 0x1b1b,cccr
nandncr cc5,cc5,cc3
test_spr_immed 0x1bdb,cccr
nandncr cc5,cc4,cc3
test_spr_immed 0x1b9b,cccr
nandncr cc4,cc7,cc3
test_spr_immed 0x1b1b,cccr
nandncr cc4,cc6,cc3
test_spr_immed 0x1b1b,cccr
nandncr cc4,cc5,cc3
test_spr_immed 0x1b1b,cccr
nandncr cc4,cc4,cc3
test_spr_immed 0x1b1b,cccr
pass