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
d803a491
Commit
d803a491
authored
12 years ago
by
Ian Bolton
Committed by
Ian Bolton
12 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AArch64 should return CC_NZ for AND operation (part 2)
From-SVN: r196656
parent
430b9e22
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
gcc/ChangeLog
+5
-0
gcc/config/aarch64/aarch64.md
+4
-4
No files found.
gcc/ChangeLog
View file @
d803a491
2013-03-14 Ian Bolton <ian.bolton@arm.com>
* config/aarch64/aarch64.md: (*and<mode>3nr_compare0): Use CC_NZ.
(*and_<SHIFT:optab><mode>3nr_compare0): Likewise.
2013-03-14 Ian Bolton <ian.bolton@arm.com>
* config/aarch64/aarch64.c (aarch64_select_cc_mode): Return correct
CC mode for AND.
...
...
This diff is collapsed.
Click to expand it.
gcc/config/aarch64/aarch64.md
View file @
d803a491
...
...
@@ -2547,8 +2547,8 @@
)
(define_insn "
*
and
<mode>
3nr_compare0"
[
(set (reg:CC CC_REGNUM)
(compare:CC
[
(set (reg:CC
_NZ
CC_REGNUM)
(compare:CC
_NZ
(and:GPI (match_operand:GPI 0 "register_operand" "%r,r")
(match_operand:GPI 1 "aarch64_logical_operand" "r,
<lconst>
"))
(const_int 0)))]
...
...
@@ -2558,8 +2558,8 @@
(set_attr "mode" "
<MODE>
")])
(define_insn "
*
and_
<SHIFT:optab><mode>
3nr_compare0"
[
(set (reg:CC CC_REGNUM)
(compare:CC
[
(set (reg:CC
_NZ
CC_REGNUM)
(compare:CC
_NZ
(and:GPI (SHIFT:GPI
(match_operand:GPI 0 "register_operand" "r")
(match_operand:QI 1 "aarch64_shift_imm_
<mode>
" "n"))
...
...
This diff is collapsed.
Click to expand it.
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