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
8080be5f
Commit
8080be5f
authored
May 27, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(try_combine): Don't make complemented NOT for constant out of range.
From-SVN: r7370
parent
d46f42a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
26 deletions
+0
-26
gcc/combine.c
+0
-26
No files found.
gcc/combine.c
View file @
8080be5f
...
@@ -1704,32 +1704,6 @@ try_combine (i3, i2, i1)
...
@@ -1704,32 +1704,6 @@ try_combine (i3, i2, i1)
insn_code_number
=
recog_for_combine
(
&
newpat
,
i3
,
&
new_i3_notes
);
insn_code_number
=
recog_for_combine
(
&
newpat
,
i3
,
&
new_i3_notes
);
}
}
/* See if this is an XOR. If so, perhaps the problem is that the
constant is out of range. Replace it with a complemented XOR with
a complemented constant; it might be in range. */
else
if
(
insn_code_number
<
0
&&
GET_CODE
(
newpat
)
==
SET
&&
GET_CODE
(
SET_SRC
(
newpat
))
==
XOR
&&
GET_CODE
(
XEXP
(
SET_SRC
(
newpat
),
1
))
==
CONST_INT
&&
((
temp
=
simplify_unary_operation
(
NOT
,
GET_MODE
(
SET_SRC
(
newpat
)),
XEXP
(
SET_SRC
(
newpat
),
1
),
GET_MODE
(
SET_SRC
(
newpat
))))
!=
0
))
{
enum
machine_mode
i_mode
=
GET_MODE
(
SET_SRC
(
newpat
));
rtx
pat
=
gen_rtx_combine
(
SET
,
VOIDmode
,
SET_DEST
(
newpat
),
gen_unary
(
NOT
,
i_mode
,
gen_binary
(
XOR
,
i_mode
,
XEXP
(
SET_SRC
(
newpat
),
0
),
temp
)));
insn_code_number
=
recog_for_combine
(
&
pat
,
i3
,
&
new_i3_notes
);
if
(
insn_code_number
>=
0
)
newpat
=
pat
;
}
/* If we were combining three insns and the result is a simple SET
/* If we were combining three insns and the result is a simple SET
with no ASM_OPERANDS that wasn't recognized, try to split it into two
with no ASM_OPERANDS that wasn't recognized, try to split it into two
insns. There are two ways to do this. It can be split using a
insns. There are two ways to do this. It can be split using a
...
...
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