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
eae957a8
Commit
eae957a8
authored
Dec 26, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(gen_lowpart_for_combine): Allow MODE to be wider than a word in
restricted circumstances. From-SVN: r2914
parent
bc957254
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
gcc/combine.c
+8
-1
No files found.
gcc/combine.c
View file @
eae957a8
...
@@ -7416,7 +7416,14 @@ gen_lowpart_for_combine (mode, x)
...
@@ -7416,7 +7416,14 @@ gen_lowpart_for_combine (mode, x)
if
(
GET_MODE
(
x
)
==
mode
)
if
(
GET_MODE
(
x
)
==
mode
)
return
x
;
return
x
;
if
(
GET_MODE_SIZE
(
mode
)
>
UNITS_PER_WORD
)
/* We can only support MODE being wider than a word if X is a
constant integer or has a mode the same size. */
if
(
GET_MODE_SIZE
(
mode
)
>
UNITS_PER_WORD
&&
!
((
GET_MODE
(
x
)
==
VOIDmode
&&
(
GET_CODE
(
x
)
==
CONST_INT
||
GET_CODE
(
x
)
==
CONST_DOUBLE
))
||
GET_MODE_SIZE
(
GET_MODE
(
x
))
==
GET_MODE_SIZE
(
mode
)))
return
gen_rtx
(
CLOBBER
,
GET_MODE
(
x
),
const0_rtx
);
return
gen_rtx
(
CLOBBER
,
GET_MODE
(
x
),
const0_rtx
);
/* X might be a paradoxical (subreg (mem)). In that case, gen_lowpart
/* X might be a paradoxical (subreg (mem)). In that case, gen_lowpart
...
...
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