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
85a45cbb
Commit
85a45cbb
authored
Nov 30, 2003
by
Kazu Hirata
Committed by
Kazu Hirata
Nov 30, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* genemit.c (register_constraints): Remove.
From-SVN: r74070
parent
1644f06d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
12 deletions
+6
-12
gcc/ChangeLog
+4
-0
gcc/genemit.c
+2
-12
No files found.
gcc/ChangeLog
View file @
85a45cbb
2003-11-30 Kazu Hirata <kazu@cs.umass.edu>
* genemit.c (register_constraints): Remove.
2003-11-30 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.md ("tmdi_reg", "tmsi_reg", "*movdi_64", "*movdi_31",
...
...
gcc/genemit.c
View file @
85a45cbb
...
...
@@ -32,7 +32,6 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
static
int
max_opno
;
static
int
max_dup_opno
;
static
int
max_scratch_opno
;
static
int
register_constraints
;
static
int
insn_code_number
;
static
int
insn_index_number
;
...
...
@@ -83,10 +82,6 @@ max_operand_1 (rtx x)
code
=
GET_CODE
(
x
);
if
(
code
==
MATCH_OPERAND
&&
XSTR
(
x
,
2
)
!=
0
&&
*
XSTR
(
x
,
2
)
!=
'\0'
)
register_constraints
=
1
;
if
(
code
==
MATCH_SCRATCH
&&
XSTR
(
x
,
1
)
!=
0
&&
*
XSTR
(
x
,
1
)
!=
'\0'
)
register_constraints
=
1
;
if
(
code
==
MATCH_OPERAND
||
code
==
MATCH_OPERATOR
||
code
==
MATCH_PARALLEL
)
max_opno
=
MAX
(
max_opno
,
XINT
(
x
,
0
));
...
...
@@ -376,9 +371,7 @@ gen_insn (rtx insn, int lineno)
printf
(
"/* %s:%d */
\n
"
,
read_rtx_filename
,
lineno
);
/* Find out how many operands this function has,
and also whether any of them have register constraints. */
register_constraints
=
0
;
/* Find out how many operands this function has. */
operands
=
max_operand_vec
(
insn
,
1
);
if
(
max_dup_opno
>=
operands
)
fatal
(
"match_dup operand number has no match_operand"
);
...
...
@@ -431,10 +424,7 @@ gen_expand (rtx expand)
if
(
XVEC
(
expand
,
1
)
==
0
)
fatal
(
"define_expand for %s lacks a pattern"
,
XSTR
(
expand
,
0
));
/* Find out how many operands this function has,
and also whether any of them have register constraints. */
register_constraints
=
0
;
/* Find out how many operands this function has. */
operands
=
max_operand_vec
(
expand
,
1
);
/* Output the function name and argument declarations. */
...
...
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