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
7a27efc4
Commit
7a27efc4
authored
Feb 02, 2002
by
Kazu Hirata
Committed by
Kazu Hirata
Feb 02, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/h8300/h8300.md: Fix formatting.
From-SVN: r49448
parent
9b8b2fcf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
28 additions
and
35 deletions
+28
-35
gcc/ChangeLog
+4
-0
gcc/config/h8300/h8300.md
+24
-35
No files found.
gcc/ChangeLog
View file @
7a27efc4
2002-02-02 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md: Fix formatting.
2002-02-02 Kazu Hirata <kazu@hxi.com>
* config/h8300/h8300.md (one_cmpl patterns): Tighten the
predicates of operands[1]. Split the patterns for each
processor variant.
...
...
gcc/config/h8300/h8300.md
View file @
7a27efc4
...
...
@@ -1887,25 +1887,22 @@
(define_expand "ashlsi3"
[
(set (match_operand:SI 0 "register_operand" "")
(ashift:SI
(match_operand:SI 1 "general_operand" "")
(match_operand:QI 2 "nonmemory_operand" "")))]
(ashift:SI (match_operand:SI 1 "general_operand" "")
(match_operand:QI 2 "nonmemory_operand" "")))]
""
"if (expand_a_shift (SImode, ASHIFT, operands)) DONE; else FAIL;")
(define_expand "lshrsi3"
[
(set (match_operand:SI 0 "register_operand" "")
(lshiftrt:SI
(match_operand:SI 1 "general_operand" "")
(match_operand:QI 2 "nonmemory_operand" "")))]
(lshiftrt:SI (match_operand:SI 1 "general_operand" "")
(match_operand:QI 2 "nonmemory_operand" "")))]
""
"if (expand_a_shift (SImode, LSHIFTRT, operands)) DONE; else FAIL;")
(define_expand "ashrsi3"
[
(set (match_operand:SI 0 "register_operand" "")
(ashiftrt:SI
(match_operand:SI 1 "general_operand" "")
(match_operand:QI 2 "nonmemory_operand" "")))]
(ashiftrt:SI (match_operand:SI 1 "general_operand" "")
(match_operand:QI 2 "nonmemory_operand" "")))]
""
"if (expand_a_shift (SImode, ASHIFTRT, operands)) DONE; else FAIL;")
...
...
@@ -2152,9 +2149,8 @@
(define_insn ""
[
(set (match_operand:HI 0 "register_operand" "=r")
(ior:HI
(zero_extend:HI (match_operand:QI 1 "register_operand" "r"))
(match_operand:HI 2 "register_operand" "0")))]
(ior:HI (zero_extend:HI (match_operand:QI 1 "register_operand" "r"))
(match_operand:HI 2 "register_operand" "0")))]
"REG_P (operands
[
0
]
)
&& REG_P (operands
[
1
]
)
&& REGNO (operands
[
0
]
) != REGNO (operands
[
1
]
)"
...
...
@@ -2164,9 +2160,8 @@
(define_insn ""
[
(set (match_operand:SI 0 "register_operand" "=r")
(ior:SI
(zero_extend:SI (match_operand:HI 1 "register_operand" "r"))
(match_operand:SI 2 "register_operand" "0")))]
(ior:SI (zero_extend:SI (match_operand:HI 1 "register_operand" "r"))
(match_operand:SI 2 "register_operand" "0")))]
"(TARGET_H8300H || TARGET_H8300S)
&& REG_P (operands
[
0
]
)
&& REG_P (operands
[
1
]
)
...
...
@@ -2177,9 +2172,8 @@
(define_insn ""
[
(set (match_operand:SI 0 "register_operand" "=r")
(ior:SI
(zero_extend:SI (match_operand:QI 1 "register_operand" "r"))
(match_operand:SI 2 "register_operand" "0")))]
(ior:SI (zero_extend:SI (match_operand:QI 1 "register_operand" "r"))
(match_operand:SI 2 "register_operand" "0")))]
"REG_P (operands
[
0
]
)
&& REG_P (operands
[
1
]
)
&& REGNO (operands
[
0
]
) != REGNO (operands
[
1
]
)"
...
...
@@ -2189,9 +2183,8 @@
(define_insn ""
[
(set (match_operand:HI 0 "register_operand" "=r")
(xor:HI
(zero_extend:HI (match_operand:QI 1 "register_operand" "r"))
(match_operand:HI 2 "register_operand" "0")))]
(xor:HI (zero_extend:HI (match_operand:QI 1 "register_operand" "r"))
(match_operand:HI 2 "register_operand" "0")))]
"REG_P (operands
[
0
]
)
&& REG_P (operands
[
1
]
)
&& REGNO (operands
[
0
]
) != REGNO (operands
[
1
]
)"
...
...
@@ -2201,9 +2194,8 @@
(define_insn ""
[
(set (match_operand:SI 0 "register_operand" "=r")
(xor:SI
(zero_extend:SI (match_operand:HI 1 "register_operand" "r"))
(match_operand:SI 2 "register_operand" "0")))]
(xor:SI (zero_extend:SI (match_operand:HI 1 "register_operand" "r"))
(match_operand:SI 2 "register_operand" "0")))]
"(TARGET_H8300H || TARGET_H8300S)
&& REG_P (operands
[
0
]
)
&& REG_P (operands
[
1
]
)
...
...
@@ -2214,9 +2206,8 @@
(define_insn ""
[
(set (match_operand:SI 0 "register_operand" "=r")
(xor:SI
(zero_extend:SI (match_operand:QI 1 "register_operand" "r"))
(match_operand:SI 2 "register_operand" "0")))]
(xor:SI (zero_extend:SI (match_operand:QI 1 "register_operand" "r"))
(match_operand:SI 2 "register_operand" "0")))]
"REG_P (operands
[
0
]
)
&& REG_P (operands
[
1
]
)
&& REGNO (operands
[
0
]
) != REGNO (operands
[
1
]
)"
...
...
@@ -2226,10 +2217,9 @@
(define_insn ""
[
(set (match_operand:HI 0 "register_operand" "=r")
(ior:HI
(zero_extend:HI (match_operand:QI 1 "register_operand" "0"))
(ashift:HI (match_operand:HI 2 "register_operand" "r")
(const_int 8))))]
(ior:HI (zero_extend:HI (match_operand:QI 1 "register_operand" "0"))
(ashift:HI (match_operand:HI 2 "register_operand" "r")
(const_int 8))))]
"REG_P (operands
[
0
]
)
&& REG_P (operands
[
2
]
)
&& REGNO (operands
[
0
]
) != REGNO (operands
[
2
]
)"
...
...
@@ -2239,10 +2229,9 @@
(define_insn ""
[
(set (match_operand:SI 0 "register_operand" "=r")
(ior:SI
(zero_extend:SI (match_operand:HI 1 "register_operand" "0"))
(ashift:SI (match_operand:SI 2 "register_operand" "r")
(const_int 16))))]
(ior:SI (zero_extend:SI (match_operand:HI 1 "register_operand" "0"))
(ashift:SI (match_operand:SI 2 "register_operand" "r")
(const_int 16))))]
"(TARGET_H8300H || TARGET_H8300S)
&& REG_P (operands
[
0
]
)
&& REG_P (operands
[
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