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
57e1b65c
Commit
57e1b65c
authored
Feb 22, 1995
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(output_move_double): Let split_double extract any constant in op 1;
take size from op 0. From-SVN: r9029
parent
5a1a6efd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
15 deletions
+2
-15
gcc/config/i386/i386.c
+2
-15
No files found.
gcc/config/i386/i386.c
View file @
57e1b65c
...
@@ -419,7 +419,7 @@ output_move_double (operands)
...
@@ -419,7 +419,7 @@ output_move_double (operands)
rtx
xops
[
2
];
rtx
xops
[
2
];
rtx
addreg0
=
0
,
addreg1
=
0
;
rtx
addreg0
=
0
,
addreg1
=
0
;
int
dest_overlapped_low
=
0
;
int
dest_overlapped_low
=
0
;
int
size
=
GET_MODE_SIZE
(
GET_MODE
(
operands
[
1
]));
int
size
=
GET_MODE_SIZE
(
GET_MODE
(
operands
[
0
]));
middlehalf
[
0
]
=
0
;
middlehalf
[
0
]
=
0
;
middlehalf
[
1
]
=
0
;
middlehalf
[
1
]
=
0
;
...
@@ -575,20 +575,7 @@ output_move_double (operands)
...
@@ -575,20 +575,7 @@ output_move_double (operands)
else
if
(
optype1
==
OFFSOP
)
else
if
(
optype1
==
OFFSOP
)
latehalf
[
1
]
=
adj_offsettable_operand
(
operands
[
1
],
4
);
latehalf
[
1
]
=
adj_offsettable_operand
(
operands
[
1
],
4
);
else
if
(
optype1
==
CNSTOP
)
else
if
(
optype1
==
CNSTOP
)
{
split_double
(
operands
[
1
],
&
operands
[
1
],
&
latehalf
[
1
]);
if
(
GET_CODE
(
operands
[
1
])
==
CONST_DOUBLE
)
split_double
(
operands
[
1
],
&
operands
[
1
],
&
latehalf
[
1
]);
else
if
(
CONSTANT_P
(
operands
[
1
]))
{
/* ??? jrv: Can this really happen? A DImode constant
that isn't a CONST_DOUBLE? */
if
(
GET_CODE
(
operands
[
1
])
==
CONST_INT
&&
INTVAL
(
operands
[
1
])
<
0
)
latehalf
[
1
]
=
constm1_rtx
;
else
latehalf
[
1
]
=
const0_rtx
;
}
}
else
else
latehalf
[
1
]
=
operands
[
1
];
latehalf
[
1
]
=
operands
[
1
];
}
}
...
...
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