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
3f6ddf54
Commit
3f6ddf54
authored
Dec 14, 1995
by
Torbjorn Granlund
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(ashrsi_31): New pattern.
From-SVN: r10721
parent
226a5051
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
gcc/config/m68k/m68k.md
+12
-0
No files found.
gcc/config/m68k/m68k.md
View file @
3f6ddf54
...
@@ -4347,6 +4347,18 @@
...
@@ -4347,6 +4347,18 @@
FAIL;
FAIL;
} ")
} ")
;; On all 68k models, this makes faster code in a special case.
(define_insn "ashrsi_31"
[
(set (match_operand:SI 0 "register_operand" "=d")
(ashiftrt:SI (match_operand:SI 1 "register_operand" "0")
(const_int 31)))]
""
"
*
{
return
\"
add%.l %0,%0
\;
subx%.l %0,%0
\"
;
}")
(define_insn "ashrsi3"
(define_insn "ashrsi3"
[
(set (match_operand:SI 0 "register_operand" "=d")
[
(set (match_operand:SI 0 "register_operand" "=d")
(ashiftrt:SI (match_operand:SI 1 "register_operand" "0")
(ashiftrt:SI (match_operand:SI 1 "register_operand" "0")
...
...
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