• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2; RUN: llc < %s -mtriple=x86_64-unknown | FileCheck %s --check-prefix=X64
3
4define i128 @foo(i128 %t, i128 %u) {
5; X64-LABEL: foo:
6; X64:       # BB#0:
7; X64-NEXT:    movq %rdx, %r8
8; X64-NEXT:    imulq %rdi, %rcx
9; X64-NEXT:    movq %rdi, %rax
10; X64-NEXT:    mulq %r8
11; X64-NEXT:    addq %rcx, %rdx
12; X64-NEXT:    imulq %r8, %rsi
13; X64-NEXT:    addq %rsi, %rdx
14; X64-NEXT:    retq
15  %k = mul i128 %t, %u
16  ret i128 %k
17}
18