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
fd34c882
Commit
fd34c882
authored
May 04, 1998
by
Jeff Law
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New test.
From-SVN: r19536
parent
2bbb51a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
gcc/testsuite/gcc.c-torture/compile/980504-1.c
+28
-0
No files found.
gcc/testsuite/gcc.c-torture/compile/980504-1.c
0 → 100644
View file @
fd34c882
typedef
struct
_geom_elem
{
double
coeffs
[
6
];
}
pGeomDefRec
,
*
pGeomDefPtr
;
typedef
struct
_mpgeombanddef
{
int
yOut
;
int
in_width
;
}
mpGeometryBandRec
,
*
mpGeometryBandPtr
;
typedef
void
*
pointer
;
typedef
unsigned
char
CARD8
;
typedef
CARD8
BytePixel
;
void
BiGL_B
(
OUTP
,
srcimg
,
width
,
sline
,
pedpvt
,
pvtband
)
pointer
OUTP
;
pointer
*
srcimg
;
register
int
width
;
int
sline
;
pGeomDefPtr
pedpvt
;
mpGeometryBandPtr
pvtband
;
{
register
float
s
,
t
,
st
;
register
int
isrcline
,
isrcpix
;
register
int
srcwidth
=
pvtband
->
in_width
-
1
;
register
BytePixel
val
;
register
BytePixel
*
ptrIn
,
*
ptrJn
;
register
double
a
=
pedpvt
->
coeffs
[
0
];
register
double
c
=
pedpvt
->
coeffs
[
2
];
register
double
srcpix
=
a
*
((
double
)(
0
.
0000
))
+
pedpvt
->
coeffs
[
1
]
*
(
pvtband
->
yOut
+
((
double
)(
0
.
0000
))
)
+
pedpvt
->
coeffs
[
4
];
register
double
srcline
=
c
*
((
double
)(
0
.
0000
))
+
pedpvt
->
coeffs
[
3
]
*
(
pvtband
->
yOut
+
((
double
)(
0
.
0000
))
)
+
pedpvt
->
coeffs
[
5
];
if
(
(
isrcpix
>=
0
)
&&
(
isrcpix
<
srcwidth
)
)
val
=
ptrIn
[
isrcpix
]
*
((
float
)
1
.
-
s
-
t
+
st
)
+
ptrIn
[
isrcpix
+
1
]
*
(
s
-
st
)
+
ptrJn
[
isrcpix
]
*
(
t
-
st
)
+
ptrJn
[
isrcpix
+
1
]
*
(
st
)
+
(
float
)
0
.
5
;
}
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