Commit b85f21c0 by Ian Lance Taylor

Accept a unary operator in constrain_operands

From-SVN: r13017
parent ff428c90
/* 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment