1 ; RUN: llc -mtriple thumbv7-unknown-none-eabi -float-abi soft -filetype asm -o - %s | FileCheck %s 2 ; RUN: llc -mtriple thumbv7-unknown-none-eabi -float-abi hard -filetype asm -o - %s | FileCheck %s 3 ; RUN: llc -mtriple thumbv7-unknown-none-eabihf -float-abi soft -filetype asm -o - %s | FileCheck %s 4 ; RUN: llc -mtriple thumbv7-unknown-none-eabihf -float-abi hard -filetype asm -o - %s | FileCheck %s 5 6 ; RUN: llc -mtriple thumbv7-unknown-none-gnueabi -float-abi soft -filetype asm -o - %s | FileCheck %s 7 ; RUN: llc -mtriple thumbv7-unknown-none-gnueabi -float-abi hard -filetype asm -o - %s | FileCheck %s 8 ; RUN: llc -mtriple thumbv7-unknown-none-gnueabihf -float-abi soft -filetype asm -o - %s | FileCheck %s 9 ; RUN: llc -mtriple thumbv7-unknown-none-gnueabihf -float-abi hard -filetype asm -o - %s | FileCheck %s 10 11 ; RUN: llc -mtriple thumbv7-unknown-none-musleabi -float-abi soft -filetype asm -o - %s | FileCheck %s 12 ; RUN: llc -mtriple thumbv7-unknown-none-musleabi -float-abi hard -filetype asm -o - %s | FileCheck %s 13 ; RUN: llc -mtriple thumbv7-unknown-none-musleabihf -float-abi soft -filetype asm -o - %s | FileCheck %s 14 ; RUN: llc -mtriple thumbv7-unknown-none-musleabihf -float-abi hard -filetype asm -o - %s | FileCheck %s 15 16 declare float @llvm.powi.f32(float, i32) 17 18 define float @powi_f32(float %f, i32 %i) { 19 entry: 20 %0 = call float @llvm.powi.f32(float %f, i32 %i) 21 ret float %0 22 } 23 24 ; CHECK: b __powisf2 25 26 declare double @llvm.powi.f64(double, i32) 27 28 define double @powi_f64(double %d, i32 %i) { 29 entry: 30 %0 = call double @llvm.powi.f64(double %d, i32 %i) 31 ret double %0 32 } 33 34 ; CHECK: b __powidf2 35 36 declare float @llvm.floor.f32(float) 37 38 define float @floor_f32(float %f) { 39 entry: 40 %0 = call float @llvm.floor.f32(float %f) 41 ret float %0 42 } 43 44 ; CHECK: b floorf 45 46 declare double @llvm.floor.f64(double) 47 48 define double @floor_f64(double %d) { 49 entry: 50 %0 = call double @llvm.floor.f64(double %d) 51 ret double %0 52 } 53 54 ; CHECK: b floor 55