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
d3d63026
Commit
d3d63026
authored
Oct 07, 1993
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move initialization of byte_mode and word_mode to emit-rtl.c
From-SVN: r5661
parent
9f297063
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
19 deletions
+1
-19
gcc/rtl.c
+1
-19
No files found.
gcc/rtl.c
View file @
d3d63026
...
@@ -122,11 +122,6 @@ enum machine_mode mode_wider_mode[(int) MAX_MACHINE_MODE] = {
...
@@ -122,11 +122,6 @@ enum machine_mode mode_wider_mode[(int) MAX_MACHINE_MODE] = {
enum
machine_mode
class_narrowest_mode
[(
int
)
MAX_MODE_CLASS
];
enum
machine_mode
class_narrowest_mode
[(
int
)
MAX_MODE_CLASS
];
/* Commonly used modes. */
enum
machine_mode
byte_mode
;
/* Mode whose width is BITS_PER_UNIT */
enum
machine_mode
word_mode
;
/* Mode whose width is BITS_PER_WORD */
/* Indexed by rtx code, gives a sequence of operand-types for
/* Indexed by rtx code, gives a sequence of operand-types for
rtx's of that code. The sequence is a C string in which
rtx's of that code. The sequence is a C string in which
each character describes one operand. */
each character describes one operand. */
...
@@ -828,15 +823,11 @@ init_rtl ()
...
@@ -828,15 +823,11 @@ init_rtl ()
}
}
#endif
#endif
/* Find the narrowest mode for each class and compute the word and byte
/* Find the narrowest mode for each class. */
modes. */
for
(
i
=
0
;
i
<
(
int
)
MAX_MODE_CLASS
;
i
++
)
for
(
i
=
0
;
i
<
(
int
)
MAX_MODE_CLASS
;
i
++
)
min_class_size
[
i
]
=
1000
;
min_class_size
[
i
]
=
1000
;
byte_mode
=
VOIDmode
;
word_mode
=
VOIDmode
;
for
(
mode
=
VOIDmode
;
(
int
)
mode
<
(
int
)
MAX_MACHINE_MODE
;
for
(
mode
=
VOIDmode
;
(
int
)
mode
<
(
int
)
MAX_MACHINE_MODE
;
mode
=
(
enum
machine_mode
)
((
int
)
mode
+
1
))
mode
=
(
enum
machine_mode
)
((
int
)
mode
+
1
))
{
{
...
@@ -845,15 +836,6 @@ init_rtl ()
...
@@ -845,15 +836,6 @@ init_rtl ()
class_narrowest_mode
[(
int
)
GET_MODE_CLASS
(
mode
)]
=
mode
;
class_narrowest_mode
[(
int
)
GET_MODE_CLASS
(
mode
)]
=
mode
;
min_class_size
[(
int
)
GET_MODE_CLASS
(
mode
)]
=
GET_MODE_SIZE
(
mode
);
min_class_size
[(
int
)
GET_MODE_CLASS
(
mode
)]
=
GET_MODE_SIZE
(
mode
);
}
}
if
(
GET_MODE_CLASS
(
mode
)
==
MODE_INT
&&
GET_MODE_BITSIZE
(
mode
)
==
BITS_PER_UNIT
&&
byte_mode
==
VOIDmode
)
byte_mode
=
mode
;
if
(
GET_MODE_CLASS
(
mode
)
==
MODE_INT
&&
GET_MODE_BITSIZE
(
mode
)
==
BITS_PER_WORD
&&
word_mode
==
VOIDmode
)
word_mode
=
mode
;
}
}
}
}
...
...
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