aarch64: Add vector floating point extend pattern [PR113880, PR113869]
[official-gcc.git] / gcc / testsuite / gfortran.dg / simd-builtins-8.f90
blob0237235b5ae88b39fef5f9599776e16392c89691
1 ! { dg-do compile { target { aarch64*-*-linux* } } }
2 ! { dg-additional-options "-nostdinc -Ofast -fpre-include=simd-builtins-8.h -fdump-tree-optimized" }
4 program test_overloaded_intrinsic
5 real(4) :: x4(3200), y4(3200)
6 real(8) :: x8(3200), y8(3200)
8 y4 = sin(x4)
9 print *, y4
11 y4 = sin(x8)
12 print *, y8
13 end
15 ! { dg-final { scan-tree-dump "sinf.simdclone" "optimized" { target ilp32 } } } */
16 ! { dg-final { scan-tree-dump-not "sin.simdclone" "optimized" { target ilp32 } } } */
18 ! { dg-final { scan-tree-dump "sin.simdclone" "optimized" { target lp64 } } } */
19 ! { dg-final { scan-tree-dump-not "sinf.simdclone" "optimized" { target lp64 } } } */