The following series of patches improves usage of the risbg and risbgn instructions on s390/s390x. The patches have been regression tested on s390 and s390x and pass the Spec2006 testsuite without any negative effects.
Patch 1 introduces a new mode attribute to simplify some instruction patterns. Patch 2 enables wraparound of bit ranges and rewrites portion of the bitrange calculation code to do so. Patch 3 adds new patterns and tests based on the first two patches to make better use of the risbg and risbgn instructions. Please check the individual Changelogs for details. Ciao Dominik ^_^ ^_^ -- Dominik Vogt IBM Germany