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
e3f02798
Commit
e3f02798
authored
Sep 24, 2013
by
Oleg Endo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sh.md: Fix formatting.
* config/sh/sh.md: Fix formatting. From-SVN: r202876
parent
4f17aa0b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
7 deletions
+11
-7
gcc/ChangeLog
+4
-0
gcc/config/sh/sh.md
+7
-7
No files found.
gcc/ChangeLog
View file @
e3f02798
2013
-
09
-
24
Oleg
Endo
<
olegendo
@
gcc
.
gnu
.
org
>
*
config
/
sh
/
sh
.
md
:
Fix
formatting
.
2013
-
09
-
24
Xinliang
David
Li
<
davidxl
@
google
.
com
>
*
tree
-
vect
-
data
-
refs
.
c
(
vect_enhance_data_refs_alignment
):
...
...
gcc/config/sh/sh.md
View file @
e3f02798
...
...
@@ -783,7 +783,7 @@
tst %0,%0
cmp/eq %1,%0
cmp/eq %1,%0"
[
(set_attr "type" "mt_group")
]
)
[
(set_attr "type" "mt_group")
]
)
;; FIXME: For some reason, on SH4A and SH2A combine fails to simplify this
;; pattern by itself. What this actually does is:
...
...
@@ -809,7 +809,7 @@
"@
cmp/pl %0
cmp/gt %1,%0"
[
(set_attr "type" "mt_group")
]
)
[
(set_attr "type" "mt_group")
]
)
(define_insn "cmpgesi_t"
[
(set (reg:SI T_REG)
...
...
@@ -819,7 +819,7 @@
"@
cmp/pz %0
cmp/ge %1,%0"
[
(set_attr "type" "mt_group")
]
)
[
(set_attr "type" "mt_group")
]
)
;; FIXME: This is actually wrong. There is no way to literally move a
;; general reg to t reg. Luckily, it seems that this pattern will be only
...
...
@@ -831,7 +831,7 @@
[
(set (reg:SI T_REG) (match_operand:SI 0 "arith_reg_operand" "r"))
]
"TARGET_SH1"
"cmp/pl %0"
[
(set_attr "type" "mt_group")
]
)
[
(set_attr "type" "mt_group")
]
)
;; Some integer sign comparison patterns can be realized with the div0s insn.
;; div0s Rm,Rn T = (Rm >> 31) ^ (Rn >> 31)
...
...
@@ -6898,9 +6898,9 @@ label:
(match_operand:QIHI 1 "register_operand" "r,
*
z,m"))]
"TARGET_SH1 && !t_reg_operand (operands
[
1
]
, VOIDmode)"
"@
mov
%1,%0
mov.
<bw>
%1,%0
mov.
<bw>
%1,%0"
mov
%1,%0
mov.
<bw>
%1,%0
mov.
<bw>
%1,%0"
[
(set_attr "type" "move,store,load")
]
)
;; FIXME: The non-SH2A and SH2A variants should be combined by adding
...
...
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