New sim testsuite for Fujitsu FRV. Contributed by Red Hat.
[deliverable/binutils-gdb.git] / sim / testsuite / sim / frv / fr500 / mclracc.cgs
1 # frv testcase for mclracc $ACC40k,$A
2 # mach: fr500
3
4 .include "../testutils.inc"
5
6 start
7
8 .global mclracc
9 mclracc:
10 set_accg_immed 0xff,accg0
11 set_acc_immed -1,acc0
12 set_accg_immed 0xff,accg1
13 set_acc_immed -1,acc1
14 set_accg_immed 0xff,accg3
15 set_acc_immed -1,acc3
16 set_accg_immed 0xff,accg7
17 set_acc_immed -1,acc7
18
19 mclracc acc8,0 ; nop
20 test_accg_immed 0xff,accg0
21 test_acc_immed -1,acc0
22 test_accg_immed 0xff,accg1
23 test_acc_immed -1,acc1
24 test_accg_immed 0xff,accg3
25 test_acc_immed -1,acc3
26 test_accg_immed 0xff,accg7
27 test_acc_immed -1,acc7
28
29 mclracc acc8,1 ; nop
30 test_accg_immed 0xff,accg0
31 test_acc_immed -1,acc0
32 test_accg_immed 0xff,accg1
33 test_acc_immed -1,acc1
34 test_accg_immed 0xff,accg3
35 test_acc_immed -1,acc3
36 test_accg_immed 0xff,accg7
37 test_acc_immed -1,acc7
38
39 mclracc acc3,0
40 test_accg_immed 0xff,accg0
41 test_acc_immed -1,acc0
42 test_accg_immed 0xff,accg1
43 test_acc_immed -1,acc1
44 test_accg_immed 0,accg3
45 test_acc_immed 0,acc3
46 test_accg_immed 0xff,accg7
47 test_acc_immed -1,acc7
48
49 mclracc acc7,1
50 test_accg_immed 0xff,accg0
51 test_acc_immed -1,acc0
52 test_accg_immed 0xff,accg1
53 test_acc_immed -1,acc1
54 test_accg_immed 0,accg3
55 test_acc_immed 0,acc3
56 test_accg_immed 0,accg7
57 test_acc_immed 0,acc7
58
59 mclracc acc0,0
60 test_accg_immed 0,accg0
61 test_acc_immed 0,acc0
62 test_accg_immed 0xff,accg1
63 test_acc_immed -1,acc1
64 test_accg_immed 0,accg3
65 test_acc_immed 0,acc3
66 test_accg_immed 0,accg7
67 test_acc_immed 0,acc7
68
69 mclracc acc0,1
70 test_accg_immed 0,accg0
71 test_acc_immed 0,acc0
72 test_accg_immed 0,accg1
73 test_acc_immed 0,acc1
74 test_accg_immed 0,accg3
75 test_acc_immed 0,acc3
76 test_accg_immed 0,accg7
77 test_acc_immed 0,acc7
78
79 pass
This page took 0.03025 seconds and 4 git commands to generate.