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
6a0f85e3
Commit
6a0f85e3
authored
Mar 12, 1996
by
Torbjorn Granlund
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(valid_dbcc_comparison_p): Don't test cc_prev_status here.
(flags_in_68881): New function. From-SVN: r11516
parent
69f724c0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
8 deletions
+10
-8
gcc/config/m68k/m68k.c
+10
-8
No files found.
gcc/config/m68k/m68k.c
View file @
6a0f85e3
...
@@ -569,13 +569,8 @@ valid_dbcc_comparison_p (x, mode)
...
@@ -569,13 +569,8 @@ valid_dbcc_comparison_p (x, mode)
rtx
x
;
rtx
x
;
enum
machine_mode
mode
;
enum
machine_mode
mode
;
{
{
/* We could add support for these in the future */
if
(
cc_prev_status
.
flags
&
CC_IN_68881
)
return
0
;
switch
(
GET_CODE
(
x
))
switch
(
GET_CODE
(
x
))
{
{
case
EQ
:
case
NE
:
case
GTU
:
case
LTU
:
case
EQ
:
case
NE
:
case
GTU
:
case
LTU
:
case
GEU
:
case
LEU
:
case
GEU
:
case
LEU
:
return
1
;
return
1
;
...
@@ -589,16 +584,23 @@ valid_dbcc_comparison_p (x, mode)
...
@@ -589,16 +584,23 @@ valid_dbcc_comparison_p (x, mode)
}
}
}
}
/* Return non-zero if flags are currently in the 68881 flag register. */
int
flags_in_68881
()
{
/* We could add support for these in the future */
return
cc_status
.
flags
&
CC_IN_68881
;
}
/* Output a dbCC; jCC sequence. Note we do not handle the
/* Output a dbCC; jCC sequence. Note we do not handle the
floating point version of this sequence (Fdbcc). We also
floating point version of this sequence (Fdbcc). We also
do not handle alternative conditions when CC_NO_OVERFLOW is
do not handle alternative conditions when CC_NO_OVERFLOW is
set. It is assumed that valid_dbcc_comparison_p
will kick
set. It is assumed that valid_dbcc_comparison_p
and flags_in_68881 will
those out before we get here. */
kick
those out before we get here. */
output_dbcc_and_branch
(
operands
)
output_dbcc_and_branch
(
operands
)
rtx
*
operands
;
rtx
*
operands
;
{
{
switch
(
GET_CODE
(
operands
[
3
]))
switch
(
GET_CODE
(
operands
[
3
]))
{
{
case
EQ
:
case
EQ
:
...
...
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