1 /* { dg-do compile } */
2 /* { dg-options "-O2" } */
3 /* { dg-final { scan-assembler-not "\[us\]xtw\t" } } */
4 /* { dg-final { scan-assembler-not "\[us\]bfiz\t" } } */
5 /* { dg-final { scan-assembler-not "lsl\t" } } */
8 load_scaled_sxtw (int *arr
, int i
)
14 load_scaled_uxtw (unsigned int *arr
, unsigned int i
)
20 store_scaled_sxtw (int *arr
, int i
)
26 store_scaled_uxtw (unsigned int *arr
, unsigned int i
)
32 load_unscaled_sxtw (signed char *arr
, int i
)
38 load_unscaled_uxtw (unsigned char *arr
, unsigned int i
)
44 store_unscaled_sxtw (signed char *arr
, int i
)
50 store_unscaled_uxtw (unsigned char *arr
, unsigned int i
)
58 load_scaled_tmp_sxtw (int *arr
, int i
)
65 load_scaled_tmp_uxtw (unsigned int *arr
, unsigned int i
)
67 unsigned int j
= arr
[i
];
72 store_scaled_tmp_sxtw (int *arr
, int i
)
79 store_scaled_tmp_uxtw (unsigned int *arr
, unsigned int i
)
81 unsigned int j
= arr
[i
];
86 load_unscaled_tmp_sxtw (signed char *arr
, int i
)
88 signed char j
= arr
[i
];
93 load_unscaled_tmp_uxtw (unsigned char *arr
, unsigned int i
)
95 unsigned char j
= arr
[i
];
100 store_unscaled_tmp_sxtw (signed char *arr
, int i
)
102 signed char j
= arr
[i
];
107 store_unscaled_tmp_uxtw (unsigned char *arr
, unsigned int i
)
109 unsigned char j
= arr
[i
];