blob: f967c09d42e2adfee3bdf73498691b32289a020c [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
17ulong %foo1n(ulong %x) {
18entry:
19 %tmp.1 = mul ulong %x, 511
Andrew Lenharthf80d2f62006-04-02 21:47:07 +000020 ret ulong %tmp.1
21}
22
23long %bar(long %x) {
24entry:
25 %tmp.1 = mul long %x, 5 ; <long> [#uses=1]
26 ret long %tmp.1
27}