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
2cd04f4d
Commit
2cd04f4d
authored
Jun 10, 2009
by
Anthony Green
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finish committing moxie port
From-SVN: r148340
parent
cceb575c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
gcc/config/moxie/moxie.md
+9
-3
No files found.
gcc/config/moxie/moxie.md
View file @
2cd04f4d
...
@@ -296,15 +296,21 @@
...
@@ -296,15 +296,21 @@
(define_expand "cbranchsi4"
(define_expand "cbranchsi4"
[
(set (reg:CC CC_REG)
[
(set (reg:CC CC_REG)
(compare:CC
(compare:CC
(match_operand:SI 1 "
register
_operand" "")
(match_operand:SI 1 "
general
_operand" "")
(match_operand:SI 2 "
register
_operand" "")))
(match_operand:SI 2 "
general
_operand" "")))
(set (pc)
(set (pc)
(if_then_else (match_operator:CC 0 "comparison_operator"
(if_then_else (match_operator:CC 0 "comparison_operator"
[
(reg:CC CC_REG) (const_int 0)
]
)
[
(reg:CC CC_REG) (const_int 0)
]
)
(label_ref (match_operand 3 "" ""))
(label_ref (match_operand 3 "" ""))
(pc)))]
(pc)))]
""
""
"")
"
/
* Force the compare operands into registers. *
/
if (GET_CODE (operands
[
1
]
) != REG)
operands
[
1
]
= force_reg (SImode, operands
[
1
]
);
if (GET_CODE (operands
[
2
]
) != REG)
operands
[
2
]
= force_reg (SImode, operands
[
2
]
);
")
(define_insn "
*
cmpsi"
(define_insn "
*
cmpsi"
[
(set (reg:CC CC_REG)
[
(set (reg:CC CC_REG)
...
...
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