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
858a9ffc
Commit
858a9ffc
authored
May 08, 1997
by
Stan Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(output_float_compare): For pentiumpro use fcomip
From-SVN: r14048
parent
96f06cb6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
9 deletions
+19
-9
gcc/config/i386/i386.c
+19
-9
No files found.
gcc/config/i386/i386.c
View file @
858a9ffc
...
@@ -3737,9 +3737,25 @@ output_float_compare (insn, operands)
...
@@ -3737,9 +3737,25 @@ output_float_compare (insn, operands)
`fcompp' float compare */
`fcompp' float compare */
if
(
unordered_compare
)
if
(
unordered_compare
)
output_asm_insn
(
"fucompp"
,
operands
);
if
(
cc_status
.
flags
&
CC_FCOMI
)
{
output_asm_insn
(
AS2
(
fucomip
,
%
y1
,
%
0
),
operands
);
output_asm_insn
(
AS1
(
fstp
,
%
y0
),
operands
);
RET
;
}
else
output_asm_insn
(
"fucompp"
,
operands
);
else
else
output_asm_insn
(
"fcompp"
,
operands
);
{
if
(
cc_status
.
flags
&
CC_FCOMI
)
{
output_asm_insn
(
AS2
(
fcomip
,
%
y1
,
%
0
),
operands
);
output_asm_insn
(
AS1
(
fstp
,
%
y0
),
operands
);
RET
;
}
else
output_asm_insn
(
"fcompp"
,
operands
);
}
}
}
else
else
{
{
...
@@ -3764,13 +3780,7 @@ output_float_compare (insn, operands)
...
@@ -3764,13 +3780,7 @@ output_float_compare (insn, operands)
output_op_from_reg
(
operands
[
1
],
strcat
(
buf
,
AS1
(
%
z0
,
%
1
)));
output_op_from_reg
(
operands
[
1
],
strcat
(
buf
,
AS1
(
%
z0
,
%
1
)));
else
if
(
cc_status
.
flags
&
CC_FCOMI
)
else
if
(
cc_status
.
flags
&
CC_FCOMI
)
{
{
rtx
xops
[
3
];
output_asm_insn
(
strcat
(
buf
,
AS2
(
%
z1
,
%
y1
,
%
0
)),
operands
);
xops
[
0
]
=
operands
[
0
];
xops
[
1
]
=
operands
[
1
];
xops
[
2
]
=
operands
[
0
];
output_asm_insn
(
strcat
(
buf
,
AS2
(
%
z1
,
%
y1
,
%
2
)),
xops
);
RET
;
RET
;
}
}
else
else
...
...
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