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
89b7c471
Commit
89b7c471
authored
Jun 28, 1996
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(alpha_emit_conditional_move): Emit correct code when incoming
comparison code is NE. From-SVN: r12364
parent
d7f21d63
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
gcc/config/alpha/alpha.c
+3
-2
No files found.
gcc/config/alpha/alpha.c
View file @
89b7c471
...
...
@@ -1035,6 +1035,7 @@ alpha_emit_conditional_move (cmp, mode)
enum
machine_mode
mode
;
{
enum
rtx_code
code
=
GET_CODE
(
cmp
);
enum
rtx_code
cmov_code
=
NE
;
rtx
op0
=
alpha_compare_op0
;
rtx
op1
=
alpha_compare_op1
;
enum
machine_mode
cmp_mode
...
...
@@ -1065,6 +1066,7 @@ alpha_emit_conditional_move (cmp, mode)
case
NE
:
/* This must be reversed. */
code
=
reverse_condition
(
code
);
cmov_code
=
EQ
;
break
;
case
GE
:
case
GT
:
case
GEU
:
case
GTU
:
...
...
@@ -1081,8 +1083,7 @@ alpha_emit_conditional_move (cmp, mode)
tem
=
gen_reg_rtx
(
cmp_op_mode
);
emit_move_insn
(
tem
,
gen_rtx
(
code
,
cmp_op_mode
,
op0
,
op1
));
return
gen_rtx
(
code
==
NE
?
EQ
:
NE
,
VOIDmode
,
tem
,
CONST0_RTX
(
cmp_op_mode
));
return
gen_rtx
(
cmov_code
,
VOIDmode
,
tem
,
CONST0_RTX
(
cmp_op_mode
));
}
/* Adjust the cost of a scheduling dependency. Return the new cost of
...
...
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