Commit 72ad6d33 by David Edelsohn Committed by David Edelsohn

* gfortran.dg/nint_p7.f90: New testcase.

From-SVN: r230898
parent 5546e160
2015-11-25 David Edelsohn <dje.gcc@gmail.com>
* gfortran.dg/nint_p7.f90: New testcase.
2015-11-25 Markus Trippelsdorf <markus@trippelsdorf.de> 2015-11-25 Markus Trippelsdorf <markus@trippelsdorf.de>
Paolo Carlini <paolo.carlini@oracle.com> Paolo Carlini <paolo.carlini@oracle.com>
......
! Fortran
! { dg-do compile { target { powerpc*-*-* } } }
! { dg-require-effective-target powerpc_vsx_ok }
! { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power7" } }
! { dg-options "-O2 -mcpu=power7 -ffast-math" }
! { dg-final { scan-assembler-times "xsrdpi" 2 } }
subroutine test_nint(x4,x8)
real(4) x4
real(8) x8
print *, nint(x4), idnint(x8)
end subroutine test_nint
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment