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
2a88ebca
Commit
2a88ebca
authored
20 years ago
by
Richard Sandiford
Committed by
Richard Sandiford
20 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/frv/frv.c (acc_operand, accg_operand): Use REGNO.
From-SVN: r87239
parent
34132917
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+4
-0
gcc/config/frv/frv.c
+2
-2
No files found.
gcc/ChangeLog
View file @
2a88ebca
2004
-
09
-
09
Richard
Sandiford
<
rsandifo
@
redhat
.
com
>
*
config
/
frv
/
frv
.
c
(
acc_operand
,
accg_operand
):
Use
REGNO
.
2004
-
09
-
09
Jan
Hubicka
<
jh
@
suse
.
cz
>
middle
-
end
/
17128
...
...
This diff is collapsed.
Click to expand it.
gcc/config/frv/frv.c
View file @
2a88ebca
...
...
@@ -5296,7 +5296,7 @@ acc_operand (rtx op, enum machine_mode mode)
{
return
((
mode
==
VOIDmode
||
mode
==
GET_MODE
(
op
))
&&
REG_P
(
op
)
&&
ACC_P
(
REGNO
(
op
))
&&
((
INTVAL
(
op
)
-
ACC_FIRST
)
&
~
ACC_MASK
)
==
0
);
&&
((
REGNO
(
op
)
-
ACC_FIRST
)
&
~
ACC_MASK
)
==
0
);
}
/* Return 1 if operand is a valid even ACC register number. */
...
...
@@ -5322,7 +5322,7 @@ accg_operand (rtx op, enum machine_mode mode)
{
return
((
mode
==
VOIDmode
||
mode
==
GET_MODE
(
op
))
&&
REG_P
(
op
)
&&
ACCG_P
(
REGNO
(
op
))
&&
((
INTVAL
(
op
)
-
ACCG_FIRST
)
&
~
ACC_MASK
)
==
0
);
&&
((
REGNO
(
op
)
-
ACCG_FIRST
)
&
~
ACC_MASK
)
==
0
);
}
...
...
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