1f08c3bdfSopenharmony_ciunsigned mask(unsigned x) 2f08c3bdfSopenharmony_ci{ 3f08c3bdfSopenharmony_ci return (x >> 15) << 15; 4f08c3bdfSopenharmony_ci} 5f08c3bdfSopenharmony_ci 6f08c3bdfSopenharmony_ci/* 7f08c3bdfSopenharmony_ci * check-name: shl-lsr0 8f08c3bdfSopenharmony_ci * check-command: test-linearize -Wno-decl $file 9f08c3bdfSopenharmony_ci * 10f08c3bdfSopenharmony_ci * check-output-ignore 11f08c3bdfSopenharmony_ci * check-output-contains: and\\..*0xffff8000 12f08c3bdfSopenharmony_ci * check-output-excludes: lsr\\. 13f08c3bdfSopenharmony_ci * check-output-excludes: shl\\. 14f08c3bdfSopenharmony_ci */ 15