1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=i386-unknown | FileCheck %s --check-prefix=X86
3 ; RUN: llc < %s -mtriple=x86_64-unknown | FileCheck %s --check-prefix=X64
5 define i64 @foo(i64 %t, i64 %u) nounwind {
9 ; X86-NEXT: movl {{[0-9]+}}(%esp), %ecx
10 ; X86-NEXT: movl {{[0-9]+}}(%esp), %esi
11 ; X86-NEXT: movl %ecx, %eax
13 ; X86-NEXT: imull {{[0-9]+}}(%esp), %ecx
14 ; X86-NEXT: addl %ecx, %edx
15 ; X86-NEXT: imull {{[0-9]+}}(%esp), %esi
16 ; X86-NEXT: addl %esi, %edx
22 ; X64-NEXT: movq %rdi, %rax
23 ; X64-NEXT: imulq %rsi, %rax