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
778ebdd9
Commit
778ebdd9
authored
Apr 26, 2004
by
Paul Brook
Committed by
Paul Brook
Apr 26, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/arm/arm.c (arm_legitimate_index_p): Correct maverick offsets.
From-SVN: r81180
parent
874e7baa
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
gcc/ChangeLog
+4
-0
gcc/config/arm/arm.c
+5
-7
No files found.
gcc/ChangeLog
View file @
778ebdd9
2004-04-26 Paul Brook <paul@codesourcery.com>
* config/arm/arm.c (arm_legitimate_index_p): Correct maverick offsets.
2004-04-25 Roger Sayle <roger@eyesopen.com>
* fold-const.c (fold): Prefer fold_convert (negate_expr (...)) to
...
...
gcc/config/arm/arm.c
View file @
778ebdd9
...
...
@@ -3089,17 +3089,15 @@ arm_legitimate_index_p (enum machine_mode mode, rtx index, RTX_CODE outer,
HOST_WIDE_INT
range
;
enum
rtx_code
code
=
GET_CODE
(
index
);
if
(
TARGET_HARD_FLOAT
&&
TARGET_FPA
&&
GET_MODE_CLASS
(
mode
)
==
MODE_FLOAT
)
/* Standard coprocessor addressing modes. */
if
(
TARGET_HARD_FLOAT
&&
(
TARGET_FPA
||
TARGET_MAVERICK
)
&&
(
GET_MODE_CLASS
(
mode
)
==
MODE_FLOAT
||
(
TARGET_MAVERICK
&&
mode
==
DImode
)))
return
(
code
==
CONST_INT
&&
INTVAL
(
index
)
<
1024
&&
INTVAL
(
index
)
>
-
1024
&&
(
INTVAL
(
index
)
&
3
)
==
0
);
if
(
TARGET_HARD_FLOAT
&&
TARGET_MAVERICK
&&
(
GET_MODE_CLASS
(
mode
)
==
MODE_FLOAT
||
mode
==
DImode
))
return
(
code
==
CONST_INT
&&
INTVAL
(
index
)
<
255
&&
INTVAL
(
index
)
>
-
255
);
if
(
arm_address_register_rtx_p
(
index
,
strict_p
)
&&
GET_MODE_SIZE
(
mode
)
<=
4
)
return
1
;
...
...
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