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
c8e7fe58
Commit
c8e7fe58
authored
Jun 28, 1999
by
David Edelsohn
Committed by
Jeff Law
Jun 27, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
From-SVN: r27796
parent
8119eca6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
gcc/ChangeLog
+4
-0
gcc/expmed.c
+3
-1
No files found.
gcc/ChangeLog
View file @
c8e7fe58
Mon Jun 28 04:07:27 1999 David Edelsohn <edelsohn@gnu.org>
* expmed.c (expand_divmod): Ensure unsigned value fits in reg_note.
Sun Jun 27 02:39:08 1999 Richard Henderson <rth@cygnus.com>
* jump.c (jump_optimize_1): Validate the cmov copy to a temporary.
...
...
gcc/expmed.c
View file @
c8e7fe58
...
...
@@ -3246,7 +3246,9 @@ expand_divmod (rem_flag, code, mode, op0, op1, target, unsignedp)
insn
=
get_last_insn
();
if
(
insn
!=
last
&&
(
set
=
single_set
(
insn
))
!=
0
&&
SET_DEST
(
set
)
==
quotient
)
&&
SET_DEST
(
set
)
==
quotient
&&
abs_d
<
((
unsigned
HOST_WIDE_INT
)
1
<<
(
HOST_BITS_PER_WIDE_INT
-
1
)))
set_unique_reg_note
(
insn
,
REG_EQUAL
,
gen_rtx_DIV
(
compute_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