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
11789584
Commit
11789584
authored
Mar 31, 2003
by
Stephane Carrez
Committed by
Stephane Carrez
Mar 31, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/m68hc11/m68hc11.c (hard_reg_operand): Check the mode.
From-SVN: r65109
parent
c25292ce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletions
+8
-1
gcc/ChangeLog
+4
-0
gcc/config/m68hc11/m68hc11.c
+4
-1
No files found.
gcc/ChangeLog
View file @
11789584
2003-03-31 Stephane Carrez <stcarrez@nerim.fr>
2003-03-31 Stephane Carrez <stcarrez@nerim.fr>
* config/m68hc11/m68hc11.c (hard_reg_operand): Check the mode.
2003-03-31 Stephane Carrez <stcarrez@nerim.fr>
* config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Don't rely on REG_WAS_0
* config/m68hc11/m68hc11.c (m68hc11_gen_movhi): Don't rely on REG_WAS_0
notes as they are boggus.
notes as they are boggus.
(m68hc11_gen_movqi): Likewise.
(m68hc11_gen_movqi): Likewise.
...
...
gcc/config/m68hc11/m68hc11.c
View file @
11789584
...
@@ -1052,8 +1052,11 @@ hard_addr_reg_operand (operand, mode)
...
@@ -1052,8 +1052,11 @@ hard_addr_reg_operand (operand, mode)
int
int
hard_reg_operand
(
operand
,
mode
)
hard_reg_operand
(
operand
,
mode
)
rtx
operand
;
rtx
operand
;
enum
machine_mode
mode
ATTRIBUTE_UNUSED
;
enum
machine_mode
mode
;
{
{
if
(
GET_MODE
(
operand
)
!=
mode
&&
mode
!=
VOIDmode
)
return
0
;
if
(
GET_CODE
(
operand
)
==
SUBREG
)
if
(
GET_CODE
(
operand
)
==
SUBREG
)
operand
=
XEXP
(
operand
,
0
);
operand
=
XEXP
(
operand
,
0
);
...
...
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