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
b11532b3
Commit
b11532b3
authored
Dec 22, 2003
by
Fariborz Jahanian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Check for a legitimate offset when addressing DImode memory with -mpowerpc64.
From-SVN: r74937
parent
e3e9336f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gcc/config/rs6000/rs6000.c
+2
-2
No files found.
gcc/config/rs6000/rs6000.c
View file @
b11532b3
...
@@ -2448,7 +2448,7 @@ legitimate_offset_address_p (enum machine_mode mode, rtx x, int strict)
...
@@ -2448,7 +2448,7 @@ legitimate_offset_address_p (enum machine_mode mode, rtx x, int strict)
case
DFmode
:
case
DFmode
:
case
DImode
:
case
DImode
:
if
(
TARGET_32BIT
)
if
(
!
TARGET_POWERPC64
)
extra
=
4
;
extra
=
4
;
else
if
(
offset
&
3
)
else
if
(
offset
&
3
)
return
false
;
return
false
;
...
@@ -2456,7 +2456,7 @@ legitimate_offset_address_p (enum machine_mode mode, rtx x, int strict)
...
@@ -2456,7 +2456,7 @@ legitimate_offset_address_p (enum machine_mode mode, rtx x, int strict)
case
TFmode
:
case
TFmode
:
case
TImode
:
case
TImode
:
if
(
TARGET_32BIT
)
if
(
!
TARGET_POWERPC64
)
extra
=
12
;
extra
=
12
;
else
if
(
offset
&
3
)
else
if
(
offset
&
3
)
return
false
;
return
false
;
...
...
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