Re: [Patch,AVR]: Add %T/%t to print_operand. Add built-in to permute bits.

2011-11-27 Thread Denis Chertykov
2011/11/28 Georg-Johann Lay : > This adds two built-in functions that facilitate moving bits. > > The two built-ins work the same way; there is a 16-bit version and a 8-bit > version. > > The first operand specifies a mapping to apply to the second operand: > The n-th nibble of the mapping specifi

[Patch,AVR]: Add %T/%t to print_operand. Add built-in to permute bits.

2011-11-27 Thread Georg-Johann Lay
This adds two built-in functions that facilitate moving bits. The two built-ins work the same way; there is a 16-bit version and a 8-bit version. The first operand specifies a mapping to apply to the second operand: The n-th nibble of the mapping specifies the image of the n-th bit. Typical use