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
280194b0
Commit
280194b0
authored
Oct 05, 1992
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(gen_realpart, gen_imagpart): New functions.
From-SVN: r2323
parent
2d7050fd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
gcc/emit-rtl.c
+28
-0
No files found.
gcc/emit-rtl.c
View file @
280194b0
...
@@ -656,6 +656,34 @@ gen_lowpart_common (mode, x)
...
@@ -656,6 +656,34 @@ gen_lowpart_common (mode, x)
return
0
;
return
0
;
}
}
/* Return the real part (which has mode MODE) of a complex value X.
This always comes at the low address in memory. */
rtx
gen_realpart
(
mode
,
x
)
enum
machine_mode
mode
;
register
rtx
x
;
{
if
(
WORDS_BIG_ENDIAN
)
return
gen_highpart
(
mode
,
x
);
else
return
gen_lowpart
(
mode
,
x
);
}
/* Return the imaginary part (which has mode MODE) of a complex value X.
This always comes at the high address in memory. */
rtx
gen_imagpart
(
mode
,
x
)
enum
machine_mode
mode
;
register
rtx
x
;
{
if
(
WORDS_BIG_ENDIAN
)
return
gen_lowpart
(
mode
,
x
);
else
return
gen_highpart
(
mode
,
x
);
}
/* Assuming that X is an rtx (e.g., MEM, REG or SUBREG) for a value,
/* Assuming that X is an rtx (e.g., MEM, REG or SUBREG) for a value,
return an rtx (MEM, SUBREG, or CONST_INT) that refers to the
return an rtx (MEM, SUBREG, or CONST_INT) that refers to the
least-significant part of X.
least-significant part of X.
...
...
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