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
ee437932
Commit
ee437932
authored
Aug 30, 2001
by
J"orn Rennecke
Committed by
Joern Rennecke
Aug 30, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* h8300.md (*andorhi3): New pattern.
From-SVN: r45289
parent
63a57e0f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
gcc/ChangeLog
+4
-0
gcc/config/h8300/h8300.md
+18
-0
No files found.
gcc/ChangeLog
View file @
ee437932
Thu
Aug
30
18
:
10
:
56
2001
J
"orn Rennecke <amylaar@redhat.com>
* h8300.md (*andorhi3): New pattern.
Thu Aug 30 16:00:31 2001 J"
orn
Rennecke
<
amylaar
@redhat
.
com
>
*
h8300
.
c
(
dosize
)
:
Fix
test
for
"sub"
.
...
...
gcc/config/h8300/h8300.md
View file @
ee437932
...
...
@@ -1013,6 +1013,24 @@
[
(set_attr "length" "2,4")
(set_attr "cc" "set_znv,clobber")])
(define_insn "
*
andorhi3"
[
(set (match_operand:HI 0 "register_operand" "=r")
(ior:HI (and:HI (match_operand:HI 2 "register_operand" "r")
(match_operand:HI 3 "p_operand" "P"))
(match_operand:HI 1 "register_operand" "0")))]
""
"
*
{
if (INTVAL (operands
[
3
]
) > 128)
{
operands
[
3
]
= GEN_INT (INTVAL (operands
[
3
]
) >> 8);
return
\"
bld
\t
%V3,%t2
\;
bst
\t
%V3,%t0
\"
;
}
return
\"
bld
\t
%V3,%s2
\;
bst
\t
%V3,%s0
\"
;
}"
[
(set_attr "length" "4")
(set_attr "cc" "clobber")])
(define_expand "andsi3"
[
(set (match_operand:SI 0 "register_operand" "")
(and:SI (match_operand:SI 1 "register_operand" "")
...
...
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