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
138eff91
Commit
138eff91
authored
Jan 27, 2000
by
Richard Henderson
Committed by
Richard Henderson
Jan 27, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* alpha.md (trunctfsf2): New.
From-SVN: r31662
parent
0843179b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
0 deletions
+20
-0
gcc/ChangeLog
+4
-0
gcc/config/alpha/alpha.md
+16
-0
No files found.
gcc/ChangeLog
View file @
138eff91
2000
-
01
-
27
Richard
Henderson
<
rth
@cygnus
.
com
>
*
alpha
.
md
(
trunctfsf2
)
:
New
.
2000
-
01
-
27
Andrew
Hobson
<
ahobson
@eng
.
mindspring
.
net
>
2000
-
01
-
27
Andrew
Hobson
<
ahobson
@eng
.
mindspring
.
net
>
*
configure
.
in
(
alpha
-
dec
-
osf5
)
:
Enable
MASK_SUPPORT_ARCH
.
*
configure
.
in
(
alpha
-
dec
-
osf5
)
:
Enable
MASK_SUPPORT_ARCH
.
...
...
gcc/config/alpha/alpha.md
View file @
138eff91
...
@@ -2207,6 +2207,22 @@
...
@@ -2207,6 +2207,22 @@
"TARGET_HAS_XFLOATING_LIBS"
"TARGET_HAS_XFLOATING_LIBS"
"alpha_emit_xfloating_cvt (FLOAT_TRUNCATE, operands); DONE;")
"alpha_emit_xfloating_cvt (FLOAT_TRUNCATE, operands); DONE;")
;; ??? This isn't quite right, as rounding isn't correct. But it's
;; extremely tortureous to do this correctly with the functionality
;; availible in the library.
(define_expand "trunctfsf2"
[
(use (match_operand:SF 0 "register_operand" ""))
(use (match_operand:TF 1 "general_operand" ""))]
"TARGET_HAS_XFLOATING_LIBS"
"
{
rtx tmp = gen_reg_rtx (DFmode);
emit_insn (gen_trunctfdf2 (tmp, operands
[
1
]
));
emit_insn (gen_truncdfsf2 (operands
[
0
]
, tmp));
DONE;
}")
(define_insn ""
(define_insn ""
[
(set (match_operand:SF 0 "register_operand" "=&f")
[
(set (match_operand:SF 0 "register_operand" "=&f")
(div:SF (match_operand:SF 1 "reg_or_fp0_operand" "fG")
(div:SF (match_operand:SF 1 "reg_or_fp0_operand" "fG")
...
...
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