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
a8504f22
Commit
a8504f22
authored
Mar 14, 2013
by
Ian Bolton
Committed by
Ian Bolton
Mar 14, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
AArch64 should return CC_NZ for AND operation.
From-SVN: r196654
parent
fbd28bc3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/ChangeLog
+5
-0
gcc/config/aarch64/aarch64.c
+1
-1
No files found.
gcc/ChangeLog
View file @
a8504f22
2013-03-14 Ian Bolton <ian.bolton@arm.com>
* config/aarch64/aarch64.c (aarch64_select_cc_mode): Return correct
CC mode for AND.
2013-03-14 Jakub Jelinek <jakub@redhat.com>
PR tree-optimization/53265
...
...
gcc/config/aarch64/aarch64.c
View file @
a8504f22
...
...
@@ -3086,7 +3086,7 @@ aarch64_select_cc_mode (RTX_CODE code, rtx x, rtx y)
if
((
GET_MODE
(
x
)
==
SImode
||
GET_MODE
(
x
)
==
DImode
)
&&
y
==
const0_rtx
&&
(
code
==
EQ
||
code
==
NE
||
code
==
LT
||
code
==
GE
)
&&
(
GET_CODE
(
x
)
==
PLUS
||
GET_CODE
(
x
)
==
MINUS
))
&&
(
GET_CODE
(
x
)
==
PLUS
||
GET_CODE
(
x
)
==
MINUS
||
GET_CODE
(
x
)
==
AND
))
return
CC_NZmode
;
/* A compare with a shifted operand. Because of canonicalization,
...
...
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