1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu \
3 ; RUN: -mcpu=pwr9 < %s | FileCheck %s
4 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu \
5 ; RUN: -mcpu=pwr9 < %s | FileCheck %s
6 ; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-aix \
7 ; RUN: -mcpu=pwr9 < %s | FileCheck %s
8 ; RUN: llc -verify-machineinstrs -mtriple=powerpc-unknown-aix \
9 ; RUN: -mcpu=pwr9 < %s | FileCheck %s --check-prefix=CHECK-32BIT
11 define dso_local zeroext i32 @extract_exp(double %d) {
12 ; CHECK-LABEL: extract_exp:
13 ; CHECK: # %bb.0: # %entry
14 ; CHECK-NEXT: xsxexpdp 3, 1
15 ; CHECK-NEXT: clrldi 3, 3, 32
18 ; CHECK-32BIT-LABEL: extract_exp:
19 ; CHECK-32BIT: # %bb.0: # %entry
20 ; CHECK-32BIT-NEXT: xsxexpdp 3, 1
21 ; CHECK-32BIT-NEXT: # kill: def $r3 killed $r3 killed $x3
22 ; CHECK-32BIT-NEXT: blr
24 %0 = tail call i32 @llvm.ppc.extract.exp(double %d)
27 declare i32 @llvm.ppc.extract.exp(double)