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
57c49199
Commit
57c49199
authored
Jul 03, 2017
by
Nathan Sidwell
Committed by
Nathan Sidwell
Jul 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* hash-table.h (hash_table_mod1): Fix indentation.
From-SVN: r249925
parent
2f70a979
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/hash-table.h
+1
-1
No files found.
gcc/ChangeLog
View file @
57c49199
2017
-
07
-
03
Nathan
Sidwell
<
nathan
@
acm
.
org
>
*
hash
-
table
.
h
(
hash_table_mod1
):
Fix
indentation
.
2017
-
07
-
02
Jan
Hubicka
<
hubicka
@
ucw
.
cz
>
2017
-
07
-
02
Jan
Hubicka
<
hubicka
@
ucw
.
cz
>
PR
middle
-
end
/
81290
PR
middle
-
end
/
81290
...
...
gcc/hash-table.h
View file @
57c49199
...
@@ -325,7 +325,7 @@ hash_table_mod1 (hashval_t hash, unsigned int index)
...
@@ -325,7 +325,7 @@ hash_table_mod1 (hashval_t hash, unsigned int index)
{
{
const
struct
prime_ent
*
p
=
&
prime_tab
[
index
];
const
struct
prime_ent
*
p
=
&
prime_tab
[
index
];
gcc_checking_assert
(
sizeof
(
hashval_t
)
*
CHAR_BIT
<=
32
);
gcc_checking_assert
(
sizeof
(
hashval_t
)
*
CHAR_BIT
<=
32
);
return
mul_mod
(
hash
,
p
->
prime
,
p
->
inv
,
p
->
shift
);
return
mul_mod
(
hash
,
p
->
prime
,
p
->
inv
,
p
->
shift
);
}
}
/* Compute the secondary table index for HASH given current prime index. */
/* Compute the secondary table index for HASH given current prime index. */
...
...
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