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
8125d7e9
Commit
8125d7e9
authored
Aug 05, 2001
by
Bernd Schmidt
Committed by
Bernd Schmidt
Aug 05, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prefer a temporary register over directly storing into memory.
From-SVN: r44649
parent
acb0638d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
gcc/ChangeLog
+3
-0
gcc/expr.c
+2
-2
No files found.
gcc/ChangeLog
View file @
8125d7e9
...
@@ -20,6 +20,9 @@
...
@@ -20,6 +20,9 @@
*
config
/
ia64
/
ia64
.
md
(
cond_opsi2_internal
and
splitters
)
:
New
*
config
/
ia64
/
ia64
.
md
(
cond_opsi2_internal
and
splitters
)
:
New
patterns
.
patterns
.
*
expr
.
c
(
expand_expr
,
case
COND_EXPR
):
Prefer
working
with
a
temporary
register
than
directly
using
a
MEM
.
2001
-
08
-
04
Hans
-
Peter
Nilsson
<
hp
@bitrange
.
com
>
2001
-
08
-
04
Hans
-
Peter
Nilsson
<
hp
@bitrange
.
com
>
*
config
/
sh
/
sh
.
c
(
sh_asm_named_section
)
:
Fix
typo
in
align
*
config
/
sh
/
sh
.
c
(
sh_asm_named_section
)
:
Fix
typo
in
align
...
...
gcc/expr.c
View file @
8125d7e9
...
@@ -8211,8 +8211,8 @@ expand_expr (exp, target, tmode, modifier)
...
@@ -8211,8 +8211,8 @@ expand_expr (exp, target, tmode, modifier)
||
GET_CODE
(
original_target
)
==
REG
||
GET_CODE
(
original_target
)
==
REG
||
TREE_ADDRESSABLE
(
type
))
||
TREE_ADDRESSABLE
(
type
))
#endif
#endif
&&
!
(
GET_CODE
(
original_target
)
=
=
MEM
&&
(
GET_CODE
(
original_target
)
!
=
MEM
&&
MEM_VOLATILE_P
(
original_target
)))
||
TREE_ADDRESSABLE
(
type
)))
temp
=
original_target
;
temp
=
original_target
;
else
if
(
TREE_ADDRESSABLE
(
type
))
else
if
(
TREE_ADDRESSABLE
(
type
))
abort
();
abort
();
...
...
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