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
2d4368e6
Commit
2d4368e6
authored
Oct 16, 2001
by
David Edelsohn
Committed by
David Edelsohn
Oct 15, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rs6000.md (cr_logical): Swap order of CODE and MODE arguments to
gen_rtx and compare operand with const0_rtx. From-SVN: r46273
parent
0e91d384
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
12 deletions
+17
-12
gcc/ChangeLog
+5
-0
gcc/config/rs6000/rs6000.md
+12
-12
No files found.
gcc/ChangeLog
View file @
2d4368e6
2001
-
10
-
15
David
Edelsohn
<
edelsohn
@gnu
.
org
>
*
config
/
rs6000
/
rs6000
.
md
(
cr_logical
)
:
Swap
order
of
CODE
and
MODE
arguments
to
gen_rtx
and
compare
operand
with
const0_rtx
.
2001
-
10
-
15
Neil
Booth
<
neil
@daikokuya
.
demon
.
co
.
uk
>
*
system
.
h
:
Poison
old
unused
target
macros
.
...
...
gcc/config/rs6000/rs6000.md
View file @
2d4368e6
...
...
@@ -12516,24 +12516,24 @@
positive_2 = branch_positive_comparison_operator (operands
[
3
]
, CCEQmode);
if (! positive_1)
operands
[
1
]
= gen_rtx (SImode,
rs6000_reverse_condition (GET_MODE (operands
[
2
]
),
operands
[
1
]
= gen_rtx (rs6000_reverse_condition (GET_MODE (operands
[
2
]
),
GET_CODE (operands
[
1
]
)),
operands
[
2
]
);
SImode,
operands
[
2
]
, const0_rtx);
else if (GET_MODE (operands
[
1
]
) != SImode)
operands
[
1
]
= gen_rtx (
SImode
,
GET_CODE (operands
[
1
]
)
,
operands
[
2
]
);
operands
[
1
]
= gen_rtx (
GET_CODE (operands
[
1
]
)
,
SImode
,
operands
[
2
]
, const0_rtx
);
if (! positive_2)
operands
[
3
]
= gen_rtx (SImode,
rs6000_reverse_condition (GET_MODE (operands
[
4
]
),
operands
[
3
]
= gen_rtx (rs6000_reverse_condition (GET_MODE (operands
[
4
]
),
GET_CODE (operands
[
3
]
)),
operands
[
4
]
);
SImode,
operands
[
4
]
, const0_rtx);
else if (GET_MODE (operands
[
3
]
) != SImode)
operands
[
3
]
= gen_rtx (
SImode
,
GET_CODE (operands
[
3
]
)
,
operands
[
4
]
);
operands
[
3
]
= gen_rtx (
GET_CODE (operands
[
3
]
)
,
SImode
,
operands
[
4
]
, const0_rtx
);
if (positive_1 == positive_2)
{
...
...
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