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
669ff14e
Commit
669ff14e
authored
Mar 28, 2001
by
Bernd Schmidt
Committed by
Bernd Schmidt
Mar 28, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make hash values more random
From-SVN: r40931
parent
3553b09d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
13 deletions
+5
-13
gcc/ChangeLog
+4
-0
gcc/cselib.c
+1
-13
No files found.
gcc/ChangeLog
View file @
669ff14e
2001
-
03
-
28
Bernd
Schmidt
<
bernds
@redhat
.
com
>
*
cselib
.
c
(
hash_rtx
)
:
Don
'
t
do
tail
recursion
elimination
by
hand
.
2001
-
03
-
28
Richard
Henderson
<
rth
@redhat
.
com
>
*
config
/
rs6000
/
rs6000
.
h
(
EPILOGUE_USES
)
:
Use
TARGET_AIX
,
...
...
gcc/cselib.c
View file @
669ff14e
...
...
@@ -566,8 +566,6 @@ hash_rtx (x, mode, create)
const
char
*
fmt
;
unsigned
int
hash
=
0
;
/* repeat is used to turn tail-recursion into iteration. */
repeat
:
code
=
GET_CODE
(
x
);
hash
+=
(
unsigned
)
code
+
(
unsigned
)
GET_MODE
(
x
);
...
...
@@ -637,18 +635,8 @@ hash_rtx (x, mode, create)
if
(
fmt
[
i
]
==
'e'
)
{
rtx
tem
=
XEXP
(
x
,
i
);
unsigned
int
tem_hash
;
unsigned
int
tem_hash
=
hash_rtx
(
tem
,
0
,
create
)
;
/* If we are about to do the last recursive call
needed at this level, change it into iteration.
This function is called enough to be worth it. */
if
(
i
==
0
)
{
x
=
tem
;
goto
repeat
;
}
tem_hash
=
hash_rtx
(
tem
,
0
,
create
);
if
(
tem_hash
==
0
)
return
0
;
...
...
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