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
3cc3e1cd
Commit
3cc3e1cd
authored
Dec 30, 2002
by
Kazu Hirata
Committed by
Kazu Hirata
Dec 30, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/h8300/h8300.md (*addsi3_lshiftrt_16_zexthi): New.
From-SVN: r60633
parent
a6e8d113
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
0 deletions
+16
-0
gcc/ChangeLog
+4
-0
gcc/config/h8300/h8300.md
+12
-0
No files found.
gcc/ChangeLog
View file @
3cc3e1cd
2002
-
12
-
30
Kazu
Hirata
<
kazu
@cs
.
umass
.
edu
>
*
config
/
h8300
/
h8300
.
md
(
*
addsi3_lshiftrt_16_zexthi
)
:
New
.
2002
-
12
-
30
Kazu
Hirata
<
kazu
@cs
.
umass
.
edu
>
*
config
/
h8300
/
h8300
.
c
(
output_logical_op
)
:
Use
extu
.
w
if
we
are
clearing
the
most
significant
byte
.
(
compute_logical_op_length
)
:
Update
to
reflect
the
change
in
...
...
gcc/config/h8300/h8300.md
View file @
3cc3e1cd
...
...
@@ -2329,6 +2329,18 @@
[
(set_attr "cc" "set_znv")
(set_attr "length" "6")])
;; plus:SI
(define_insn "
*
addsi3_lshiftrt_16_zexthi"
[
(set (match_operand:SI 0 "register_operand" "=r")
(plus:SI (lshiftrt:SI (match_operand:SI 1 "register_operand" "r")
(const_int 16))
(zero_extend:SI (match_operand:HI 2 "register_operand" "0"))))]
"TARGET_H8300H || TARGET_H8300S"
"add.w
\t
%e1,%f0
\;
xor.w
\t
%e0,%e0
\;
rotxl.w
\t
%e0,%e0"
[
(set_attr "cc" "clobber")
(set_attr "length" "6")])
;; ior:HI
(define_insn "
*
iorhi3_zext"
...
...
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