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, %rdx
9 ; CHECK-NEXT: mulxq %rsi, %rax, %rdx
11 %x = zext i64 %a to i128
12 %y = zext i64 %b to i128
17 define i128 @f2(i64 %a, ptr %p) {
20 ; CHECK-NEXT: movq %rdi, %rdx
21 ; CHECK-NEXT: mulxq (%rsi), %rax, %rdx
24 %x = zext i64 %a to i128
25 %y = zext i64 %b to i128