brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.5 KiB · 0728760 Raw
55 lines · plain
1; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr7 < %s | FileCheck %s2; RUN: llc -verify-machineinstrs -mtriple=powerpc64-unknown-linux-gnu -mcpu=pwr8 < %s | FileCheck %s3; RUN: llc -verify-machineinstrs -mtriple=powerpc64le-unknown-linux-gnu -mcpu=pwr8 < %s | FileCheck %s4 5; Function Attrs: nounwind6define signext i32 @test1() #0 {7entry:8  %0 = call i32 @llvm.ppc.divwe(i32 32, i32 16)9  ret i32 %010; CHECK: divwe 3, 4, 311}12 13; Function Attrs: nounwind readnone14declare i32 @llvm.ppc.divwe(i32, i32) #115 16; Function Attrs: nounwind17define signext i32 @test2() #0 {18entry:19  %0 = call i32 @llvm.ppc.divweu(i32 32, i32 16)20  ret i32 %021; CHECK: divweu 3, 4, 322}23 24; Function Attrs: nounwind readnone25declare i32 @llvm.ppc.divweu(i32, i32) #126 27; Function Attrs: nounwind28define i64 @test3() #0 {29entry:30  %0 = call i64 @llvm.ppc.divde(i64 32, i64 16)31  ret i64 %032; CHECK: divde 3, 4, 333}34 35; Function Attrs: nounwind readnone36declare i64 @llvm.ppc.divde(i64, i64) #137 38; Function Attrs: nounwind39define i64 @test4() #0 {40entry:41  %0 = call i64 @llvm.ppc.divdeu(i64 32, i64 16)42  ret i64 %043; CHECK: divdeu 3, 4, 344}45 46; Function Attrs: nounwind readnone47declare i64 @llvm.ppc.divdeu(i64, i64) #148 49attributes #0 = { nounwind "less-precise-fpmad"="false" "frame-pointer"="all" "no-infs-fp-math"="false" "no-nans-fp-math"="false" "stack-protector-buffer-size"="8" "use-soft-float"="false" }50attributes #1 = { nounwind readnone }51 52!llvm.ident = !{!0}53 54!0 = !{!"clang version 3.7.0 (trunk 231831) (llvm/trunk 231828:231843M)"}55