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
efbbf34f
Commit
efbbf34f
authored
Apr 11, 1997
by
Doug Evans
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Delete some FIXMEs.
From-SVN: r13860
parent
715af0cb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
23 deletions
+5
-23
gcc/config/m32r/m32r.c
+5
-23
No files found.
gcc/config/m32r/m32r.c
View file @
efbbf34f
...
...
@@ -737,8 +737,10 @@ move_src_operand (op, mode)
case
CONST
:
return
addr24_operand
(
op
,
mode
);
case
CONST_INT
:
/* FIXME: We allow more cse opportunities if we only allow constants
loadable with one insn, and split the rest into two. */
/* ??? We allow more cse opportunities if we only allow constants
loadable with one insn, and split the rest into two. The instances
where this would help should be rare and the current way is
simpler. */
return
INT32_P
(
INTVAL
(
op
));
case
LABEL_REF
:
return
TARGET_ADDR24
;
...
...
@@ -1083,18 +1085,6 @@ m32r_setup_incoming_varargs (cum, mode, type, pretend_size, no_rtl)
}
}
/* Implements EXPAND_BUILTIN_SAVEREGS macro. */
/* FIXME: Not currently used ('cus it might be unnecessary). */
struct
rtx_def
*
m32r_expand_builtin_saveregs
(
args
)
tree
args
;
{
return
gen_rtx
(
PLUS
,
Pmode
,
virtual_incoming_args_rtx
,
GEN_INT
(
-
UNITS_PER_WORD
*
M32R_MAX_PARM_REGS
));
}
/* Cost functions. */
/* Provide the costs of an addressing mode that contains ADDR.
...
...
@@ -1275,7 +1265,7 @@ m32r_compute_frame_size (size)
*
UNITS_PER_WORD
);
total_size
+=
reg_size
;
/*
FIXME:
Not sure this is necessary, and I don't think the epilogue
/*
???
Not sure this is necessary, and I don't think the epilogue
handler will do the right thing if this changes total_size. */
total_size
=
M32R_STACK_ALIGN
(
total_size
);
...
...
@@ -1477,17 +1467,9 @@ m32r_output_function_epilogue (file, size)
fprintf
(
file
,
"
\t
pop %s
\n
"
,
fp_str
);
/* Remove varargs area if present. */
#if 1
/* FIXME: Must decide whether to use pretend_size or not. */
if
(
current_frame_info
.
pretend_size
!=
0
)
fprintf
(
file
,
"
\t
addi %s,%d
\n
"
,
sp_str
,
current_frame_info
.
pretend_size
);
#else
/* This is the other way of doing it. */
if
(
current_function_stdarg
||
current_function_varargs
)
fprintf
(
file
,
"
\t
addi %s,%d
\n
"
,
sp_str
,
M32R_MAX_PARM_REGS
*
UNITS_PER_WORD
);
#endif
/* Emit the return instruction. */
if
(
M32R_INTERRUPT_P
(
fn_type
))
...
...
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