Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
487c67b6
Commit
487c67b6
authored
Sep 24, 2004
by
Tobias Schlüter
Committed by
Tobias Schlüter
Sep 24, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* intrinsics/etime.c (etime_): New function.
From-SVN: r88052
parent
206fb0a7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
0 deletions
+23
-0
libgfortran/ChangeLog
+4
-0
libgfortran/intrinsics/etime.c
+19
-0
No files found.
libgfortran/ChangeLog
View file @
487c67b6
2004-09-24 Tobias Schlueter <tobis.schlueter@physik.uni-muenchen.de>
* intrinsics/etime.c (etime_): New function.
2004-09-21 Steven G. Kargl <kargls@comcast.net>
* libgfortran.h: define gfc_alloca()
...
...
libgfortran/intrinsics/etime.c
View file @
487c67b6
...
...
@@ -78,3 +78,22 @@ prefix(etime) (gfc_array_r4 *t)
prefix
(
etime_sub
)
(
t
,
&
val
);
return
val
;
}
/* LAPACK's test programs declares ETIME external, therefore we
need this. */
GFC_REAL_4
etime_
(
GFC_REAL_4
*
t
)
{
gfc_array_r4
desc
;
GFC_REAL_4
val
;
/* We only fill in the fields that are used in etime_sub. */
desc
.
dim
[
0
].
lbound
=
0
;
desc
.
dim
[
0
].
ubound
=
1
;
desc
.
dim
[
0
].
stride
=
1
;
desc
.
data
=
t
;
prefix
(
etime_sub
)
(
&
desc
,
&
val
);
return
val
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment