Revision 22478e79 target-arm/op_helper.c

b/target-arm/op_helper.c
185 185
    int32_t top;
186 186
    uint32_t mask;
187 187

  
188
    shift = PARAM1;
189 188
    top = val >> shift;
190 189
    mask = (1u << shift) - 1;
191 190
    if (top > 0) {
......
203 202
{
204 203
    uint32_t max;
205 204

  
206
    shift = PARAM1;
207 205
    max = (1u << shift) - 1;
208 206
    if (val < 0) {
209 207
        env->QF = 1;

Also available in: Unified diff