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
88b1b955
Commit
88b1b955
authored
Aug 09, 1996
by
Stan Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(untyped_call) Avoid SIGFPE.
From-SVN: r12610
parent
66050251
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
gcc/config/i386/i386.c
+4
-9
gcc/config/i386/i386.md
+3
-0
No files found.
gcc/config/i386/i386.c
View file @
88b1b955
...
...
@@ -3562,7 +3562,6 @@ output_float_compare (insn, operands)
rtx
body
=
XVECEXP
(
PATTERN
(
insn
),
0
,
0
);
int
unordered_compare
=
GET_MODE
(
SET_SRC
(
body
))
==
CCFPEQmode
;
int
target_fcomi
=
TARGET_CMOVE
&&
STACK_REG_P
(
operands
[
1
]);
int
target_fcomi
=
TARGET_CMOVE
&&
STACK_REG_P
(
operands
[
1
]);
rtx
tmp
;
if
(
!
STACK_TOP_P
(
operands
[
0
]))
...
...
@@ -3612,18 +3611,14 @@ output_float_compare (insn, operands)
strcat
(
buf
,
"p"
);
if
(
NON_STACK_REG_P
(
operands
[
1
]))
else
if
(
target_fcomi
)
{
rtx
xops
[]
=
{
operands
[
0
],
operands
[
1
],
operands
[
0
]};
output_asm_insn
(
strcat
(
buf
,
AS2
(
%
z1
,
%
y1
,
%
2
)),
xops
);
RET
;
}
output_op_from_reg
(
operands
[
1
],
strcat
(
buf
,
AS1
(
%
z0
,
%
1
)));
else
if
(
target_fcomi
)
{
rtx
xops
[
]
=
{
operands
[
0
],
operands
[
1
],
operands
[
0
]}
;
rtx
xops
[
3
]
;
xops
[
0
]
=
operands
[
0
];
xops
[
1
]
=
operands
[
1
];
xops
[
2
]
=
operands
[
0
];
output_asm_insn
(
strcat
(
buf
,
AS2
(
%
z1
,
%
y1
,
%
2
)),
xops
);
RET
;
}
...
...
gcc/config/i386/i386.md
View file @
88b1b955
...
...
@@ -5955,10 +5955,13 @@
coprocessor registers as containing a possible return value,
simply pretend the untyped call returns a complex long double
value.
*
/
/
*
emit_call_insn (TARGET_80387
? gen_call_value (gen_rtx (REG, XCmode, FIRST_FLOAT_REG),
operands
[
0
]
, const0_rtx)
: gen_call (operands
[
0
]
, const0_rtx));
*
/
emit_call_insn (gen_call (operands
[
0
]
, const0_rtx, NULL, const0_rtx));
for (i = 0; i < XVECLEN (operands
[
2
]
, 0); i++)
{
...
...
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