OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gfortran.dg/] [g77/] [20000511-1.f] - Blame information for rev 308

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 302 jeremybenn
c { dg-do compile }
2
      subroutine saxpy(n,sa,sx,incx,sy,incy)
3
C
4
C     constant times a vector plus a vector.
5
C     uses unrolled loop for increments equal to one.
6
C     jack dongarra, linpack, 3/11/78.
7
C     modified 12/3/93, array(1) declarations changed to array(*)
8
C
9
      real sx(*),sy(*),sa
10
      integer i,incx,incy,ix,iy,m,mp1,n
11
C
12
C  -ffast-math ICE provoked by this conditional
13
      if(sa /= 0.0)then
14
C
15
C        code for both increments equal to 1
16
C
17
         do i= 1,n
18
           sy(i)= sy(i)+sa*sx(i)
19
         enddo
20
      endif
21
      return
22
      end

powered by: WebSVN 2.1.0

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