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
9972f30d
Commit
9972f30d
authored
Sep 20, 2005
by
Steve Ellcey
Committed by
Steve Ellcey
Sep 20, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/pa/pa.c (output_cbranch): Check for zero in operands[2].
From-SVN: r104465
parent
29b2d867
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
gcc/ChangeLog
+4
-0
gcc/config/pa/pa.c
+2
-0
No files found.
gcc/ChangeLog
View file @
9972f30d
2005
-
09
-
20
Steve
Ellcey
<
sje
@cup
.
hp
.
com
>
*
config
/
pa
/
pa
.
c
(
output_cbranch
)
:
Check
for
zero
in
operands
[
2
].
2005
-
09
-
20
Richard
Henderson
<
rth
@redhat
.
com
>
*
expr
.
c
(
expand_expr_real_1
)
<
INDIRECT_REF
>:
Allow
modifier
...
...
gcc/config/pa/pa.c
View file @
9972f30d
...
...
@@ -5922,6 +5922,8 @@ output_cbranch (rtx *operands, int nullify, int length, int negated, rtx insn)
zero for cmpb, we must ensure that we use cmpb for the comparison. */
if
(
GET_MODE
(
operands
[
1
])
==
DImode
&&
operands
[
2
]
==
const0_rtx
)
operands
[
2
]
=
gen_rtx_REG
(
DImode
,
0
);
if
(
GET_MODE
(
operands
[
2
])
==
DImode
&&
operands
[
1
]
==
const0_rtx
)
operands
[
1
]
=
gen_rtx_REG
(
DImode
,
0
);
/* If this is a long branch with its delay slot unfilled, set `nullify'
as it can nullify the delay slot and save a nop. */
...
...
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