binutils-gdb/sim/testsuite/frv/add.pcgs

26 lines
456 B
Plaintext
Raw Normal View History

# frv parallel testcase for add $GRi,$GRj,$GRk
# mach: all
.include "testutils.inc"
start
.global add
add:
set_gr_immed 1,gr7
set_gr_immed 2,gr8
add.p gr7,gr8,gr8
add gr7,gr8,gr9
add.p gr7,gr8,gr10
add gr7,gr8,gr11
add.p gr7,gr8,gr12
add gr7,gr8,gr13
test_gr_immed 3,gr8
test_gr_immed 3,gr9
test_gr_immed 4,gr10
test_gr_immed 4,gr11
test_gr_immed 4,gr12
test_gr_immed 4,gr13
pass