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
c9a3d128
Commit
c9a3d128
authored
Jun 14, 2005
by
Devang Patel
Committed by
Devang Patel
Jun 14, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove vect-ifcvt-1.c
From-SVN: r100947
parent
0bddd936
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
75 deletions
+4
-75
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/vect/vect-ifcvt-1.c
+0
-75
No files found.
gcc/testsuite/ChangeLog
View file @
c9a3d128
2005
-
06
-
14
Devang
Patel
<
dpatel
@apple
.
com
>
*
gcc
.
dg
/
vect
/
vect
-
ifcvt
-
1
.
c
:
Remove
.
2005
-
06
-
14
Nathan
Sidwell
<
nathan
@codesourcery
.
com
>
2005
-
06
-
14
Nathan
Sidwell
<
nathan
@codesourcery
.
com
>
PR
c
++/
21929
PR
c
++/
21929
...
...
gcc/testsuite/gcc.dg/vect/vect-ifcvt-1.c
deleted
100644 → 0
View file @
0bddd936
/* { dg-require-effective-target vect_condition } */
#include <stdarg.h>
#include <signal.h>
#define N 64
#define MAX 42
extern
void
abort
(
void
);
int
main
()
{
int
A
[
N
];
int
B
[
N
];
int
C
[
N
];
int
D
[
N
];
int
i
,
j
;
for
(
i
=
0
;
i
<
N
;
i
++
)
{
A
[
i
]
=
i
;
B
[
i
]
=
i
;
C
[
i
]
=
i
;
D
[
i
]
=
i
;
}
/* Vectorizable */
for
(
i
=
0
;
i
<
16
;
i
++
)
{
A
[
i
]
=
A
[
i
+
20
];
}
/* check results: */
for
(
i
=
0
;
i
<
16
;
i
++
)
{
if
(
A
[
i
]
!=
A
[
i
+
20
])
abort
();
}
/* Vectorizable */
for
(
i
=
0
;
i
<
16
;
i
++
)
{
B
[
i
]
=
B
[
i
]
+
5
;
}
/* check results: */
for
(
i
=
0
;
i
<
16
;
i
++
)
{
if
(
B
[
i
]
!=
C
[
i
]
+
5
)
abort
();
}
/* Not vectorizable */
for
(
i
=
0
;
i
<
4
;
i
++
)
{
C
[
i
]
=
C
[
i
+
3
];
}
/* check results: */
for
(
i
=
0
;
i
<
4
;
i
++
)
{
if
(
C
[
i
]
!=
D
[
i
+
3
])
abort
();
}
return
0
;
}
/* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } } */
/* { dg-final { scan-tree-dump-times "accesses have the same alignment." 2 "vect" } } */
/* { dg-final { cleanup-tree-dump "vect" } } */
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