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
aa0cd7a2
Commit
aa0cd7a2
authored
Mar 02, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(gen_move_insn): Big `if' applies only for MODE_CC class.
From-SVN: r3592
parent
dae1d304
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
gcc/optabs.c
+3
-3
No files found.
gcc/optabs.c
View file @
aa0cd7a2
...
@@ -2577,15 +2577,15 @@ gen_move_insn (x, y)
...
@@ -2577,15 +2577,15 @@ gen_move_insn (x, y)
find a mode to do it in. If we have a movcc, use it. Otherwise,
find a mode to do it in. If we have a movcc, use it. Otherwise,
find the MODE_INT mode of the same width. */
find the MODE_INT mode of the same width. */
if
(
insn_code
==
CODE_FOR_nothing
)
if
(
GET_MODE_CLASS
(
mode
)
==
MODE_CC
&&
insn_code
==
CODE_FOR_nothing
)
{
{
enum
machine_mode
tmode
=
VOIDmode
;
enum
machine_mode
tmode
=
VOIDmode
;
rtx
x1
=
x
,
y1
=
y
;
rtx
x1
=
x
,
y1
=
y
;
if
(
GET_MODE_CLASS
(
mode
)
==
MODE_CC
&&
mode
!=
CCmode
if
(
mode
!=
CCmode
&&
mov_optab
->
handlers
[(
int
)
CCmode
].
insn_code
!=
CODE_FOR_nothing
)
&&
mov_optab
->
handlers
[(
int
)
CCmode
].
insn_code
!=
CODE_FOR_nothing
)
tmode
=
CCmode
;
tmode
=
CCmode
;
else
if
(
GET_MODE_CLASS
(
mode
)
==
MODE_CC
)
else
for
(
tmode
=
QImode
;
tmode
!=
VOIDmode
;
for
(
tmode
=
QImode
;
tmode
!=
VOIDmode
;
tmode
=
GET_MODE_WIDER_MODE
(
tmode
))
tmode
=
GET_MODE_WIDER_MODE
(
tmode
))
if
(
GET_MODE_SIZE
(
tmode
)
==
GET_MODE_SIZE
(
mode
))
if
(
GET_MODE_SIZE
(
tmode
)
==
GET_MODE_SIZE
(
mode
))
...
...
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