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
d22ce03d
Commit
d22ce03d
authored
Dec 30, 1999
by
Bernd Schmidt
Committed by
Bernd Schmidt
Dec 30, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix FP GT comparisons on i386 with -ffast-math
From-SVN: r31138
parent
3fe5b143
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
gcc/ChangeLog
+6
-0
gcc/config/i386/i386.c
+2
-2
No files found.
gcc/ChangeLog
View file @
d22ce03d
1999
-
12
-
30
Bernd
Schmidt
<
bernds
@cygnus
.
co
.
uk
>
*
i386
.
c
(
ix86_expand_fp_compare
)
:
In
non
-
sahf
non
-
TARGET_IEEE
case
,
expand
GT
comparisons
correctly
.
Fix
a
comment
before
this
part
of
the
code
.
1999
-
12
-
30
Gabriel
Dos
Reis
<
dosreis
@cmla
.
ens
-
cachan
.
fr
>
1999
-
12
-
30
Gabriel
Dos
Reis
<
dosreis
@cmla
.
ens
-
cachan
.
fr
>
*
dwarfout
.
c
:
Include
"frame.h"
*
dwarfout
.
c
:
Include
"frame.h"
...
...
gcc/config/i386/i386.c
View file @
d22ce03d
...
@@ -4077,7 +4077,7 @@ ix86_expand_fp_compare (code, op0, op1, unordered)
...
@@ -4077,7 +4077,7 @@ ix86_expand_fp_compare (code, op0, op1, unordered)
{
{
/*
/*
* The numbers below correspond to the bits of the FPSW in AH.
* The numbers below correspond to the bits of the FPSW in AH.
* C3, C2, and C0 are in bits 0x40, 0x4
0
, and 0x01 respectively.
* C3, C2, and C0 are in bits 0x40, 0x4, and 0x01 respectively.
*
*
* cmp C3 C2 C0
* cmp C3 C2 C0
* > 0 0 0
* > 0 0 0
...
@@ -4091,7 +4091,7 @@ ix86_expand_fp_compare (code, op0, op1, unordered)
...
@@ -4091,7 +4091,7 @@ ix86_expand_fp_compare (code, op0, op1, unordered)
switch
(
code
)
switch
(
code
)
{
{
case
GT
:
case
GT
:
mask
=
0x
0
1
;
mask
=
0x
4
1
;
code
=
EQ
;
code
=
EQ
;
break
;
break
;
case
LT
:
case
LT
:
...
...
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