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
1a650423
Commit
1a650423
authored
Apr 14, 2009
by
Michael Meissner
Committed by
Michael Meissner
Apr 14, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
re PR testsuite/39769 (vmx tests fail due to reliance on floating point equality)
PR testsuite/39769 From-SVN: r146068
parent
6cd1d2e2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
7 deletions
+27
-7
gcc/testsuite/ChangeLog
+8
-0
gcc/testsuite/gcc.dg/vmx/3a-04.c
+6
-2
gcc/testsuite/gcc.dg/vmx/3a-04m.c
+6
-2
gcc/testsuite/gcc.dg/vmx/3a-05.c
+7
-3
No files found.
gcc/testsuite/ChangeLog
View file @
1a650423
2009-04-14 Michael Meissner <meissner@linux.vnet.ibm.com>
PR testsuite/39769
* gcc.dg/vmx/3a-04.c (test): Don't rely on floating point equality
for testing the results of estimate instructions.
* gcc.dg/vmx/3a-04m.c (test): Ditto.
* gcc.dg/vmx/3a-05.c (test): Ditto.
2009-04-14 Jason Merrill <jason@redhat.com>
PR c++/39763
...
...
gcc/testsuite/gcc.dg/vmx/3a-04.c
View file @
1a650423
...
...
@@ -10,9 +10,13 @@ f(vector float a, vector float b, vector float c)
static
void
test
()
{
check
(
vec_all_
eq
(
f
(((
vector
float
){
2
,
3
,
5
,
7
}),
check
(
vec_all_
gt
(
f
(((
vector
float
){
2
,
3
,
5
,
7
}),
((
vector
float
){
11
,
13
,
17
,
19
}),
((
vector
float
){
23
,
29
,
31
,
37
})),
((
vector
float
){
23
.
1818085
,
29
.
2307587
,
32
.
2940826
,
128
.
368393
})),
((
vector
float
){
23
.
18
,
29
.
23
,
32
.
29
,
128
.
36
}))
&&
vec_all_lt
(
f
(((
vector
float
){
2
,
3
,
5
,
7
}),
((
vector
float
){
11
,
13
,
17
,
19
}),
((
vector
float
){
23
,
29
,
31
,
37
})),
((
vector
float
){
23
.
19
,
29
.
24
,
32
.
30
,
128
.
37
})),
"f"
);
}
gcc/testsuite/gcc.dg/vmx/3a-04m.c
View file @
1a650423
...
...
@@ -10,9 +10,13 @@ f(vector float a, vector float b, vector float c)
static
void
test
()
{
check
(
vec_all_
eq
(
f
(((
vector
float
){
2
,
3
,
5
,
7
}),
check
(
vec_all_
gt
(
f
(((
vector
float
){
2
,
3
,
5
,
7
}),
((
vector
float
){
11
,
13
,
17
,
19
}),
((
vector
float
){
23
,
29
,
31
,
37
})),
((
vector
float
){
23
.
1818085
,
29
.
2307587
,
32
.
2940826
,
128
.
368393
})),
((
vector
float
){
23
.
18
,
29
.
23
,
32
.
29
,
128
.
36
}))
&&
vec_all_lt
(
f
(((
vector
float
){
2
,
3
,
5
,
7
}),
((
vector
float
){
11
,
13
,
17
,
19
}),
((
vector
float
){
23
,
29
,
31
,
37
})),
((
vector
float
){
23
.
19
,
29
.
24
,
32
.
30
,
128
.
37
})),
"f"
);
}
gcc/testsuite/gcc.dg/vmx/3a-05.c
View file @
1a650423
...
...
@@ -14,9 +14,13 @@ f(vector float a, vector float b, vector float c)
static
void
test
()
{
check
(
vec_all_
eq
(
f
(((
vector
float
){
2
,
3
,
5
,
7
}),
check
(
vec_all_
gt
(
f
(((
vector
float
){
2
,
3
,
5
,
7
}),
((
vector
float
){
11
,
13
,
17
,
19
}),
((
vector
float
){
23
,
29
,
31
,
37
})),
((
vector
float
){
16
.
9092026
,
18
.
7693329
,
-
2
.
8233242
,
-
92
.
9472198
})),
"f"
);
((
vector
float
){
16
.
90
,
18
.
76
,
-
2
.
83
,
-
92
.
95
}))
&&
vec_all_lt
(
f
(((
vector
float
){
2
,
3
,
5
,
7
}),
((
vector
float
){
11
,
13
,
17
,
19
}),
((
vector
float
){
23
,
29
,
31
,
37
})),
((
vector
float
){
16
.
91
,
18
.
77
,
-
2
.
82
,
-
92
.
94
})),
"f"
);
}
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