1 ; RUN: llc < %s -march=xcore | FileCheck %s
2 ; RUN: llc < %s -march=xcore -regalloc=basic | FileCheck %s
3 define i64 @umul_lohi(i32 %a, i32 %b) {
5 %0 = zext i32 %a to i64
6 %1 = zext i32 %b to i64
10 ; CHECK-LABEL: umul_lohi:
11 ; CHECK: ldc [[REG:r[0-9]+]], 0
12 ; CHECK-NEXT: lmul {{.*}}, [[REG]], [[REG]]
15 define i64 @smul_lohi(i32 %a, i32 %b) {
17 %0 = sext i32 %a to i64
18 %1 = sext i32 %b to i64
22 ; CHECK-LABEL: smul_lohi:
28 define i64 @mul64(i64 %a, i64 %b) {
39 define i64 @mul64_2(i64 %a, i32 %b) {
41 %0 = zext i32 %b to i64
45 ; CHECK-LABEL: mul64_2: