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
460f50dc
Commit
460f50dc
authored
Feb 02, 1998
by
J"orn Rennecke
Committed by
Jeff Law
Feb 01, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* loop.c (get_condition): Handle sign-extended constants.
From-SVN: r17590
parent
db771a3c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
gcc/ChangeLog
+4
-0
gcc/loop.c
+4
-2
No files found.
gcc/ChangeLog
View file @
460f50dc
Mon Feb 2 01:38:39 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* loop.c (get_condition): Handle sign-extended constants.
Mon Feb 2 01:22:46 1998 Hans-Peter Nilsson <hp@axis.se>
* expr.c (emit_push_insn): Add code to use movstrti if present.
...
...
gcc/loop.c
View file @
460f50dc
...
...
@@ -7075,15 +7075,17 @@ get_condition (jump, earliest)
code
=
LT
,
op1
=
GEN_INT
(
const_val
+
1
);
break
;
/* When cross-compiling, const_val might be sign-extended from
BITS_PER_WORD to HOST_BITS_PER_WIDE_INT */
case
GE
:
if
(
const_val
if
(
(
const_val
&
max_val
)
!=
(((
HOST_WIDE_INT
)
1
<<
(
GET_MODE_BITSIZE
(
GET_MODE
(
op0
))
-
1
))))
code
=
GT
,
op1
=
GEN_INT
(
const_val
-
1
);
break
;
case
LEU
:
if
(
uconst_val
!=
max_val
)
if
(
uconst_val
<
max_val
)
code
=
LTU
,
op1
=
GEN_INT
(
uconst_val
+
1
);
break
;
...
...
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