1 /* Turn the truncate,zero_extend,lshiftrt sequence before the or into a
2 zero_extract. The truncate is due to TARGET_PROMOTE_PROTOTYPES, the
3 zero_extend to PROMOTE_MODE. */
4 /* { dg-do compile } */
5 /* { dg-options "-O isa_rev>=2 -mgp64" } */
6 /* { dg-final { scan-assembler "\tdext\t" } } */
7 /* { dg-final { scan-assembler-not "and" } } */
8 /* { dg-final { scan-assembler-not "srl" } } */
11 f (unsigned char x, unsigned char *r)