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
79438502
Commit
79438502
authored
Nov 19, 1994
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(mips_const_double_ok): Accept VOIDmode not DImode.
(mips_move_1word): Accept VOIDmode CONST_DOUBLE. From-SVN: r8526
parent
84ef8e1d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
gcc/config/mips/mips.c
+12
-2
No files found.
gcc/config/mips/mips.c
View file @
79438502
...
...
@@ -478,7 +478,7 @@ mips_const_double_ok (op, mode)
if
(
GET_CODE
(
op
)
!=
CONST_DOUBLE
)
return
FALSE
;
if
(
mode
==
DI
mode
)
if
(
mode
==
VOID
mode
)
return
TRUE
;
if
(
mode
!=
SFmode
&&
mode
!=
DFmode
)
...
...
@@ -1016,8 +1016,18 @@ mips_move_1word (operands, insn, unsignedp)
}
}
else
if
(
code1
==
CONST_INT
)
else
if
(
code1
==
CONST_INT
||
(
code1
==
CONST_DOUBLE
&&
GET_MODE
(
op1
)
==
VOIDmode
))
{
if
(
code1
==
CONST_DOUBLE
)
{
/* This can happen when storing constants into long long
bitfields. Just store the least significant word of
the value. */
operands
[
1
]
=
op1
=
GEN_INT
(
CONST_DOUBLE_LOW
(
op1
));
}
if
(
INTVAL
(
op1
)
==
0
)
{
if
(
GP_REG_P
(
regno0
))
...
...
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