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
7f340546
Commit
7f340546
authored
Dec 11, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a few missing new nmemonics.
From-SVN: r6206
parent
8b4a4341
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
gcc/config/rs6000/rs6000.md
+8
-8
No files found.
gcc/config/rs6000/rs6000.md
View file @
7f340546
...
@@ -629,7 +629,7 @@
...
@@ -629,7 +629,7 @@
[
(set (match_operand:SI 0 "register_operand" "=&r")
[
(set (match_operand:SI 0 "register_operand" "=&r")
(ffs:SI (match_operand:SI 1 "register_operand" "r")))]
(ffs:SI (match_operand:SI 1 "register_operand" "r")))]
""
""
"neg %0,%1
\;
and %0,%0,%1
\;
cntlz
%0,%0
\;
{sfi|subfic} %0,%0,32"
"neg %0,%1
\;
and %0,%0,%1
\;
{cntlz|cntlzw}
%0,%0
\;
{sfi|subfic} %0,%0,32"
[
(set_attr "length" "16")
]
)
[
(set_attr "length" "16")
]
)
(define_expand "mulsi3"
(define_expand "mulsi3"
...
@@ -1939,7 +1939,7 @@
...
@@ -1939,7 +1939,7 @@
"TARGET_POWER"
"TARGET_POWER"
"@
"@
srea. %0,%1,%2
srea. %0,%1,%2
srai.
%0,%1,%h2"
{srai.|srawi.}
%0,%1,%h2"
[
(set_attr "type" "delayed_compare")
]
)
[
(set_attr "type" "delayed_compare")
]
)
(define_insn ""
(define_insn ""
...
@@ -4077,7 +4077,7 @@
...
@@ -4077,7 +4077,7 @@
(compare:CC (match_operand:SI 1 "gpc_reg_operand" "r")
(compare:CC (match_operand:SI 1 "gpc_reg_operand" "r")
(match_operand:SI 2 "reg_or_short_operand" "rI")))]
(match_operand:SI 2 "reg_or_short_operand" "rI")))]
""
""
"
cmp%I2
%0,%1,%2"
"
{cmp%I2|cmpw%I2}
%0,%1,%2"
[
(set_attr "type" "compare")
]
)
[
(set_attr "type" "compare")
]
)
;; If we are comparing a register for equality with a large constant,
;; If we are comparing a register for equality with a large constant,
...
@@ -4113,7 +4113,7 @@
...
@@ -4113,7 +4113,7 @@
(compare:CCUNS (match_operand:SI 1 "gpc_reg_operand" "r")
(compare:CCUNS (match_operand:SI 1 "gpc_reg_operand" "r")
(match_operand:SI 2 "reg_or_u_short_operand" "rI")))]
(match_operand:SI 2 "reg_or_u_short_operand" "rI")))]
""
""
"
cmpl%I2
%0,%1,%W2"
"
{cmpl%I2|cmplw%I2}
%0,%1,%W2"
[
(set_attr "type" "compare")
]
)
[
(set_attr "type" "compare")
]
)
;; The following two insns don't exist as single insns, but if we provide
;; The following two insns don't exist as single insns, but if we provide
...
@@ -4491,7 +4491,7 @@
...
@@ -4491,7 +4491,7 @@
"TARGET_POWER"
"TARGET_POWER"
"@
"@
doz %3,%2,%1
\;
{sfi|subfic} %0,%3,0
\;
{ae|adde} %0,%0,%3
doz %3,%2,%1
\;
{sfi|subfic} %0,%3,0
\;
{ae|adde} %0,%0,%3
{ai|addic} %0,%1,-1
\;
{aze|addze} %0,%0
\;
sri
%0,%0,31"
{ai|addic} %0,%1,-1
\;
{aze|addze} %0,%0
\;
{sri|srwi}
%0,%0,31"
[
(set_attr "length" "12")
]
)
[
(set_attr "length" "12")
]
)
(define_insn ""
(define_insn ""
...
@@ -4506,7 +4506,7 @@
...
@@ -4506,7 +4506,7 @@
"TARGET_POWER"
"TARGET_POWER"
"@
"@
doz %3,%2,%1
\;
{sfi|subfic} %0,%3,0
\;
{ae.|adde.} %0,%0,%3
doz %3,%2,%1
\;
{sfi|subfic} %0,%3,0
\;
{ae.|adde.} %0,%0,%3
{ai|addic} %0,%1,-1
\;
{aze|addze} %0,%0
\;
sri.
%0,%0,31"
{ai|addic} %0,%1,-1
\;
{aze|addze} %0,%0
\;
{sri.|srwi.}
%0,%0,31"
[
(set_attr "type" "delayed_compare,compare")
[
(set_attr "type" "delayed_compare,compare")
(set_attr "length" "12")])
(set_attr "length" "12")])
...
@@ -4677,7 +4677,7 @@
...
@@ -4677,7 +4677,7 @@
(lt:SI (match_operand:SI 1 "gpc_reg_operand" "r")
(lt:SI (match_operand:SI 1 "gpc_reg_operand" "r")
(match_operand:SI 2 "reg_or_short_operand" "rI")))]
(match_operand:SI 2 "reg_or_short_operand" "rI")))]
"TARGET_POWER"
"TARGET_POWER"
"doz%I2 %0,%1,%2
\;
nabs %0,%0
\;
sri
%0,%0,31"
"doz%I2 %0,%1,%2
\;
nabs %0,%0
\;
{sri|srwi}
%0,%0,31"
[
(set_attr "length" "12")
]
)
[
(set_attr "length" "12")
]
)
(define_insn ""
(define_insn ""
...
@@ -4689,7 +4689,7 @@
...
@@ -4689,7 +4689,7 @@
(set (match_operand:SI 0 "gpc_reg_operand" "=r")
(set (match_operand:SI 0 "gpc_reg_operand" "=r")
(lt:SI (match_dup 1) (match_dup 2)))]
(lt:SI (match_dup 1) (match_dup 2)))]
"TARGET_POWER"
"TARGET_POWER"
"doz%I2 %0,%1,%2
\;
nabs %0,%0
\;
sri.
%0,%0,31"
"doz%I2 %0,%1,%2
\;
nabs %0,%0
\;
{sri.|srwi.}
%0,%0,31"
[
(set_attr "type" "delayed_compare")
[
(set_attr "type" "delayed_compare")
(set_attr "length" "12")])
(set_attr "length" "12")])
...
...
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