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
9a794e50
Commit
9a794e50
authored
Mar 06, 1999
by
Richard Henderson
Committed by
Richard Henderson
Mar 06, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cse.c (canon_hash): Never reject hard regs in CCmode.
From-SVN: r25623
parent
fc095971
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
1 deletions
+11
-1
gcc/ChangeLog
+4
-0
gcc/cse.c
+7
-1
No files found.
gcc/ChangeLog
View file @
9a794e50
Sun
Mar
7
01
:
58
:
47
1999
Richard
Henderson
<
rth
@cygnus
.
com
>
*
cse
.
c
(
canon_hash
)
:
Never
reject
hard
regs
in
CCmode
.
Sun
Mar
7
01
:
15
:
04
PST
1999
Jeff
Law
(
law
@cygnus
.
com
)
Sun
Mar
7
01
:
15
:
04
PST
1999
Jeff
Law
(
law
@cygnus
.
com
)
*
version
.
c
:
Bump
for
snapshot
.
*
version
.
c
:
Bump
for
snapshot
.
...
...
gcc/cse.c
View file @
9a794e50
...
@@ -2010,6 +2010,11 @@ canon_hash (x, mode)
...
@@ -2010,6 +2010,11 @@ canon_hash (x, mode)
/* On some machines, we can't record any non-fixed hard register,
/* On some machines, we can't record any non-fixed hard register,
because extending its life will cause reload problems. We
because extending its life will cause reload problems. We
consider ap, fp, and sp to be fixed for this purpose.
consider ap, fp, and sp to be fixed for this purpose.
We also consider CCmode registers to be fixed for this purpose;
failure to do so leads to failure to simplify 0<100 type of
conditionals.
On all machines, we can't record any global registers. */
On all machines, we can't record any global registers. */
if
(
regno
<
FIRST_PSEUDO_REGISTER
if
(
regno
<
FIRST_PSEUDO_REGISTER
...
@@ -2019,7 +2024,8 @@ canon_hash (x, mode)
...
@@ -2019,7 +2024,8 @@ canon_hash (x, mode)
&&
regno
!=
FRAME_POINTER_REGNUM
&&
regno
!=
FRAME_POINTER_REGNUM
&&
regno
!=
HARD_FRAME_POINTER_REGNUM
&&
regno
!=
HARD_FRAME_POINTER_REGNUM
&&
regno
!=
ARG_POINTER_REGNUM
&&
regno
!=
ARG_POINTER_REGNUM
&&
regno
!=
STACK_POINTER_REGNUM
)))
&&
regno
!=
STACK_POINTER_REGNUM
&&
GET_MODE_CLASS
(
GET_MODE
(
x
))
!=
MODE_CC
)))
{
{
do_not_record
=
1
;
do_not_record
=
1
;
return
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