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
7bef8680
Commit
7bef8680
authored
Dec 13, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(subst, case MINUS): Canonicalize (minus A (plus A B)).
From-SVN: r6226
parent
9e269f72
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
gcc/combine.c
+11
-0
No files found.
gcc/combine.c
View file @
7bef8680
...
@@ -3564,6 +3564,17 @@ subst (x, from, to, in_dest, unique_copy)
...
@@ -3564,6 +3564,17 @@ subst (x, from, to, in_dest, unique_copy)
-
INTVAL
(
XEXP
(
XEXP
(
x
,
1
),
1
))
-
1
);
-
INTVAL
(
XEXP
(
XEXP
(
x
,
1
),
1
))
-
1
);
goto
restart
;
goto
restart
;
}
}
/* Canonicalize (minus A (plus B C)) to (minus (minus A B) C) for
integers. */
if
(
GET_CODE
(
XEXP
(
x
,
1
))
==
PLUS
&&
INTEGRAL_MODE_P
(
mode
))
{
x
=
gen_binary
(
MINUS
,
mode
,
gen_binary
(
MINUS
,
mode
,
XEXP
(
x
,
0
),
XEXP
(
XEXP
(
x
,
1
),
0
)),
XEXP
(
XEXP
(
x
,
1
),
1
));
goto
restart
;
}
break
;
break
;
case
MULT
:
case
MULT
:
...
...
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