From: Jim Wilson Date: Wed, 6 Oct 1993 04:07:24 +0000 (-0700) Subject: (SELECT_CC_MODE): Add support for ASHIFT. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=922bd191bc3f3aedad6ba95ac8aa1b88b24c744a;p=gcc.git (SELECT_CC_MODE): Add support for ASHIFT. From-SVN: r5627 --- diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 4686ae22100..853f8120b06 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -1419,12 +1419,13 @@ extern struct rtx_def *legitimize_pic_address (); /* Given a comparison code (EQ, NE, etc.) and the first operand of a COMPARE, return the mode to be used for the comparison. For floating-point, CCFP[E]mode is used. CC_NOOVmode should be used when the first operand is a - PLUS, MINUS, or NEG. CCmode should be used when no special processing is - needed. */ + PLUS, MINUS, NEG, or ASHIFT. CCmode should be used when no special + processing is needed. */ #define SELECT_CC_MODE(OP,X,Y) \ (GET_MODE_CLASS (GET_MODE (X)) == MODE_FLOAT \ - ? ((OP == EQ || OP == NE) ? CCFPmode : CCFPEmode) \ - : ((GET_CODE (X) == PLUS || GET_CODE (X) == MINUS || GET_CODE (X) == NEG) \ + ? ((OP == EQ || OP == NE) ? CCFPmode : CCFPEmode) \ + : ((GET_CODE (X) == PLUS || GET_CODE (X) == MINUS \ + || GET_CODE (X) == NEG || GET_CODE (X) == ASHIFT) \ ? CC_NOOVmode : CCmode)) /* A function address in a call instruction