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
68872bed
Commit
68872bed
authored
Dec 05, 2011
by
Matthew Gretton-Dann
Committed by
Matthew Gretton-Dann
Dec 05, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* gcc/testsuite/gcc.dg/torture/vec-cvt-1.c (FLTTEST): Call rand instead of random.
From-SVN: r182008
parent
bc590dfb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
6 deletions
+10
-6
gcc/testsuite/ChangeLog
+4
-0
gcc/testsuite/gcc.dg/torture/vec-cvt-1.c
+6
-6
No files found.
gcc/testsuite/ChangeLog
View file @
68872bed
2011-12-05 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* gcc.dg/torture/vec-cvt-1.c (FLTTEST): Call rand instead of random.
2011-12-05 Jakub Jelinek <jakub@redhat.com>
Eric Botcazou <ebotcazou@adacore.com>
...
...
gcc/testsuite/gcc.dg/torture/vec-cvt-1.c
View file @
68872bed
...
...
@@ -104,9 +104,9 @@ flttointtest##intt (void) \
abort (); \
for (i = 0; i < N; i++) \
{ \
unsigned long long r = rand
om
(); \
r = (r << 21) ^ (unsigned) rand
om
(); \
r = (r << 21) ^ (unsigned) rand
om
(); \
unsigned long long r = rand (); \
r = (r << 21) ^ (unsigned) rand (); \
r = (r << 21) ^ (unsigned) rand (); \
asm (""); \
f[i] = (r >> 59) / 32.0f + (__typeof (intt[0])) r; \
if (f[i] < fltmin) f[i] = fltmin; \
...
...
@@ -157,9 +157,9 @@ inttoflttest##intt (void) \
} \
for (i = 0; i < N; i++) \
{ \
unsigned long long r = rand
om
(); \
r = (r << 21) ^ (unsigned) rand
om
(); \
r = (r << 21) ^ (unsigned) rand
om
(); \
unsigned long long r = rand (); \
r = (r << 21) ^ (unsigned) rand (); \
r = (r << 21) ^ (unsigned) rand (); \
asm (""); \
intt[i] = r; \
} \
...
...
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