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
3b2d1507
Commit
3b2d1507
authored
Nov 16, 2001
by
Andreas Tobler
Committed by
Richard Kenner
Nov 16, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/sparc/sparc.c: Remove ALIGN arg from emit_cmp_insn.
From-SVN: r47085
parent
45fb7df5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
14 deletions
+12
-14
gcc/ChangeLog
+4
-0
gcc/config/sparc/sparc.c
+8
-14
No files found.
gcc/ChangeLog
View file @
3b2d1507
Fri
Nov
16
06
:
37
:
05
2001
Andreas
Tobler
<
a
.
tobler
@schweiz
.
ch
>
*
config
/
sparc
/
sparc
.
c
:
Remove
ALIGN
arg
from
emit_cmp_insn
.
2001
-
11
-
16
Jakub
Jelinek
<
jakub
@redhat
.
com
>
2001
-
11
-
16
Jakub
Jelinek
<
jakub
@redhat
.
com
>
*
c
-
lang
.
c
(
finish_file
)
:
Don
'
t
emit
static
inline
functions
if
*
c
-
lang
.
c
(
finish_file
)
:
Don
'
t
emit
static
inline
functions
if
...
...
gcc/config/sparc/sparc.c
View file @
3b2d1507
...
@@ -5269,24 +5269,20 @@ sparc_emit_float_lib_cmp (x, y, comparison)
...
@@ -5269,24 +5269,20 @@ sparc_emit_float_lib_cmp (x, y, comparison)
switch
(
comparison
)
switch
(
comparison
)
{
{
default
:
default
:
emit_cmp_insn
(
result
,
const0_rtx
,
NE
,
emit_cmp_insn
(
result
,
const0_rtx
,
NE
,
NULL_RTX
,
mode
,
0
);
NULL_RTX
,
mode
,
0
,
0
);
break
;
break
;
case
ORDERED
:
case
ORDERED
:
case
UNORDERED
:
case
UNORDERED
:
emit_cmp_insn
(
result
,
GEN_INT
(
3
),
emit_cmp_insn
(
result
,
GEN_INT
(
3
),
comparison
==
UNORDERED
?
EQ
:
NE
,
(
comparison
==
UNORDERED
)
?
EQ
:
NE
,
NULL_RTX
,
mode
,
0
);
NULL_RTX
,
mode
,
0
,
0
);
break
;
break
;
case
UNGT
:
case
UNGT
:
case
UNGE
:
case
UNGE
:
emit_cmp_insn
(
result
,
const1_rtx
,
emit_cmp_insn
(
result
,
const1_rtx
,
(
comparison
==
UNGT
)
?
GT
:
NE
,
comparison
==
UNGT
?
GT
:
NE
,
NULL_RTX
,
mode
,
0
);
NULL_RTX
,
mode
,
0
,
0
);
break
;
break
;
case
UNLE
:
case
UNLE
:
emit_cmp_insn
(
result
,
const2_rtx
,
NE
,
emit_cmp_insn
(
result
,
const2_rtx
,
NE
,
NULL_RTX
,
mode
,
0
);
NULL_RTX
,
mode
,
0
,
0
);
break
;
break
;
case
UNLT
:
case
UNLT
:
tem
=
gen_reg_rtx
(
mode
);
tem
=
gen_reg_rtx
(
mode
);
...
@@ -5294,8 +5290,7 @@ sparc_emit_float_lib_cmp (x, y, comparison)
...
@@ -5294,8 +5290,7 @@ sparc_emit_float_lib_cmp (x, y, comparison)
emit_insn
(
gen_andsi3
(
tem
,
result
,
const1_rtx
));
emit_insn
(
gen_andsi3
(
tem
,
result
,
const1_rtx
));
else
else
emit_insn
(
gen_anddi3
(
tem
,
result
,
const1_rtx
));
emit_insn
(
gen_anddi3
(
tem
,
result
,
const1_rtx
));
emit_cmp_insn
(
tem
,
const0_rtx
,
NE
,
emit_cmp_insn
(
tem
,
const0_rtx
,
NE
,
NULL_RTX
,
mode
,
0
);
NULL_RTX
,
mode
,
0
,
0
);
break
;
break
;
case
UNEQ
:
case
UNEQ
:
case
LTGT
:
case
LTGT
:
...
@@ -5309,9 +5304,8 @@ sparc_emit_float_lib_cmp (x, y, comparison)
...
@@ -5309,9 +5304,8 @@ sparc_emit_float_lib_cmp (x, y, comparison)
emit_insn
(
gen_andsi3
(
tem2
,
tem
,
const2_rtx
));
emit_insn
(
gen_andsi3
(
tem2
,
tem
,
const2_rtx
));
else
else
emit_insn
(
gen_anddi3
(
tem2
,
tem
,
const2_rtx
));
emit_insn
(
gen_anddi3
(
tem2
,
tem
,
const2_rtx
));
emit_cmp_insn
(
tem2
,
const0_rtx
,
emit_cmp_insn
(
tem2
,
const0_rtx
,
comparison
==
UNEQ
?
EQ
:
NE
,
(
comparison
==
UNEQ
)
?
EQ
:
NE
,
NULL_RTX
,
mode
,
0
);
NULL_RTX
,
mode
,
0
,
0
);
break
;
break
;
}
}
}
}
...
...
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