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
23357404
Commit
23357404
authored
Oct 21, 1996
by
Torbjorn Granlund
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_binop): Use new function emit_store_flag_force.
From-SVN: r12988
parent
04a8ee2f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
11 deletions
+10
-11
gcc/optabs.c
+10
-11
No files found.
gcc/optabs.c
View file @
23357404
...
...
@@ -921,12 +921,11 @@ expand_binop (mode, binoptab, op0, op1, target, unsignedp, methods)
{
/* Store carry from main add/subtract. */
carry_out
=
gen_reg_rtx
(
word_mode
);
carry_out
=
emit_store_flag
(
carry_out
,
binoptab
==
add_optab
?
LTU
:
GTU
,
x
,
op0_piece
,
word_mode
,
1
,
normalizep
);
if
(
carry_out
==
0
)
break
;
carry_out
=
emit_store_flag_force
(
carry_out
,
(
binoptab
==
add_optab
?
LTU
:
GTU
),
x
,
op0_piece
,
word_mode
,
1
,
normalizep
);
}
if
(
i
>
0
)
...
...
@@ -945,11 +944,11 @@ expand_binop (mode, binoptab, op0, op1, target, unsignedp, methods)
{
/* THIS CODE HAS NOT BEEN TESTED. */
/* Get out carry from adding/subtracting carry in. */
carry_tmp
=
emit_store_flag
(
carry_tmp
,
binoptab
==
add_optab
?
LTU
:
GTU
,
x
,
carry_in
,
word_mode
,
1
,
normalizep
);
carry_tmp
=
emit_store_flag
_force
(
carry_tmp
,
binoptab
==
add_optab
?
LTU
:
GTU
,
x
,
carry_in
,
word_mode
,
1
,
normalizep
);
/* Logical-ior the two poss. carry together. */
carry_out
=
expand_binop
(
word_mode
,
ior_optab
,
...
...
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