1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-unknown -mattr=+bmi2 | FileCheck %s
3 ; RUN: llc < %s -mtriple=x86_64-unknown -mcpu=core-avx2 | FileCheck %s
5 define i128 @f1(i64 %a, i64 %b) {
8 ; CHECK-NEXT: movq %rdi, %rax
9 ; CHECK-NEXT: mulq %rsi
11 %x = zext i64 %a to i128
12 %y = zext i64 %b to i128
17 define i128 @f2(i64 %a, i64* %p) {
20 ; CHECK-NEXT: movq %rdi, %rax
21 ; CHECK-NEXT: mulq (%rsi)
23 %b = load i64, i64* %p
24 %x = zext i64 %a to i128
25 %y = zext i64 %b to i128