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
2d6f2dce
Commit
2d6f2dce
authored
Jun 11, 2015
by
Marek Polacek
Committed by
Marek Polacek
Jun 11, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* match.pd ((x & y) ^ (x | y)): Don't check for single_use.
From-SVN: r224390
parent
a0349665
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
gcc/ChangeLog
+4
-0
gcc/match.pd
+2
-3
No files found.
gcc/ChangeLog
View file @
2d6f2dce
2015-06-11 Marek Polacek <polacek@redhat.com>
* match.pd ((x & y) ^ (x | y)): Don't check for single_use.
2015-06-11 Eric Botcazou <ebotcazou@adacore.com>
2015-06-11 Eric Botcazou <ebotcazou@adacore.com>
PR bootstrap/66252
PR bootstrap/66252
...
...
gcc/match.pd
View file @
2d6f2dce
...
@@ -322,9 +322,8 @@ along with GCC; see the file COPYING3. If not see
...
@@ -322,9 +322,8 @@ along with GCC; see the file COPYING3. If not see
/* (x & y) ^ (x | y) -> x ^ y */
/* (x & y) ^ (x | y) -> x ^ y */
(simplify
(simplify
(bit_xor:c (bit_and@2 @0 @1) (bit_ior@3 @0 @1))
(bit_xor:c (bit_and @0 @1) (bit_ior @0 @1))
(if (single_use (@2) && single_use (@3))
(bit_xor @0 @1))
(bit_xor @0 @1)))
(simplify
(simplify
(abs (negate @0))
(abs (negate @0))
...
...
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