blob: 4f2a4c2698857e32e6585408432ba40408bf1c01 [file] [log] [blame]
Andrew Lenharthf80d2f62006-04-02 21:47:07 +00001; Make sure this testcase does not use mulq
2; RUN: llvm-as < %s | llc -march=alpha | grep -i 'mul' |wc -l |grep 0
3
4implementation ; Functions:
5
Andrew Lenharth0fb79fa2006-04-03 03:16:09 +00006ulong %foo1(ulong %x) {
Andrew Lenharthf80d2f62006-04-02 21:47:07 +00007entry:
Andrew Lenharth0fb79fa2006-04-03 03:16:09 +00008 %tmp.1 = mul ulong %x, 9 ; <ulong> [#uses=1]
9 ret ulong %tmp.1
10}
11ulong %foo3(ulong %x) {
12entry:
13 %tmp.1 = mul ulong %x, 259
14 ret ulong %tmp.1
15}
16
Andrew Lenharth87e021d2006-04-03 04:14:39 +000017ulong %foo4l(ulong %x) {
18entry:
19 %tmp.1 = mul ulong %x, 260
20 ret ulong %tmp.1
21}
22
23ulong %foo4ln(ulong %x) {
24entry:
Andrew Lenhartha54f6b12006-10-31 19:50:55 +000025 %tmp.1 = mul ulong %x, 508
26 ret ulong %tmp.1
27}
28ulong %foo4ln_more(ulong %x) {
29entry:
Andrew Lenharth87e021d2006-04-03 04:14:39 +000030 %tmp.1 = mul ulong %x, 252
31 ret ulong %tmp.1
32}
33
Andrew Lenharth0fb79fa2006-04-03 03:16:09 +000034ulong %foo1n(ulong %x) {
35entry:
36 %tmp.1 = mul ulong %x, 511
Andrew Lenharthf80d2f62006-04-02 21:47:07 +000037 ret ulong %tmp.1
38}
39
Andrew Lenharth87e021d2006-04-03 04:14:39 +000040ulong %foo8l(ulong %x) {
41entry:
42 %tmp.1 = mul ulong %x, 768
43 ret ulong %tmp.1
44}
45
Andrew Lenharthf80d2f62006-04-02 21:47:07 +000046long %bar(long %x) {
47entry:
48 %tmp.1 = mul long %x, 5 ; <long> [#uses=1]
49 ret long %tmp.1
50}