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
70a32495
Commit
70a32495
authored
Mar 21, 2001
by
Jan Hubicka
Committed by
Jan Hubicka
Mar 21, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* recog.c (push_operand): Recognize new format of push instructions.
From-SVN: r40694
parent
5db60c46
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
2 deletions
+24
-2
gcc/ChangeLog
+4
-0
gcc/recog.c
+20
-2
No files found.
gcc/ChangeLog
View file @
70a32495
Wed Mar 21 18:51:19 CET 2001 Jan Hubicka <jh@suse.cz>
* recog.c (push_operand): Recognize new format of push instructions.
Wed Mar 21 10:53:57 CET 2001 Jan Hubicka <jh@suse.cz>
* i386.md (pushqi1): New.
...
...
gcc/recog.c
View file @
70a32495
...
...
@@ -1358,8 +1358,26 @@ push_operand (op, mode)
op
=
XEXP
(
op
,
0
);
if
(
GET_CODE
(
op
)
!=
STACK_PUSH_CODE
)
return
0
;
if
(
PUSH_ROUNDING
(
GET_MODE_SIZE
(
mode
))
==
GET_MODE_SIZE
(
mode
))
{
if
(
GET_CODE
(
op
)
!=
STACK_PUSH_CODE
)
return
0
;
}
else
{
int
rounded_size
=
PUSH_ROUNDING
(
GET_MODE_SIZE
(
mode
));
if
(
GET_CODE
(
op
)
!=
PRE_MODIFY
||
GET_CODE
(
XEXP
(
op
,
1
))
!=
PLUS
||
XEXP
(
XEXP
(
op
,
1
),
0
)
!=
XEXP
(
op
,
0
)
||
GET_CODE
(
XEXP
(
XEXP
(
op
,
1
),
1
))
!=
CONST_INT
#ifdef STACK_GROWS_DOWNWARD
||
INTVAL
(
XEXP
(
XEXP
(
op
,
1
),
1
))
!=
-
rounded_size
#else
||
INTVAL
(
XEXP
(
XEXP
(
op
,
1
),
1
))
!=
rounded_size
#endif
)
return
0
;
}
return
XEXP
(
op
,
0
)
==
stack_pointer_rtx
;
}
...
...
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