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
2aac41d6
Commit
2aac41d6
authored
Jan 03, 2000
by
Jakub Jelinek
Committed by
Jakub Jelinek
Jan 03, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
From-SVN: r31178
parent
7b1ac798
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletions
+5
-1
gcc/ChangeLog
+4
-0
gcc/config/sparc/sparc.c
+1
-1
No files found.
gcc/ChangeLog
View file @
2aac41d6
2000
-
01
-
03
Jakub
Jelinek
<
jakub
@redhat
.
com
>
2000
-
01
-
03
Jakub
Jelinek
<
jakub
@redhat
.
com
>
*
config
/
sparc
/
sparc
.
c
(
gen_df_reg
)
:
Fix
for
32
bit
SPARC
.
2000
-
01
-
03
Jakub
Jelinek
<
jakub
@redhat
.
com
>
*
config
/
sparc
/
sparc
.
c
(
gen_df_reg
)
:
New
function
.
*
config
/
sparc
/
sparc
.
c
(
gen_df_reg
)
:
New
function
.
*
config
/
sparc
/
sparc
-
protos
.
h
(
gen_df_reg
)
:
Add
prototype
.
*
config
/
sparc
/
sparc
-
protos
.
h
(
gen_df_reg
)
:
Add
prototype
.
*
config
/
sparc
/
sparc
.
md
(
movtf_no_e_insn_sp64
+
1
,
*
config
/
sparc
/
sparc
.
md
(
movtf_no_e_insn_sp64
+
1
,
...
...
gcc/config/sparc/sparc.c
View file @
2aac41d6
...
@@ -2277,7 +2277,7 @@ gen_df_reg (reg, low)
...
@@ -2277,7 +2277,7 @@ gen_df_reg (reg, low)
int
regno
=
REGNO
(
reg
);
int
regno
=
REGNO
(
reg
);
if
((
WORDS_BIG_ENDIAN
==
0
)
^
(
low
!=
0
))
if
((
WORDS_BIG_ENDIAN
==
0
)
^
(
low
!=
0
))
regno
+=
(
regno
<
32
)
?
1
:
2
;
regno
+=
(
TARGET_ARCH64
&&
regno
<
32
)
?
1
:
2
;
return
gen_rtx_REG
(
DFmode
,
regno
);
return
gen_rtx_REG
(
DFmode
,
regno
);
}
}
...
...
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