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
ab8081c1
Commit
ab8081c1
authored
23 years ago
by
Nick Clifton
Committed by
Nick Clifton
23 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not accept the IP register as a DFmode operand
From-SVN: r48914
parent
54c5eaff
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
gcc/ChangeLog
+2
-0
gcc/config/arm/arm.c
+6
-6
No files found.
gcc/ChangeLog
View file @
ab8081c1
...
...
@@ -4,6 +4,8 @@
to frame pointer initialisation instruction.
(thumb_expand_prologue): Add REG_MAYBE_DEAD note to frame pointer
initialisation instruction.
(soft_df_operand): Do not accept the IP register.
(nonimmediate_soft_df_operand): Do not accept the IP register.
2002-01-16 Jakub Jelinek <jakub@redhat.com>
...
...
This diff is collapsed.
Click to expand it.
gcc/config/arm/arm.c
View file @
ab8081c1
...
...
@@ -3362,9 +3362,9 @@ soft_df_operand (op, mode)
if
(
GET_CODE
(
op
)
==
SUBREG
)
op
=
SUBREG_REG
(
op
);
if
(
REGNO
(
op
)
==
IP_REGNUM
)
return
FALSE
;
return
TRUE
;
/* The IP register must not be used, since its higher
numbered counterpart is 13 - the stack pointer. */
return
REGNO
(
op
)
!=
IP_REGNUM
;
}
if
(
mode
!=
VOIDmode
&&
GET_MODE
(
op
)
!=
mode
)
...
...
@@ -3401,9 +3401,9 @@ nonimmediate_soft_df_operand (op, mode)
if
(
GET_CODE
(
op
)
==
SUBREG
)
op
=
SUBREG_REG
(
op
);
if
(
REGNO
(
op
)
==
IP_REGNUM
)
return
FALSE
;
return
TRUE
;
/* The IP register must not be used, since its higher
numbered counterpart is 13 - the stack pointer. */
return
REGNO
(
op
)
!=
IP_REGNUM
;
}
if
(
mode
!=
VOIDmode
&&
GET_MODE
(
op
)
!=
mode
)
...
...
This diff is collapsed.
Click to expand it.
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