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
60ffa0e5
Commit
60ffa0e5
authored
Jan 26, 2002
by
Richard Henderson
Committed by
Richard Henderson
Jan 26, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
From-SVN: r49259
parent
51584787
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
4 deletions
+16
-4
gcc/ChangeLog
+4
-0
gcc/config/cris/cris.c
+12
-4
No files found.
gcc/ChangeLog
View file @
60ffa0e5
2002-01-26 Richard Henderson <rth@redhat.com>
2002-01-26 Richard Henderson <rth@redhat.com>
* config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
2002-01-26 Richard Henderson <rth@redhat.com>
* config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
* config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
(alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
(alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
...
...
gcc/config/cris/cris.c
View file @
60ffa0e5
...
@@ -1363,8 +1363,11 @@ cris_print_operand (file, x, code)
...
@@ -1363,8 +1363,11 @@ cris_print_operand (file, x, code)
switch
(
GET_CODE
(
operand
))
switch
(
GET_CODE
(
operand
))
{
{
case
CONST_INT
:
case
CONST_INT
:
/* Sign-extension from a normal int to a long long. */
if
(
HOST_BITS_PER_WIDE_INT
==
32
)
fprintf
(
file
,
INTVAL
(
operand
)
<
0
?
"-1"
:
"0"
);
/* Sign-extension from a normal int to a long long. */
fprintf
(
file
,
INTVAL
(
operand
)
<
0
?
"-1"
:
"0"
);
else
fprintf
(
file
,
"0x%x"
,
(
unsigned
int
)(
INTVAL
(
x
)
>>
31
>>
1
));
return
;
return
;
case
CONST_DOUBLE
:
case
CONST_DOUBLE
:
...
@@ -1447,8 +1450,13 @@ cris_print_operand (file, x, code)
...
@@ -1447,8 +1450,13 @@ cris_print_operand (file, x, code)
fprintf
(
file
,
"0x%x"
,
CONST_DOUBLE_LOW
(
x
));
fprintf
(
file
,
"0x%x"
,
CONST_DOUBLE_LOW
(
x
));
return
;
return
;
}
}
/* If not a CONST_DOUBLE, the least significant part equals the
else
if
(
HOST_BITS_PER_WIDE_INT
>
32
&&
GET_CODE
(
operand
)
==
CONST_INT
)
normal part, so handle it normally. */
{
fprintf
(
file
,
"0x%x"
,
(
unsigned
int
)(
INTVAL
(
x
)
&
0xffffffff
));
return
;
}
/* Otherwise the least significant part equals the normal part,
so handle it normally. */
break
;
break
;
case
'A'
:
case
'A'
:
...
...
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