diff options
Diffstat (limited to 'llvm/test/CodeGen/X86/rounding-ops.ll')
-rw-r--r-- | llvm/test/CodeGen/X86/rounding-ops.ll | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/llvm/test/CodeGen/X86/rounding-ops.ll b/llvm/test/CodeGen/X86/rounding-ops.ll index eec19410078..6e84635da29 100644 --- a/llvm/test/CodeGen/X86/rounding-ops.ll +++ b/llvm/test/CodeGen/X86/rounding-ops.ll @@ -5,17 +5,17 @@ define float @test1(float %x) nounwind { ; CHECK-SSE-LABEL: test1: -; CHECK-SSE: ## BB#0: +; CHECK-SSE: ## %bb.0: ; CHECK-SSE-NEXT: roundss $9, %xmm0, %xmm0 ; CHECK-SSE-NEXT: retq ; ; CHECK-AVX-LABEL: test1: -; CHECK-AVX: ## BB#0: +; CHECK-AVX: ## %bb.0: ; CHECK-AVX-NEXT: vroundss $9, %xmm0, %xmm0, %xmm0 ; CHECK-AVX-NEXT: retq ; ; CHECK-AVX512-LABEL: test1: -; CHECK-AVX512: ## BB#0: +; CHECK-AVX512: ## %bb.0: ; CHECK-AVX512-NEXT: vrndscaless $9, %xmm0, %xmm0, %xmm0 ; CHECK-AVX512-NEXT: retq %call = tail call float @floorf(float %x) nounwind readnone @@ -26,17 +26,17 @@ declare float @floorf(float) nounwind readnone define double @test2(double %x) nounwind { ; CHECK-SSE-LABEL: test2: -; CHECK-SSE: ## BB#0: +; CHECK-SSE: ## %bb.0: ; CHECK-SSE-NEXT: roundsd $9, %xmm0, %xmm0 ; CHECK-SSE-NEXT: retq ; ; CHECK-AVX-LABEL: test2: -; CHECK-AVX: ## BB#0: +; CHECK-AVX: ## %bb.0: ; CHECK-AVX-NEXT: vroundsd $9, %xmm0, %xmm0, %xmm0 ; CHECK-AVX-NEXT: retq ; ; CHECK-AVX512-LABEL: test2: -; CHECK-AVX512: ## BB#0: +; CHECK-AVX512: ## %bb.0: ; CHECK-AVX512-NEXT: vrndscalesd $9, %xmm0, %xmm0, %xmm0 ; CHECK-AVX512-NEXT: retq %call = tail call double @floor(double %x) nounwind readnone @@ -47,17 +47,17 @@ declare double @floor(double) nounwind readnone define float @test3(float %x) nounwind { ; CHECK-SSE-LABEL: test3: -; CHECK-SSE: ## BB#0: +; CHECK-SSE: ## %bb.0: ; CHECK-SSE-NEXT: roundss $12, %xmm0, %xmm0 ; CHECK-SSE-NEXT: retq ; ; CHECK-AVX-LABEL: test3: -; CHECK-AVX: ## BB#0: +; CHECK-AVX: ## %bb.0: ; CHECK-AVX-NEXT: vroundss $12, %xmm0, %xmm0, %xmm0 ; CHECK-AVX-NEXT: retq ; ; CHECK-AVX512-LABEL: test3: -; CHECK-AVX512: ## BB#0: +; CHECK-AVX512: ## %bb.0: ; CHECK-AVX512-NEXT: vrndscaless $12, %xmm0, %xmm0, %xmm0 ; CHECK-AVX512-NEXT: retq %call = tail call float @nearbyintf(float %x) nounwind readnone @@ -68,17 +68,17 @@ declare float @nearbyintf(float) nounwind readnone define double @test4(double %x) nounwind { ; CHECK-SSE-LABEL: test4: -; CHECK-SSE: ## BB#0: +; CHECK-SSE: ## %bb.0: ; CHECK-SSE-NEXT: roundsd $12, %xmm0, %xmm0 ; CHECK-SSE-NEXT: retq ; ; CHECK-AVX-LABEL: test4: -; CHECK-AVX: ## BB#0: +; CHECK-AVX: ## %bb.0: ; CHECK-AVX-NEXT: vroundsd $12, %xmm0, %xmm0, %xmm0 ; CHECK-AVX-NEXT: retq ; ; CHECK-AVX512-LABEL: test4: -; CHECK-AVX512: ## BB#0: +; CHECK-AVX512: ## %bb.0: ; CHECK-AVX512-NEXT: vrndscalesd $12, %xmm0, %xmm0, %xmm0 ; CHECK-AVX512-NEXT: retq %call = tail call double @nearbyint(double %x) nounwind readnone @@ -89,17 +89,17 @@ declare double @nearbyint(double) nounwind readnone define float @test5(float %x) nounwind { ; CHECK-SSE-LABEL: test5: -; CHECK-SSE: ## BB#0: +; CHECK-SSE: ## %bb.0: ; CHECK-SSE-NEXT: roundss $10, %xmm0, %xmm0 ; CHECK-SSE-NEXT: retq ; ; CHECK-AVX-LABEL: test5: -; CHECK-AVX: ## BB#0: +; CHECK-AVX: ## %bb.0: ; CHECK-AVX-NEXT: vroundss $10, %xmm0, %xmm0, %xmm0 ; CHECK-AVX-NEXT: retq ; ; CHECK-AVX512-LABEL: test5: -; CHECK-AVX512: ## BB#0: +; CHECK-AVX512: ## %bb.0: ; CHECK-AVX512-NEXT: vrndscaless $10, %xmm0, %xmm0, %xmm0 ; CHECK-AVX512-NEXT: retq %call = tail call float @ceilf(float %x) nounwind readnone @@ -110,17 +110,17 @@ declare float @ceilf(float) nounwind readnone define double @test6(double %x) nounwind { ; CHECK-SSE-LABEL: test6: -; CHECK-SSE: ## BB#0: +; CHECK-SSE: ## %bb.0: ; CHECK-SSE-NEXT: roundsd $10, %xmm0, %xmm0 ; CHECK-SSE-NEXT: retq ; ; CHECK-AVX-LABEL: test6: -; CHECK-AVX: ## BB#0: +; CHECK-AVX: ## %bb.0: ; CHECK-AVX-NEXT: vroundsd $10, %xmm0, %xmm0, %xmm0 ; CHECK-AVX-NEXT: retq ; ; CHECK-AVX512-LABEL: test6: -; CHECK-AVX512: ## BB#0: +; CHECK-AVX512: ## %bb.0: ; CHECK-AVX512-NEXT: vrndscalesd $10, %xmm0, %xmm0, %xmm0 ; CHECK-AVX512-NEXT: retq %call = tail call double @ceil(double %x) nounwind readnone @@ -131,17 +131,17 @@ declare double @ceil(double) nounwind readnone define float @test7(float %x) nounwind { ; CHECK-SSE-LABEL: test7: -; CHECK-SSE: ## BB#0: +; CHECK-SSE: ## %bb.0: ; CHECK-SSE-NEXT: roundss $4, %xmm0, %xmm0 ; CHECK-SSE-NEXT: retq ; ; CHECK-AVX-LABEL: test7: -; CHECK-AVX: ## BB#0: +; CHECK-AVX: ## %bb.0: ; CHECK-AVX-NEXT: vroundss $4, %xmm0, %xmm0, %xmm0 ; CHECK-AVX-NEXT: retq ; ; CHECK-AVX512-LABEL: test7: -; CHECK-AVX512: ## BB#0: +; CHECK-AVX512: ## %bb.0: ; CHECK-AVX512-NEXT: vrndscaless $4, %xmm0, %xmm0, %xmm0 ; CHECK-AVX512-NEXT: retq %call = tail call float @rintf(float %x) nounwind readnone @@ -152,17 +152,17 @@ declare float @rintf(float) nounwind readnone define double @test8(double %x) nounwind { ; CHECK-SSE-LABEL: test8: -; CHECK-SSE: ## BB#0: +; CHECK-SSE: ## %bb.0: ; CHECK-SSE-NEXT: roundsd $4, %xmm0, %xmm0 ; CHECK-SSE-NEXT: retq ; ; CHECK-AVX-LABEL: test8: -; CHECK-AVX: ## BB#0: +; CHECK-AVX: ## %bb.0: ; CHECK-AVX-NEXT: vroundsd $4, %xmm0, %xmm0, %xmm0 ; CHECK-AVX-NEXT: retq ; ; CHECK-AVX512-LABEL: test8: -; CHECK-AVX512: ## BB#0: +; CHECK-AVX512: ## %bb.0: ; CHECK-AVX512-NEXT: vrndscalesd $4, %xmm0, %xmm0, %xmm0 ; CHECK-AVX512-NEXT: retq %call = tail call double @rint(double %x) nounwind readnone @@ -173,17 +173,17 @@ declare double @rint(double) nounwind readnone define float @test9(float %x) nounwind { ; CHECK-SSE-LABEL: test9: -; CHECK-SSE: ## BB#0: +; CHECK-SSE: ## %bb.0: ; CHECK-SSE-NEXT: roundss $11, %xmm0, %xmm0 ; CHECK-SSE-NEXT: retq ; ; CHECK-AVX-LABEL: test9: -; CHECK-AVX: ## BB#0: +; CHECK-AVX: ## %bb.0: ; CHECK-AVX-NEXT: vroundss $11, %xmm0, %xmm0, %xmm0 ; CHECK-AVX-NEXT: retq ; ; CHECK-AVX512-LABEL: test9: -; CHECK-AVX512: ## BB#0: +; CHECK-AVX512: ## %bb.0: ; CHECK-AVX512-NEXT: vrndscaless $11, %xmm0, %xmm0, %xmm0 ; CHECK-AVX512-NEXT: retq %call = tail call float @truncf(float %x) nounwind readnone @@ -194,17 +194,17 @@ declare float @truncf(float) nounwind readnone define double @test10(double %x) nounwind { ; CHECK-SSE-LABEL: test10: -; CHECK-SSE: ## BB#0: +; CHECK-SSE: ## %bb.0: ; CHECK-SSE-NEXT: roundsd $11, %xmm0, %xmm0 ; CHECK-SSE-NEXT: retq ; ; CHECK-AVX-LABEL: test10: -; CHECK-AVX: ## BB#0: +; CHECK-AVX: ## %bb.0: ; CHECK-AVX-NEXT: vroundsd $11, %xmm0, %xmm0, %xmm0 ; CHECK-AVX-NEXT: retq ; ; CHECK-AVX512-LABEL: test10: -; CHECK-AVX512: ## BB#0: +; CHECK-AVX512: ## %bb.0: ; CHECK-AVX512-NEXT: vrndscalesd $11, %xmm0, %xmm0, %xmm0 ; CHECK-AVX512-NEXT: retq %call = tail call double @trunc(double %x) nounwind readnone |