This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: help for arm avr bfin cris frv h8300 m68k mcore mmix pdp11 rs6000 sh vax


Paolo Bonzini <bonzini@gnu.org> writes:

> This in turn means that the description given by SHIFT_COUNT_TRUNCATED
> must be exact.  Right now !SHIFT_COUNT_TRUNCATED means "I don't know",
> I want it to mean "it is never truncated".

You need to do more work to make that happen, as SHIFT_COUNT_TRUNCATED
applies to both the shift instructions and the bitfield instructions.
On some processors one or the other is truncated; SHIFT_COUNT_TRUNCATED
may currently only be set to 1 if both are truncated.  (E.g., I believe
that m68k truncates shifts but not bitfield instructions.)

Ian


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