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
1b9f0361
Commit
1b9f0361
authored
22 years ago
by
Kazu Hirata
Committed by
Kazu Hirata
22 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/h8300/h8300.md: Reorder some patterns.
From-SVN: r60770
parent
dc5f17ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
20 deletions
+24
-20
gcc/ChangeLog
+4
-0
gcc/config/h8300/h8300.md
+20
-20
No files found.
gcc/ChangeLog
View file @
1b9f0361
2003
-
01
-
01
Kazu
Hirata
<
kazu
@cs
.
umass
.
edu
>
*
config
/
h8300
/
h8300
.
md
:
Reorder
some
patterns
.
2003
-
01
-
01
Kazu
Hirata
<
kazu
@cs
.
umass
.
edu
>
*
config
/
h8300
/
h8300
.
c
(
output_logical_op
)
:
Fix
a
warning
.
2003
-
01
-
01
Neil
Booth
<
neil
@daikokuya
.
co
.
uk
>
...
...
This diff is collapsed.
Click to expand it.
gcc/config/h8300/h8300.md
View file @
1b9f0361
...
...
@@ -2409,6 +2409,26 @@
[
(set_attr "cc" "clobber")
(set_attr "length" "2")])
(define_insn "
*
iorsi3_ashift_16"
[
(set (match_operand:SI 0 "register_operand" "=r")
(ior:SI (ashift:SI (match_operand:SI 1 "register_operand" "r")
(const_int 16))
(match_operand:SI 2 "register_operand" "0")))]
"TARGET_H8300H || TARGET_H8300S"
"or.w
\\
t%f1,%e0"
[
(set_attr "cc" "clobber")
(set_attr "length" "2")])
(define_insn "
*
iorsi3_two_hi"
[
(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))))]
"TARGET_H8300H || TARGET_H8300S"
"mov.w
\\
t%f2,%e0"
[
(set_attr "cc" "clobber")
(set_attr "length" "2")])
;; xor:HI
(define_insn "
*
xorhi3_zextqi"
...
...
@@ -2447,26 +2467,6 @@
[
(set_attr "cc" "clobber")
(set_attr "length" "2")])
(define_insn "
*
iorsi3_two_hi"
[
(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))))]
"TARGET_H8300H || TARGET_H8300S"
"mov.w
\\
t%f2,%e0"
[
(set_attr "cc" "clobber")
(set_attr "length" "2")])
(define_insn "
*
iorsi3_ashift_16"
[
(set (match_operand:SI 0 "register_operand" "=r")
(ior:SI (ashift:SI (match_operand:SI 1 "register_operand" "r")
(const_int 16))
(match_operand:SI 2 "register_operand" "0")))]
"TARGET_H8300H || TARGET_H8300S"
"or.w
\\
t%f1,%e0"
[
(set_attr "cc" "clobber")
(set_attr "length" "2")])
;; Storing a part of HImode to QImode.
(define_insn ""
...
...
This diff is collapsed.
Click to expand it.
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