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
371502a8
Commit
371502a8
authored
Aug 25, 2000
by
Michael Hayes
Committed by
Michael Hayes
Aug 25, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* loop.c (constant_high_bytes): Delete.
From-SVN: r35977
parent
e375c819
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
42 deletions
+4
-42
gcc/ChangeLog
+4
-0
gcc/loop.c
+0
-42
No files found.
gcc/ChangeLog
View file @
371502a8
2000-08-26 Michael Hayes <mhayes@cygnus.com>
* loop.c (constant_high_bytes): Delete.
2000-08-26 Michael Hayes <mhayes@cygnus.com>
* loop.c (prescan_loop): Move checks for NOTE_INSN_LOOP_CONT
and NOTE_INSN_LOOP_VTOP to...
...
...
gcc/loop.c
View file @
371502a8
...
...
@@ -2328,48 +2328,6 @@ count_nonfixed_reads (loop, x)
return
value
;
}
#if 0
/* P is an instruction that sets a register to the result of a ZERO_EXTEND.
Replace it with an instruction to load just the low bytes
if the machine supports such an instruction,
and insert above LOOP_START an instruction to clear the register. */
static void
constant_high_bytes (p, loop_start)
rtx p, loop_start;
{
register rtx new;
register int insn_code_number;
/* Try to change (SET (REG ...) (ZERO_EXTEND (..:B ...)))
to (SET (STRICT_LOW_PART (SUBREG:B (REG...))) ...). */
new
= gen_rtx_SET
(VOIDmode,
gen_rtx_STRICT_LOW_PART
(VOIDmode,
gen_rtx_SUBREG (GET_MODE (XEXP (SET_SRC (PATTERN (p)), 0)),
SET_DEST (PATTERN (p)), 0)),
XEXP (SET_SRC (PATTERN (p)), 0));
insn_code_number = recog (new, p);
if (insn_code_number)
{
register int i;
/* Clear destination register before the loop. */
emit_insn_before (gen_rtx_SET (VOIDmode,
SET_DEST (PATTERN (p)), const0_rtx),
loop_start);
/* Inside the loop, just load the low part. */
PATTERN (p) = new;
}
}
#endif
/* Scan a loop setting the elements `cont', `vtop', `loops_enclosed',
`has_call', `has_volatile', and `has_tablejump' within LOOP.
Set the global variables `unknown_address_altered',
...
...
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