Paolo Bonzini <bonz...@gnu.org> writes: > In addition, for arm and m68k I'd like to know whether bitfield > instructions truncate the bit position the same as shifts (8 bits for > arm, 6 bits for m68k).
For the m68k bitfield insns (when operating on memory) the bit position can be in the full range of a signed 32-bit number, and the field width is truncated to 5 bits (range 1-32, where 32 is encoded as 0). Andreas. -- Andreas Schwab, sch...@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."