mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-24 12:35:55 +08:00
60 lines
946 B
Plaintext
60 lines
946 B
Plaintext
|
# frv testcase for nandcr $CCi,$CCj,$CCk
|
||
|
# mach: all
|
||
|
|
||
|
.include "testutils.inc"
|
||
|
|
||
|
start
|
||
|
|
||
|
.global nandcr
|
||
|
nandcr:
|
||
|
set_spr_immed 0x1b1b,cccr
|
||
|
nandcr cc7,cc7,cc3
|
||
|
test_spr_immed 0x1b1b,cccr
|
||
|
|
||
|
nandcr cc7,cc6,cc3
|
||
|
test_spr_immed 0x1b1b,cccr
|
||
|
|
||
|
nandcr cc7,cc5,cc3
|
||
|
test_spr_immed 0x1b1b,cccr
|
||
|
|
||
|
nandcr cc7,cc4,cc3
|
||
|
test_spr_immed 0x1b1b,cccr
|
||
|
|
||
|
nandcr cc6,cc7,cc3
|
||
|
test_spr_immed 0x1b1b,cccr
|
||
|
|
||
|
nandcr cc6,cc6,cc3
|
||
|
test_spr_immed 0x1b1b,cccr
|
||
|
|
||
|
nandcr cc6,cc5,cc3
|
||
|
test_spr_immed 0x1b1b,cccr
|
||
|
|
||
|
nandcr cc6,cc4,cc3
|
||
|
test_spr_immed 0x1b1b,cccr
|
||
|
|
||
|
nandcr cc5,cc7,cc3
|
||
|
test_spr_immed 0x1b1b,cccr
|
||
|
|
||
|
nandcr cc5,cc6,cc3
|
||
|
test_spr_immed 0x1b1b,cccr
|
||
|
|
||
|
nandcr cc5,cc5,cc3
|
||
|
test_spr_immed 0x1b1b,cccr
|
||
|
|
||
|
nandcr cc5,cc4,cc3
|
||
|
test_spr_immed 0x1b1b,cccr
|
||
|
|
||
|
nandcr cc4,cc7,cc3
|
||
|
test_spr_immed 0x1b1b,cccr
|
||
|
|
||
|
nandcr cc4,cc6,cc3
|
||
|
test_spr_immed 0x1b1b,cccr
|
||
|
|
||
|
nandcr cc4,cc5,cc3
|
||
|
test_spr_immed 0x1bdb,cccr
|
||
|
|
||
|
nandcr cc4,cc4,cc3
|
||
|
test_spr_immed 0x1b9b,cccr
|
||
|
|
||
|
pass
|