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
baf97f86
Commit
baf97f86
authored
Nov 01, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add set_attr for "length" when we are going to split an insn at output time.
From-SVN: r5968
parent
af87a13e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
7 deletions
+14
-7
gcc/config/rs6000/rs6000.md
+14
-7
No files found.
gcc/config/rs6000/rs6000.md
View file @
baf97f86
...
...
@@ -2446,7 +2446,8 @@
"HOST_BITS_PER_INT == BITS_PER_WORD
&& GET_CODE (operands
[
3
]
) == CONST_DOUBLE
&& CONST_DOUBLE_LOW (operands
[
3
]
) == 0"
"#")
"#"
[
(set_attr "length" "8")
]
)
(define_split
[
(set (match_operand:DI 0 "gpc_reg_operand" "=")
...
...
@@ -2484,7 +2485,8 @@
"HOST_BITS_PER_INT == BITS_PER_WORD
&& GET_CODE (operands
[
2
]
) == CONST_DOUBLE
&& CONST_DOUBLE_LOW (operands
[
2
]
) == 0"
"#")
"#"
[
(set_attr "length" "8")
]
)
(define_expand "fix_truncdfsi2"
[
(set (match_operand:SI 0 "gpc_reg_operand" "")
...
...
@@ -4129,7 +4131,8 @@
(set (match_operand:SI 0 "gpc_reg_operand" "=r")
(plus:SI (match_dup 1) (match_operand:SI 4 "short_cint_operand" "i")))]
""
"#")
"#"
[
(set_attr "length" "8")
]
)
(define_insn ""
[
(set (match_operand:CCUNS 3 "cc_reg_operand" "=y")
...
...
@@ -4138,7 +4141,8 @@
(set (match_operand:SI 0 "gpc_reg_operand" "=r")
(plus:SI (match_dup 1) (match_operand:SI 4 "short_cint_operand" "i")))]
""
"#")
"#"
[
(set_attr "length" "8")
]
)
(define_split
[
(set (match_operand:CC 3 "cc_reg_operand" "")
...
...
@@ -5417,7 +5421,8 @@
else
return
\"
bdz $+8
\;
b %l2
\"
;
}"
[
(set_attr "type" "branch")
]
)
[
(set_attr "type" "branch")
(set_attr "length" "
*
,12,16")])
;; Similar, but we can use GE since we have a REG_NONNEG.
(define_insn ""
...
...
@@ -5440,7 +5445,8 @@
else
return
\"
bdz $+8
\;
b %l2
\"
;
}"
[
(set_attr "type" "branch")
]
)
[
(set_attr "type" "branch")
(set_attr "length" "
*
,12,16")])
(define_insn ""
[
(set (pc)
...
...
@@ -5462,7 +5468,8 @@
else
return
\"
{bdn|bdnz} $+8
\;
b %l2
\"
;
}"
[
(set_attr "type" "branch")
]
)
[
(set_attr "type" "branch")
(set_attr "length" "
*
,12,16")])
(define_split
[
(set (pc)
...
...
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