2004-02-29 Andrew Cagney <cagney@redhat.com>
[deliverable/binutils-gdb.git] / sim / testsuite / sim / frv / mclracc.cgs
CommitLineData
4a306116
DB
1# frv testcase for mclracc $ACC40k,$A
2# mach: frv
3
4 .include "testutils.inc"
5
6 start
7
8 .global mclracc
9mclracc:
10 set_accg_immed 0xff,accg0
11 set_acc_immed -1,acc0
12 set_accg_immed 0xff,accg8
13 set_acc_immed -1,acc8
14 set_accg_immed 0xff,accg31
15 set_acc_immed -1,acc31
16 set_accg_immed 0xff,accg62
17 set_acc_immed -1,acc62
18
19 mclracc acc63,0 ; nop
20 test_accg_immed 0xff,accg0
21 test_acc_immed -1,acc0
22 test_accg_immed 0xff,accg8
23 test_acc_immed -1,acc8
24 test_accg_immed 0xff,accg31
25 test_acc_immed -1,acc31
26 test_accg_immed 0xff,accg62
27 test_acc_immed -1,acc62
28
29 mclracc acc63,1 ; nop
30 test_accg_immed 0xff,accg0
31 test_acc_immed -1,acc0
32 test_accg_immed 0xff,accg8
33 test_acc_immed -1,acc8
34 test_accg_immed 0xff,accg31
35 test_acc_immed -1,acc31
36 test_accg_immed 0xff,accg62
37 test_acc_immed -1,acc62
38
39 mclracc acc31,0
40 test_accg_immed 0xff,accg0
41 test_acc_immed -1,acc0
42 test_accg_immed 0xff,accg8
43 test_acc_immed -1,acc8
44 test_accg_immed 0,accg31
45 test_acc_immed 0,acc31
46 test_accg_immed 0xff,accg62
47 test_acc_immed -1,acc62
48
49 mclracc acc62,1
50 test_accg_immed 0xff,accg0
51 test_acc_immed -1,acc0
52 test_accg_immed 0xff,accg8
53 test_acc_immed -1,acc8
54 test_accg_immed 0,accg31
55 test_acc_immed 0,acc31
56 test_accg_immed 0,accg62
57 test_acc_immed 0,acc62
58
59 mclracc acc0,0
60 test_accg_immed 0,accg0
61 test_acc_immed 0,acc0
62 test_accg_immed 0xff,accg8
63 test_acc_immed -1,acc8
64 test_accg_immed 0,accg31
65 test_acc_immed 0,acc31
66 test_accg_immed 0,accg62
67 test_acc_immed 0,acc62
68
69 mclracc acc0,1
70 test_accg_immed 0,accg0
71 test_acc_immed 0,acc0
72 test_accg_immed 0,accg8
73 test_acc_immed 0,acc8
74 test_accg_immed 0,accg31
75 test_acc_immed 0,acc31
76 test_accg_immed 0,accg62
77 test_acc_immed 0,acc62
78
79 pass
This page took 0.048555 seconds and 4 git commands to generate.