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
b85f21c0
Commit
b85f21c0
authored
Oct 23, 1996
by
Ian Lance Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Accept a unary operator in constrain_operands
From-SVN: r13017
parent
ff428c90
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
gcc/recog.c
+6
-1
No files found.
gcc/recog.c
View file @
b85f21c0
/* Subroutines used by or related to instruction recognition.
Copyright (C) 1987, 88, 91
, 92, 93, 1994
Free Software Foundation, Inc.
Copyright (C) 1987, 88, 91
-5, 1996
Free Software Foundation, Inc.
This file is part of GNU CC.
...
...
@@ -1652,6 +1652,11 @@ constrain_operands (insn_code_num, strict)
earlyclobber
[
opno
]
=
0
;
/* A unary operator may be accepted by the predicate, but it
is irrelevant for matching contraints. */
if
(
GET_RTX_CLASS
(
GET_CODE
(
op
))
==
'1'
)
op
=
XEXP
(
op
,
0
);
if
(
GET_CODE
(
op
)
==
SUBREG
)
{
if
(
GET_CODE
(
SUBREG_REG
(
op
))
==
REG
...
...
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