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
d2a934a5
Commit
d2a934a5
authored
Oct 11, 2012
by
Jakub Jelinek
Committed by
Jakub Jelinek
Oct 11, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree.def (REDUC_PLUS_EXPR): Fix up comment.
From-SVN: r192377
parent
db9310ef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
gcc/ChangeLog
+2
-0
gcc/tree.def
+5
-2
No files found.
gcc/ChangeLog
View file @
d2a934a5
2012-10-11 Jakub Jelinek <jakub@redhat.com>
* tree.def (REDUC_PLUS_EXPR): Fix up comment.
* fold-const.c (fold_unary_loc): Handle REDUC_MIN_EXPR,
REDUC_MAX_EXPR and REDUC_PLUS_EXPR.
...
...
gcc/tree.def
View file @
d2a934a5
...
...
@@ -1093,8 +1093,11 @@ DEFTREECODE (TRANSACTION_EXPR, "transaction_expr", tcc_expression, 1)
Operations that take a vector of elements and "reduce" it to a scalar
result (e.g. summing the elements of the vector, finding the minimum over
the vector elements, etc).
Operand 0 is a vector; the first element in the vector has the result.
Operand 1 is a vector. */
Operand 0 is a vector.
The expression returns a vector of the same type, with the first
element in the vector holding the result of the reduction of all elements
of the operand. The content of the other elements in the returned vector
is undefined. */
DEFTREECODE (REDUC_MAX_EXPR, "reduc_max_expr", tcc_unary, 1)
DEFTREECODE (REDUC_MIN_EXPR, "reduc_min_expr", tcc_unary, 1)
DEFTREECODE (REDUC_PLUS_EXPR, "reduc_plus_expr", tcc_unary, 1)
...
...
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