1 /* pr52773.c */
2 
3 struct s {
4     short x;
5     short _pad[2];
6 };
7 
8 static short mat_a_x;
9 
transform(const struct s * src,struct s * dst,int n)10 void transform(const struct s *src, struct s *dst, int n)
11 {
12     int i;
13 
14     for (i = 0; i < n; ++i)
15 	dst[i].x = (src[i].x * mat_a_x) >> 6;
16 }
17