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
52a866ce
Commit
52a866ce
authored
Mar 21, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(mulsidi3, umulsidi3): Add missing sign_extend
and zero_extend so all operands have them. From-SVN: r3817
parent
e7c2ea2d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
12 deletions
+28
-12
gcc/config/m68k/m68k.md
+28
-12
No files found.
gcc/config/m68k/m68k.md
View file @
52a866ce
...
@@ -2368,13 +2368,15 @@
...
@@ -2368,13 +2368,15 @@
(mult:DI (zero_extend:DI
(mult:DI (zero_extend:DI
(match_operand:SI 1 "register_operand" ""))
(match_operand:SI 1 "register_operand" ""))
(zero_extend:DI
(zero_extend:DI
(match_operand:SI 2 "nonimmediate_operand" ""))) 1))
(match_operand:SI 2 "nonimmediate_operand" "")))
1))
(set (subreg:SI (match_dup 0) 0)
(set (subreg:SI (match_dup 0) 0)
(subreg:SI
(subreg:SI
(mult:DI (zero_extend:DI
(mult:DI (zero_extend:DI
(match_dup 1))
(match_dup 1))
(zero_extend:DI
(zero_extend:DI
(match_dup 2))) 0))])]
(match_dup 2)))
0))])]
"TARGET_68020"
"TARGET_68020"
"")
"")
...
@@ -2384,13 +2386,15 @@
...
@@ -2384,13 +2386,15 @@
(mult:DI (zero_extend:DI
(mult:DI (zero_extend:DI
(match_operand:SI 1 "register_operand" "%0"))
(match_operand:SI 1 "register_operand" "%0"))
(zero_extend:DI
(zero_extend:DI
(match_operand:SI 2 "nonimmediate_operand" "dm"))) 1))
(match_operand:SI 2 "nonimmediate_operand" "dm")))
1))
(set (match_operand:SI 3 "register_operand" "=d")
(set (match_operand:SI 3 "register_operand" "=d")
(subreg:SI
(subreg:SI
(mult:DI (zero_extend:DI
(mult:DI (zero_extend:DI
(match_dup 1))
(match_dup 1))
(zero_extend:DI
(zero_extend:DI
(match_dup 2))) 0))]
(match_dup 2)))
0))]
"TARGET_68020"
"TARGET_68020"
"mulu%.l %2,%3:%0")
"mulu%.l %2,%3:%0")
...
@@ -2399,12 +2403,16 @@
...
@@ -2399,12 +2403,16 @@
(subreg:SI
(subreg:SI
(mult:DI (zero_extend:DI
(mult:DI (zero_extend:DI
(match_operand:SI 1 "register_operand" "%0"))
(match_operand:SI 1 "register_operand" "%0"))
(match_operand:SI 2 "immediate_operand" "sK")) 1))
(zero_extend:DI
(match_operand:SI 2 "immediate_operand" "sK")))
1))
(set (match_operand:SI 3 "register_operand" "=d")
(set (match_operand:SI 3 "register_operand" "=d")
(subreg:SI
(subreg:SI
(mult:DI (zero_extend:DI
(mult:DI (zero_extend:DI
(match_dup 1))
(match_dup 1))
(match_dup 2)) 0))]
(zero_extend:DI
(match_dup 2)))
0))]
"TARGET_68020
"TARGET_68020
&& (GET_CODE (operands
[
2
]
) != CONST_INT
&& (GET_CODE (operands
[
2
]
) != CONST_INT
|| CONST_OK_FOR_LETTER_P (INTVAL (operands
[
2
]
), 'K'))"
|| CONST_OK_FOR_LETTER_P (INTVAL (operands
[
2
]
), 'K'))"
...
@@ -2417,13 +2425,15 @@
...
@@ -2417,13 +2425,15 @@
(mult:DI (sign_extend:DI
(mult:DI (sign_extend:DI
(match_operand:SI 1 "register_operand" ""))
(match_operand:SI 1 "register_operand" ""))
(sign_extend:DI
(sign_extend:DI
(match_operand:SI 2 "nonimmediate_operand" ""))) 1))
(match_operand:SI 2 "nonimmediate_operand" "")))
1))
(set (subreg:SI (match_dup 0) 0)
(set (subreg:SI (match_dup 0) 0)
(subreg:SI
(subreg:SI
(mult:DI (sign_extend:DI
(mult:DI (sign_extend:DI
(match_dup 1))
(match_dup 1))
(sign_extend:DI
(sign_extend:DI
(match_dup 2))) 0))])]
(match_dup 2)))
0))])]
"TARGET_68020"
"TARGET_68020"
"")
"")
...
@@ -2433,13 +2443,15 @@
...
@@ -2433,13 +2443,15 @@
(mult:DI (sign_extend:DI
(mult:DI (sign_extend:DI
(match_operand:SI 1 "register_operand" "%0"))
(match_operand:SI 1 "register_operand" "%0"))
(sign_extend:DI
(sign_extend:DI
(match_operand:SI 2 "nonimmediate_operand" "dm"))) 1))
(match_operand:SI 2 "nonimmediate_operand" "dm")))
1))
(set (match_operand:SI 3 "register_operand" "=d")
(set (match_operand:SI 3 "register_operand" "=d")
(subreg:SI
(subreg:SI
(mult:DI (sign_extend:DI
(mult:DI (sign_extend:DI
(match_dup 1))
(match_dup 1))
(sign_extend:DI
(sign_extend:DI
(match_dup 2))) 0))]
(match_dup 2)))
0))]
"TARGET_68020"
"TARGET_68020"
"muls%.l %2,%3:%0")
"muls%.l %2,%3:%0")
...
@@ -2448,12 +2460,16 @@
...
@@ -2448,12 +2460,16 @@
(subreg:SI
(subreg:SI
(mult:DI (sign_extend:DI
(mult:DI (sign_extend:DI
(match_operand:SI 1 "register_operand" "%0"))
(match_operand:SI 1 "register_operand" "%0"))
(match_operand:SI 2 "immediate_operand" "sK")) 1))
(sign_extend:DI
(match_operand:SI 2 "immediate_operand" "sK")))
1))
(set (match_operand:SI 3 "register_operand" "=d")
(set (match_operand:SI 3 "register_operand" "=d")
(subreg:SI
(subreg:SI
(mult:DI (sign_extend:DI
(mult:DI (sign_extend:DI
(match_dup 1))
(match_dup 1))
(match_dup 2)) 0))]
(sign_extend:DI
(match_dup 2)))
0))]
"TARGET_68020
"TARGET_68020
&& (GET_CODE (operands
[
2
]
) != CONST_INT
&& (GET_CODE (operands
[
2
]
) != CONST_INT
|| CONST_OK_FOR_LETTER_P (INTVAL (operands
[
2
]
), 'K'))"
|| CONST_OK_FOR_LETTER_P (INTVAL (operands
[
2
]
), 'K'))"
...
...
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