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
caa05ce2
Commit
caa05ce2
authored
Sep 13, 2016
by
Maciej W. Rozycki
Committed by
Maciej W. Rozycki
Sep 13, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* optabs.c (prepare_cmp_insn): Update documentation comment.
From-SVN: r240108
parent
14bce257
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
gcc/ChangeLog
+4
-0
gcc/optabs.c
+8
-4
No files found.
gcc/ChangeLog
View file @
caa05ce2
2016-09-13 Maciej W. Rozycki <macro@imgtec.com>
* optabs.c (prepare_cmp_insn): Update documentation comment.
2016-09-13 Jakub Jelinek <jakub@redhat.com>
Manuel Lopez-Ibanez <manu@gcc.gnu.org>
...
...
gcc/optabs.c
View file @
caa05ce2
...
...
@@ -3716,13 +3716,17 @@ can_compare_p (enum rtx_code code, machine_mode mode,
}
/* This function is called when we are going to emit a compare instruction that
compares the values found in
*PX and *P
Y, using the rtl operator COMPARISON.
compares the values found in
X and
Y, using the rtl operator COMPARISON.
*PMODE is the mode of the inputs (in case they are const_int).
*PUNSIGNEDP nonzero says that the operands are unsigned;
If they have mode BLKmode, then SIZE specifies the size of both operands.
UNSIGNEDP nonzero says that the operands are unsigned;
this matters if they need to be widened (as given by METHODS).
If they have mode BLKmode, then SIZE specifies the size of both operands.
*PTEST is where the resulting comparison RTX is returned or NULL_RTX
if we failed to produce one.
*PMODE is the mode of the inputs (in case they are const_int).
This function performs all the setup necessary so that the caller only has
to emit a single comparison insn. This setup can involve doing a BLKmode
...
...
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