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
1c0751d9
Commit
1c0751d9
authored
Feb 17, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*** empty log message ***
From-SVN: r337
parent
7e860cf7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
17 deletions
+9
-17
gcc/config/a29k/a29k.md
+9
-17
No files found.
gcc/config/a29k/a29k.md
View file @
1c0751d9
...
...
@@ -405,17 +405,13 @@
[
(set (match_dup 4)
(ashiftrt:SI (match_operand:SI 1 "gen_reg_operand" "")
(const_int 31)))
(set (reg:SI 180)
(match_dup 4))
(parallel
[
(set (match_operand:SI 0 "gen_reg_operand" "")
(div:SI (match_dup 1)
(match_operand:SI 2 "gen_reg_operand" "")))
(set (
reg:SI 180
)
(set (
match_operand:SI 3 "gen_reg_operand" ""
)
(mod:SI (match_dup 1)
(match_dup 2)))
(use (reg:SI 180))])
(set (match_operand:SI 3 "gen_reg_operand" "")
(reg:SI 180))]
(use (match_dup 4))])]
""
"
{
...
...
@@ -426,10 +422,10 @@
[
(set (match_operand:SI 0 "gen_reg_operand" "=r")
(div:SI (match_operand:SI 1 "gen_reg_operand" "r")
(match_operand:SI 2 "gen_reg_operand" "r")))
(set (
reg:SI 180
)
(set (
match_operand:SI 3 "register_operand" "=q"
)
(mod:SI (match_dup 1)
(match_dup 2)))
(use (
reg:SI 180
))]
(use (
match_operand:SI 4 "register_operand" "3"
))]
""
"divide %0,%1,%2")
...
...
@@ -437,17 +433,13 @@
;;
;; Similar to DIVIDE.
(define_expand "udivmodsi4"
[
(set (reg:SI 180)
(const_int 0))
(parallel
[
(set (match_operand:SI 0 "gen_reg_operand" "")
[
(parallel
[
(set (match_operand:SI 0 "gen_reg_operand" "")
(udiv:SI (match_operand:SI 1 "gen_reg_operand" "")
(match_operand:SI 2 "gen_reg_operand" "")))
(set (
reg:SI 180
)
(set (
match_operand:SI 3 "gen_reg_operand" ""
)
(umod:SI (match_dup 1)
(match_dup 2)))
(use (reg:SI 180))])
(set (match_operand:SI 3 "gen_reg_operand" "")
(reg:SI 180))]
(use (const_int 0))])]
""
"")
...
...
@@ -455,10 +447,10 @@
[
(set (match_operand:SI 0 "gen_reg_operand" "=r")
(udiv:SI (match_operand:SI 1 "gen_reg_operand" "r")
(match_operand:SI 2 "gen_reg_operand" "r")))
(set (
reg:SI 180
)
(set (
match_operand:SI 3 "register_operand" "=q"
)
(umod:SI (match_dup 1)
(match_dup 2)))
(use (
reg:SI 180
))]
(use (
match_operand:SI 4 "const_int_operand" "3"
))]
""
"dividu %0,%1,%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