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
5be86fec
Commit
5be86fec
authored
Apr 05, 2003
by
Kazu Hirata
Committed by
Kazu Hirata
Apr 05, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* simplify-rtx.c: Fix formatting.
From-SVN: r65275
parent
984e25ac
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
gcc/ChangeLog
+4
-0
gcc/simplify-rtx.c
+3
-3
No files found.
gcc/ChangeLog
View file @
5be86fec
2003-04-05 Kazu Hirata <kazu@cs.umass.edu>
* simplify-rtx.c: Fix formatting.
2003-04-05 Andrew Pinski <apinski@apple.com>
2003-04-05 Andrew Pinski <apinski@apple.com>
* config/rs6000/rs6000.c (addrs_ok_for_quad_peep): Allow addr2
* config/rs6000/rs6000.c (addrs_ok_for_quad_peep): Allow addr2
...
...
gcc/simplify-rtx.c
View file @
5be86fec
...
@@ -1605,7 +1605,7 @@ simplify_binary_operation (code, mode, op0, op1)
...
@@ -1605,7 +1605,7 @@ simplify_binary_operation (code, mode, op0, op1)
rtvec
v
=
rtvec_alloc
(
n_elts
);
rtvec
v
=
rtvec_alloc
(
n_elts
);
unsigned
int
i
;
unsigned
int
i
;
if
(
XVECLEN
(
trueop1
,
0
)
!=
(
int
)
n_elts
)
if
(
XVECLEN
(
trueop1
,
0
)
!=
(
int
)
n_elts
)
abort
();
abort
();
for
(
i
=
0
;
i
<
n_elts
;
i
++
)
for
(
i
=
0
;
i
<
n_elts
;
i
++
)
{
{
...
@@ -2556,7 +2556,7 @@ simplify_ternary_operation (code, mode, op0_mode, op0, op1, op2)
...
@@ -2556,7 +2556,7 @@ simplify_ternary_operation (code, mode, op0_mode, op0, op1, op2)
{
{
int
elt_size
=
GET_MODE_SIZE
(
GET_MODE_INNER
(
mode
));
int
elt_size
=
GET_MODE_SIZE
(
GET_MODE_INNER
(
mode
));
unsigned
n_elts
=
(
GET_MODE_SIZE
(
mode
)
/
elt_size
);
unsigned
n_elts
=
(
GET_MODE_SIZE
(
mode
)
/
elt_size
);
int
mask
=
(
1
<<
n_elts
)
-
1
;
int
mask
=
(
1
<<
n_elts
)
-
1
;
if
(
!
(
INTVAL
(
op2
)
&
mask
))
if
(
!
(
INTVAL
(
op2
)
&
mask
))
return
op1
;
return
op1
;
...
@@ -3091,7 +3091,7 @@ simplify_rtx (x)
...
@@ -3091,7 +3091,7 @@ simplify_rtx (x)
SUBREG_BYTE
(
x
));
SUBREG_BYTE
(
x
));
if
(
code
==
CONSTANT_P_RTX
)
if
(
code
==
CONSTANT_P_RTX
)
{
{
if
(
CONSTANT_P
(
XEXP
(
x
,
0
)))
if
(
CONSTANT_P
(
XEXP
(
x
,
0
)))
return
const1_rtx
;
return
const1_rtx
;
}
}
return
NULL
;
return
NULL
;
...
...
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