OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [testsuite/] [gfortran.dg/] [pr32533.f90] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 149 jeremybenn
! { dg-do run }
2
! { dg-options "-O2 -ftree-vectorize -ffast-math" }
3
!
4
! Contributed by Joost VandeVondele 
5
!
6
SUBROUTINE T(nsubcell,sab_max,subcells)
7
  INTEGER, PARAMETER :: dp=KIND(0.0D0)
8
  REAL(dp) :: sab_max(3), subcells,nsubcell(3)
9
  nsubcell(:) = MIN(MAX(1,NINT(0.5_dp*subcells/sab_max(:))),20)
10
END SUBROUTINE T
11
 
12
INTEGER, PARAMETER :: dp=KIND(0.0D0)
13
REAL(dp) :: sab_max(3), subcells,nsubcell(3)
14
subcells=2.0_dp
15
sab_max=0.590060749244805_dp
16
CALL T(nsubcell,sab_max,subcells)
17
IF (ANY(nsubcell.NE.2.0_dp)) CALL ABORT()
18
END

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.