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
d80e9fd7
Commit
d80e9fd7
authored
Jul 04, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r1432
parent
6aeff465
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
7 deletions
+19
-7
gcc/cse.c
+16
-2
gcc/reorg.c
+3
-5
No files found.
gcc/cse.c
View file @
d80e9fd7
...
...
@@ -2879,7 +2879,14 @@ simplify_unary_operation (code, mode, op, op_mode)
if
(
op_mode
==
VOIDmode
)
op_mode
=
mode
;
if
(
GET_MODE_BITSIZE
(
op_mode
)
==
HOST_BITS_PER_INT
)
val
=
arg0
;
{
/* If we were really extending the mode,
we would have to distinguish between zero-extension
and sign-extension. */
if
(
width
!=
GET_MODE_BITSIZE
(
op_mode
))
abort
();
val
=
arg0
;
}
else
if
(
GET_MODE_BITSIZE
(
op_mode
)
<
HOST_BITS_PER_INT
)
val
=
arg0
&
~
((
-
1
)
<<
GET_MODE_BITSIZE
(
op_mode
));
else
...
...
@@ -2890,7 +2897,14 @@ simplify_unary_operation (code, mode, op, op_mode)
if
(
op_mode
==
VOIDmode
)
op_mode
=
mode
;
if
(
GET_MODE_BITSIZE
(
op_mode
)
==
HOST_BITS_PER_INT
)
val
=
arg0
;
{
/* If we were really extending the mode,
we would have to distinguish between zero-extension
and sign-extension. */
if
(
width
!=
GET_MODE_BITSIZE
(
op_mode
))
abort
();
val
=
arg0
;
}
else
if
(
GET_MODE_BITSIZE
(
op_mode
)
<
HOST_BITS_PER_INT
)
{
val
=
arg0
&
~
((
-
1
)
<<
GET_MODE_BITSIZE
(
op_mode
));
...
...
gcc/reorg.c
View file @
d80e9fd7
...
...
@@ -19,11 +19,6 @@ You should have received a copy of the GNU General Public License
along with GNU CC; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "insn-attr.h"
#ifdef DELAY_SLOTS
/* Instruction reorganization pass.
This pass runs after register allocation and final jump
...
...
@@ -125,6 +120,9 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "flags.h"
#include "output.h"
#include "obstack.h"
#include "insn-attr.h"
#ifdef DELAY_SLOTS
#define obstack_chunk_alloc xmalloc
#define obstack_chunk_free free
...
...
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