This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bogus rtx generated?


	It's the Hitachi SH. AFAIK it doesn't have this instruction.

Yes, it does.  It is called shll.  This shifts one bit left, and puts
the high order bit (which is one iff X < 0) into the T reg.  See the
ashlsi_c pattern.

I suspect the problem is that the ashlsi_c pattern uses match_operand when
it should be using match_dup.  See for instance the addc pattern.

Jim


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]