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
b4e95693
Commit
b4e95693
authored
Jun 26, 1998
by
Michael Meissner
Committed by
Michael Meissner
Jun 26, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ne 0 optimization on non-power machines
From-SVN: r20744
parent
d3ee8d68
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/config/rs6000/rs6000.md
+1
-1
No files found.
gcc/ChangeLog
View file @
b4e95693
1998-06-26 Michael Meissner <meissner@cygnus.com>
* rs6000.md (ne 0, non power case): Add missing & constraint.
Fri Jun 26 17:36:42 1998 Dave Love <d.love@dl.ac.uk>
Fri Jun 26 17:36:42 1998 Dave Love <d.love@dl.ac.uk>
* Makefile.in (install-info): Run install-info program in separate
* Makefile.in (install-info): Run install-info program in separate
...
...
gcc/config/rs6000/rs6000.md
View file @
b4e95693
...
@@ -8718,7 +8718,7 @@
...
@@ -8718,7 +8718,7 @@
;; Simplify (ne X (const_int 0)) on the PowerPC. No need to on the Power,
;; Simplify (ne X (const_int 0)) on the PowerPC. No need to on the Power,
;; since it nabs/sr is just as fast.
;; since it nabs/sr is just as fast.
(define_insn ""
(define_insn ""
[
(set (match_operand:SI 0 "gpc_reg_operand" "=r")
[
(set (match_operand:SI 0 "gpc_reg_operand" "=
&
r")
(lshiftrt:SI (neg:SI (abs:SI (match_operand:SI 1 "gpc_reg_operand" "r")))
(lshiftrt:SI (neg:SI (abs:SI (match_operand:SI 1 "gpc_reg_operand" "r")))
(const_int 31)))
(const_int 31)))
(clobber (match_scratch:SI 2 "=&r"))]
(clobber (match_scratch:SI 2 "=&r"))]
...
...
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