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
b26c8351
Commit
b26c8351
authored
Oct 29, 1993
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(addsf3, subsf3, mulsf3, divsf3): Put POWERPC first, then POWER.
From-SVN: r5932
parent
9e88bd1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
32 deletions
+32
-32
gcc/config/rs6000/rs6000.md
+32
-32
No files found.
gcc/config/rs6000/rs6000.md
View file @
b26c8351
...
...
@@ -2103,16 +2103,16 @@
[
(set (match_operand:SF 0 "gpc_reg_operand" "=f")
(plus:SF (match_operand:SF 1 "gpc_reg_operand" "%f")
(match_operand:SF 2 "gpc_reg_operand" "f")))]
"TARGET_POWER"
"
{fa|fadd}
%0,%1,%2"
"TARGET_POWER
PC
"
"
fadds
%0,%1,%2"
[
(set_attr "type" "fp")
]
)
(define_insn ""
[
(set (match_operand:SF 0 "gpc_reg_operand" "=f")
(plus:SF (match_operand:SF 1 "gpc_reg_operand" "%f")
(match_operand:SF 2 "gpc_reg_operand" "f")))]
"TARGET_POWER
PC
"
"
fadds
%0,%1,%2"
"TARGET_POWER"
"
{fa|fadd}
%0,%1,%2"
[
(set_attr "type" "fp")
]
)
(define_expand "subsf3"
...
...
@@ -2126,16 +2126,16 @@
[
(set (match_operand:SF 0 "gpc_reg_operand" "=f")
(minus:SF (match_operand:SF 1 "gpc_reg_operand" "f")
(match_operand:SF 2 "gpc_reg_operand" "f")))]
"TARGET_POWER"
"
{fs|fsub}
%0,%1,%2"
"TARGET_POWER
PC
"
"
fsubs
%0,%1,%2"
[
(set_attr "type" "fp")
]
)
(define_insn ""
[
(set (match_operand:SF 0 "gpc_reg_operand" "=f")
(minus:SF (match_operand:SF 1 "gpc_reg_operand" "f")
(match_operand:SF 2 "gpc_reg_operand" "f")))]
"TARGET_POWER
PC
"
"
fsubs
%0,%1,%2"
"TARGET_POWER"
"
{fs|fsub}
%0,%1,%2"
[
(set_attr "type" "fp")
]
)
(define_expand "mulsf3"
...
...
@@ -2149,16 +2149,16 @@
[
(set (match_operand:SF 0 "gpc_reg_operand" "=f")
(mult:SF (match_operand:SF 1 "gpc_reg_operand" "%f")
(match_operand:SF 2 "gpc_reg_operand" "f")))]
"TARGET_POWER"
"
{fm|fmul}
%0,%1,%2"
"TARGET_POWER
PC
"
"
fmuls
%0,%1,%2"
[
(set_attr "type" "fp")
]
)
(define_insn ""
[
(set (match_operand:SF 0 "gpc_reg_operand" "=f")
(mult:SF (match_operand:SF 1 "gpc_reg_operand" "%f")
(match_operand:SF 2 "gpc_reg_operand" "f")))]
"TARGET_POWER
PC
"
"
fmuls
%0,%1,%2"
"TARGET_POWER"
"
{fm|fmul}
%0,%1,%2"
[
(set_attr "type" "fp")
]
)
(define_expand "divsf3"
...
...
@@ -2172,16 +2172,16 @@
[
(set (match_operand:SF 0 "gpc_reg_operand" "=f")
(div:SF (match_operand:SF 1 "gpc_reg_operand" "f")
(match_operand:SF 2 "gpc_reg_operand" "f")))]
"TARGET_POWER"
"
{fd|fdiv}
%0,%1,%2"
"TARGET_POWER
PC
"
"
fdivs
%0,%1,%2"
[
(set_attr "type" "sdiv")
]
)
(define_insn ""
[
(set (match_operand:SF 0 "gpc_reg_operand" "=f")
(div:SF (match_operand:SF 1 "gpc_reg_operand" "f")
(match_operand:SF 2 "gpc_reg_operand" "f")))]
"TARGET_POWER
PC
"
"
fdivs
%0,%1,%2"
"TARGET_POWER"
"
{fd|fdiv}
%0,%1,%2"
[
(set_attr "type" "sdiv")
]
)
(define_insn ""
...
...
@@ -2189,8 +2189,8 @@
(plus:SF (mult:SF (match_operand:SF 1 "gpc_reg_operand" "%f")
(match_operand:SF 2 "gpc_reg_operand" "f"))
(match_operand:SF 3 "gpc_reg_operand" "f")))]
"TARGET_POWER"
"
{fma|fmadd}
%0,%1,%2,%3"
"TARGET_POWER
PC
"
"
fmadds
%0,%1,%2,%3"
[
(set_attr "type" "fp")
]
)
(define_insn ""
...
...
@@ -2198,8 +2198,8 @@
(plus:SF (mult:SF (match_operand:SF 1 "gpc_reg_operand" "%f")
(match_operand:SF 2 "gpc_reg_operand" "f"))
(match_operand:SF 3 "gpc_reg_operand" "f")))]
"TARGET_POWER
PC
"
"
fmadds
%0,%1,%2,%3"
"TARGET_POWER"
"
{fma|fmadd}
%0,%1,%2,%3"
[
(set_attr "type" "fp")
]
)
(define_insn ""
...
...
@@ -2207,8 +2207,8 @@
(minus:SF (mult:SF (match_operand:SF 1 "gpc_reg_operand" "%f")
(match_operand:SF 2 "gpc_reg_operand" "f"))
(match_operand:SF 3 "gpc_reg_operand" "f")))]
"TARGET_POWER"
"
{fms|fmsub}
%0,%1,%2,%3"
"TARGET_POWER
PC
"
"
fmsubs
%0,%1,%2,%3"
[
(set_attr "type" "fp")
]
)
(define_insn ""
...
...
@@ -2216,8 +2216,8 @@
(minus:SF (mult:SF (match_operand:SF 1 "gpc_reg_operand" "%f")
(match_operand:SF 2 "gpc_reg_operand" "f"))
(match_operand:SF 3 "gpc_reg_operand" "f")))]
"TARGET_POWER
PC
"
"
fmsubs
%0,%1,%2,%3"
"TARGET_POWER"
"
{fms|fmsub}
%0,%1,%2,%3"
[
(set_attr "type" "fp")
]
)
(define_insn ""
...
...
@@ -2225,8 +2225,8 @@
(neg:SF (plus:SF (mult:SF (match_operand:SF 1 "gpc_reg_operand" "%f")
(match_operand:SF 2 "gpc_reg_operand" "f"))
(match_operand:SF 3 "gpc_reg_operand" "f"))))]
"TARGET_POWER"
"
{fnma|fnmadd}
%0,%1,%2,%3"
"TARGET_POWER
PC
"
"
fnmadds
%0,%1,%2,%3"
[
(set_attr "type" "fp")
]
)
(define_insn ""
...
...
@@ -2234,8 +2234,8 @@
(neg:SF (plus:SF (mult:SF (match_operand:SF 1 "gpc_reg_operand" "%f")
(match_operand:SF 2 "gpc_reg_operand" "f"))
(match_operand:SF 3 "gpc_reg_operand" "f"))))]
"TARGET_POWER
PC
"
"
fnmadds
%0,%1,%2,%3"
"TARGET_POWER"
"
{fnma|fnmadd}
%0,%1,%2,%3"
[
(set_attr "type" "fp")
]
)
(define_insn ""
...
...
@@ -2243,8 +2243,8 @@
(neg:SF (minus:SF (mult:SF (match_operand:SF 1 "gpc_reg_operand" "%f")
(match_operand:SF 2 "gpc_reg_operand" "f"))
(match_operand:SF 3 "gpc_reg_operand" "f"))))]
"TARGET_POWER"
"
{fnms|fnmsub}
%0,%1,%2,%3"
"TARGET_POWER
PC
"
"
fnmsubs
%0,%1,%2,%3"
[
(set_attr "type" "fp")
]
)
(define_insn ""
...
...
@@ -2252,8 +2252,8 @@
(neg:SF (minus:SF (mult:SF (match_operand:SF 1 "gpc_reg_operand" "%f")
(match_operand:SF 2 "gpc_reg_operand" "f"))
(match_operand:SF 3 "gpc_reg_operand" "f"))))]
"TARGET_POWER
PC
"
"
fnmsubs
%0,%1,%2,%3"
"TARGET_POWER"
"
{fnms|fnmsub}
%0,%1,%2,%3"
[
(set_attr "type" "fp")
]
)
(define_expand "sqrtsf2"
...
...
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