sim: bfin: import testsuite
[deliverable/binutils-gdb.git] / sim / testsuite / sim / bfin / mult.s
1 # Blackfin testcase for multiply
2 # mach: bfin
3
4 .include "testutils.inc"
5
6 start
7
8 R0 = 0;
9 R1 = 0;
10 R2 = 0;
11 R3 = 0;
12 A0 = 0;
13 A1 = 0;
14 R0.L = 0x0400;
15 R1.L = 0x0010;
16 R2.L = ( A0 = R0.L * R1.L ) (S2RND);
17 R3 = 0x1 (Z);
18 CC = R3 == R2;
19 if CC jump 1f;
20 fail
21 1:
22 pass
This page took 0.039364 seconds and 4 git commands to generate.