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
7e6d8ba1
Commit
7e6d8ba1
authored
Feb 21, 2001
by
Aldy Hernandez
Committed by
Aldy Hernandez
Feb 21, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new macro REVERSE_CONDEXEC_PREDICATES_P
From-SVN: r39947
parent
5daf7c0a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
1 deletions
+25
-1
gcc/ChangeLog
+7
-0
gcc/flow.c
+7
-1
gcc/tm.texi
+11
-0
No files found.
gcc/ChangeLog
View file @
7e6d8ba1
2001-02-20 Aldy Hernandez <aldyh@redhat.com>
* tm.texi (REVERSE_CONDEXEC_PREDICATES_P): New macro documentation.
* flow.c (ior_reg_cond): Use REVERSE_CONDEXEC_PREDICATES_P macro.
(REVERSE_CONDEXEC_PREDICATES_P): Define macro.
2001-02-21 Jason Merrill <jason@redhat.com>
* tree.h (DECL_UNINLINABLE): Move from C++ frontend.
...
...
gcc/flow.c
View file @
7e6d8ba1
...
...
@@ -168,6 +168,12 @@ Boston, MA 02111-1307, USA. */
#define EPILOGUE_USES(REGNO) 0
#endif
#ifdef HAVE_conditional_execution
#ifndef REVERSE_CONDEXEC_PREDICATES_P
#define REVERSE_CONDEXEC_PREDICATES_P(x, y) ((x) == reverse_condition (y))
#endif
#endif
/* The obstack on which the flow graph components are allocated. */
struct
obstack
flow_obstack
;
...
...
@@ -5137,7 +5143,7 @@ ior_reg_cond (old, x, add)
if
(
GET_RTX_CLASS
(
GET_CODE
(
old
))
==
'<'
)
{
if
(
GET_RTX_CLASS
(
GET_CODE
(
x
))
==
'<'
&&
GET_CODE
(
x
)
==
reverse_condition
(
GET_CODE
(
old
))
&&
REVERSE_CONDEXEC_PREDICATES_P
(
GET_CODE
(
x
),
GET_CODE
(
old
))
&&
REGNO
(
XEXP
(
x
,
0
))
==
REGNO
(
XEXP
(
old
,
0
)))
return
const1_rtx
;
if
(
GET_CODE
(
x
)
==
GET_CODE
(
old
)
...
...
gcc/tm.texi
View file @
7e6d8ba1
...
...
@@ -4880,6 +4880,17 @@ like:
: reverse_condition_maybe_unordered (CODE))
@end
smallexample
@findex
REVERSE_CONDEXEC_PREDICATES_P
@item
REVERSE_CONDEXEC_PREDICATES_P
(
@var{
code1
}
,
@var{
code2
}
)
A
C
expression
that
returns
true
if
the
conditional
execution
predicate
@var{
code1
}
is
the
inverse
of
@var{
code2
}
and
vice
versa
.
Define
this
to
return
0
if
the
target
has
conditional
execution
predicates
that
cannot
be
reversed
safely
.
If
none
is
specified
,
this
macro
expands
to
:
@smallexample
#define REVERSE_CONDEXEC_PREDICATES_P (x, y) ((x) == reverse_condition (y))
@end
smallexample
@end
table
@node
Costs
...
...
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